Repository navigation
ci: use the pinned iOS regtest backend - #1348
Conversation
[Medium impact] The reviewed workflow changes appear safe to merge; no blocking issue was established. SummaryThe workflow starts regtest through the E2E checkout’s pinned launcher, with a fallback for older refs.
No actionable issues were established. The external launcher and Compose sources could not be checked, and no runtime checks were run. Reviews (1) · Last reviewed commit: "ci: retain the iOS gate regtest fallback..." · Reviewed by Greptile |
talosmachina
left a comment
There was a problem hiding this comment.
No findings. Moves the Mac mini @ios_gate job onto the pinned shared regtest stack, with one Compose project across pinned and legacy refs and the 1 sat/vB fallback fee. Reviewed 256fdf4, full tier, from the code and CI (iOS does not build on this Linux box).
What I checked, and the candidates I ruled out
Read in full: the e2e-tests-local job of e2e-tests.yml, against bitkit-e2e-tests#313 at 46abebb and bitkit-docker#41 at a73f84c
CI: Appium run 43926422361 succeeded on this exact head
Ruled out
- Fee override ignored:
BITCOIN_FALLBACK_FEEis job env, and docker#41 interpolates it intofallbackfee. - Reset misses containers from the other ref:
COMPOSE_PROJECT_NAME: dockermakes the pinned checkout use the legacy project name, anddown --remove-orphans -vruns beforeup. - Electrum wait on a moved port: the pinned stack still publishes 60001.
- Lost reset step: the old
continue-on-errorreset is folded into the setup step, with|| truekept on the legacy branch.
Merge confidence: 5/5, no findings and the Appium gate passed on this head.
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
Posted as a comment: not every planned case passed.
Findings: None.
QA for 256fdf4:
Check: workflow syntax and expressions ✅ No new actionlint diagnostics; YAML, shell syntax and whitespace checks passed.
actionlint 1.7.12 reports the same two unsupported, pre-existing cache-mode keys at the base and head. Its optional ShellCheck integration was disabled. bash -n accepted every embedded shell block, and git diff --check passed.
Check: pinned setup, failure handling and cleanup ✅ The workflow shell orders setup correctly and exports settings to all three attempts.
Executed the workflow's shell with a stubbed backend CLI. Verified prepare, reset, startup and environment export in order; a failure at any setup stage stops later commands. All three retry commands received the exported backend and LND settings. Cleanup selected the launcher and tolerated teardown errors.
Check: legacy setup and cleanup ✅ Older refs retain the bundled stack and shared project settings.
Executed the fallback shell with a stubbed Docker CLI, covering both an absent and a non-executable launcher. Verified the bundled working directory, reset-error tolerance, LND directory permissions, shared Compose project and fee settings, and cleanup with the Trezor profile and orphan removal.
Check: exact-head iOS gate evidence ✅ The existing Appium gate passed on its first attempt and removed the fixture afterward.
Verified the head and logs of the iOS Appium run: iOS 256fdf4, E2E 46abebb, Docker a73f84c, and BITCOIN_FALLBACK_FEE=0.00001. The initial attempt passed all cases, including manual channel funding Max and Trezor; subsequent retries were skipped. Cleanup removed the Trezor container and backend resources.
No fresh app build or device run: this changes only workflow configuration, and journeys and manual tests are N/A. The linked exact-head CI covers the running app. Failure branches and historical-ref fallback were checked through shell execution with stubbed commands.
Relied on the pinned launcher review and Docker fixture review for backend startup, credentials, fee configuration and Trezor execution.
Full review: 0682103…256fdf4, the single changed workflow and reached backend consumers, with an independent review.
Twin: bitkit-android#1939 ci: use the pinned Android regtest backend matches the launcher and cache cutover; iOS additionally retains its legacy fee and resets the persistent Compose project.
Reviewed by gpt-6.1-sol-high
ben-kaufman
left a comment
There was a problem hiding this comment.
No material findings in the workflow-only cutover to the pinned regtest and Trezor fixture at 256fdf477a7bb1af5b6427545035204334a9a3af. Both dependency PRs are merged.
The existing exact-head Appium run passed all 13 cases. Current selected checks are 10 passed, 14 skipped and 1 neutral, with none failing or pending. Historical setup and failure branches were inspected statically. No fresh local Docker, simulator or app execution was performed for this review.
Reviewer model: gpt-6.1-sol
Reasoning effort: xhigh
Twin: synonymdev/bitkit-android#1939
Dependency: synonymdev/bitkit-e2e-tests#313
Dependency: synonymdev/bitkit-docker#41
Move the Mac mini Appium gate to the same pinned regtest and Trezor fixture as Android. This follows #1340 and is part of synonymdev/bitkit-e2e-tests#210.
Description
Design
N/A. Workflow configuration only.
Preview
N/A.
QA Notes
Setup
Dispatch
e2e-tests.ymloncodex/ios-shared-regtestwithe2e_branch=codex/android-shared-regtest. The E2E head is46abebb, which pins bitkit-docker ata73f84c. The iOS Mac mini runs@ios_gatewith local Bitcoin, Electrum and LND plus the Mac Trezor Bridge.Journeys
N/A. Workflow configuration only.
Manual Tests
N/A.
Automated Checks
docker compose config --format json(after merge) — confirms the Compose project, published ports and Mac Trezor contract match the runner environment.Evidence
Shell and Compose checks passed on iOS
256fdf477with E2E46abebband Dockera73f84c. The checks exercised the workflow shell with a stubbed CLI and rendered the Android default and iOS fee configurations.The hosted build and unit suite passed on
b895ed9eewith zero failures. The follow-up changes the Appium workflow and fixture pin. Unit CIThe initial Appium gate passed 12 of 13 cases, including all Trezor cases.
@multi_address_4failed coin selection at 2 sat/vB in all three attempts. The legacy fixture completed the same 74,573-sat funding at 1 sat/vB. Initial Appium CIThe corrected Mac mini gate passed all 13 cases on the first attempt on iOS
256fdf477, E2E46abebband Dockera73f84c. The Max channel case and Docker cleanup passed. Appium CIThe PR merge gate passed all 13 Appium cases on E2E
mainatda776257using Dockera73f84c. Hosted unit, integration, and SwiftFormat checks also passed. PR Appium CIGaps
None for the cutover.
Models used
gpt-6.1-sol(reasoning:high)gpt-6.1-sol(reasoning:high)gpt-6.1-sol(reasoning:high)