Repository navigation
ci: use the pinned Android regtest backend - #1939
Conversation
Regtest APKDownload bitkit-dev-debug universal APK (expires in 30 days). |
[Medium impact] The reviewed changes appear safe to merge; no actionable defect was established. SummaryUpdates Android E2E workflows to use the pinned backend through the E2E repository’s launcher.
No actionable issues were established. Review covered the workflow changes and local callers; companion script behavior and runtime results were not independently verified. Reviews (1) · Last reviewed commit: "ci: scope appium cache keys to the e2e l..." · Reviewed by Greptile |
talosmachina
left a comment
There was a problem hiding this comment.
No findings. Moves Android local and staging-Trezor E2E onto the E2E repo's pinned scripts/local-backend, keeping the bundled Compose path for older E2E refs. Reviewed 911193f, full tier, from the code and CI; the branch was not built here (build skipped: the author's permission could not be read with this token).
What I checked, and the candidates I ruled out
Read in full: e2e.yml and e2e-staging.yml setup steps, against bitkit-e2e-tests#313 at 46abebb (scripts/local-backend, scripts/trezor-emulator, ci_run_android.sh, test/helpers/constants.ts)
CI: the Android local matrix run 43891340222 succeeded on this exact head; staging run 43882280220 succeeded on 4abf7ea6b, before the cache-key follow-up
Ruled out
- Reserved ports miss the new LND host ports: 23009, 23180 and 23735 are added, matching what
local-backend github-envexports. - Tests still read
docker/lndcredentials:github-envsetsLND_TLS_PATH/LND_MACAROON_PATH, andconstants.tsprefers them. - App dials the wrong LND port:
ci_run_android.shreversesLND_P2P_PORTon both sides and the LND test helper types the same variable. - Older E2E branch breaks: the
-x ./scripts/local-backendtest falls back to the old compose steps unchanged.
Merge confidence: 4/5, no findings and the local matrix is green on this head, but the staging hardware-wallet path last ran before the final commits.
Reviewer model: claude-opus-5-5
Reasoning effort: Not exposed (the runner does not report it)
There was a problem hiding this comment.
Verdict: ✅ Approve
Findings: None.
QA for 911193f:
Check: workflow validation ✅ Both workflows pass actionlint, YAML parsing and shell syntax checks.
actionlint 1.7.12 ran without its optional ShellCheck integration; bash -n accepted all embedded shell blocks. git diff --check passed.
Check: backend selection ✅ The pinned launcher and legacy Compose paths match their callers.
Checked the launchers from bitkit-e2e-tests#313 at 46abebb and the pin from bitkit-docker#41 at a73f84c, including endpoint, credential and Trezor environment propagation.
Build: local-backend APK ✅ The local-backend debug APK builds at the reviewed head.
E2E=true ./gradlew --no-daemon assembleDevDebug at 911193f.
Check: local Android CI evidence ✅ The exact-head local matrix and npm cache cleanup passed.
Relied on the local matrix and the later local run using the final Docker pin. Both ran against 911193f; the later run checked out the merged E2E tree matching 46abebb and Docker a73f84c.
Check: staging CI evidence ✅ Trezor and Pubky/Paykit passed on the unchanged staging runtime setup.
Relied on the staging run at 4abf7ea with E2E b7e6c60 and Docker 962b674. The app's remaining delta only changes npm cache keys. The later E2E changes affect send-test assertions and the Docker pin; Docker's delta makes the fallback fee configurable while preserving its default. The staging launcher and Trezor implementation are unchanged.
No fresh device run: this CI-only change adds no user-visible behavior, and the existing device results above cover the unchanged runtime paths. The final staging cache-key edit was checked statically and uses the same expression exercised by the exact-head local run.
Full review: abf4665…911193f, both changed workflow files.
Twin: bitkit-ios#1348 ci: use the pinned iOS regtest backend matches the pinned launcher and cache cutover, with iOS-specific cleanup and fallback-fee settings.
Reviewed by gpt-6.1-sol-high
Dependency: synonymdev/bitkit-e2e-tests#313
Dependency: synonymdev/bitkit-docker#41
Part of the Android cutover tracked in synonymdev/bitkit-e2e-tests#210.
Description
QA Notes
Setup
Dispatch E2E and E2E Staging with
e2e_branch=codex/android-shared-regtest. The launcher fetches the exact upstream Docker SHA.Evidence
4abf7ea6bpassed@onchain_1on an isolated Android 13 emulator and fresh Compose volumes.911193f84and E2E commit6233464. Android local matrix4abf7ea6b, before the npm cache-key and send-test follow-ups. Android stagingModels used
gpt-6.1-sol(reasoning:high)gpt-6.1-sol(reasoning:high)gpt-6.1-sol(reasoning:high), three independent passes