Repository navigation
test: enable local Spark E2E on iOS - #1371
Conversation
|
Spark goes to production in 3.2.0, so its end-to-end tests are part of the release. This PR now closes #1372, which tracks it in milestone 3.2.0. The shared fixture and |
[Medium impact] The reviewed changes appear safe to merge; no new blocking issue was established. SummaryAdds a nightly Spark E2E workflow with pinned fixture images, a hosted simulator build, retries, saved logs, and Slack reporting.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart LR
Images["Prepare pinned ARM64 fixture images"] --> Build["Build configured simulator app"]
Images --> Tests["Run Spark E2E on shared Mac"]
Build --> Tests
Tests --> Evidence["Save logs and recordings"]
Images --> Report["Post nightly Slack summary"]
Build --> Report
Tests --> Report
Reviews (6) · Last reviewed commit: "ci: rerun the native iOS PR checks" · Reviewed by Greptile |
|
Added the |
|
@greptileai please review the latest head, 5291501, including the fix for local Spark chain selection. |
talosmachina
left a comment
There was a problem hiding this comment.
No findings. Embeds the local Spark operator config and chain URL in debug local-E2E builds, routes the SDK, funding checks and exits through that chain, exposes SparkBalance to Appium, and adds the iOS local nightly. Reviewed 5291501, full tier.
What I checked, and 4 candidates I ruled out
Read in full: Env.swift (the Spark settings and sparkChainServiceUrl), SparkManager.swift connect path and configureLocalSpark, SparkConnectionViews.swift hunk, SparkConfigTests.swift, SparkExitSweepTests.swift hunk, .github/workflows/e2e-local-nightly.yml
Since the first push: 5291501 moves funding checks and exits onto the same chain as the SDK, which settles Greptile's two-chain point; the new testLocalChainServiceTakesPrecedenceOnlyOnRegtest covers the precedence
Build: not built here; on the Bitkit track iOS is reviewed from the code and from CI
CI: SwiftFormat and validate green; Run Tests, integration tests and build-local still running at review time
Ruled out
- Local settings leaking into a release build:
localSparkSettingsreturns nothing unlessisDebug, the local E2E backend and regtest all hold, and the plist values are empty unless the build sets them. - Half-configured fixture: a config without a chain URL, or the reverse, throws in
configureLocalSparkrather than connecting to a mix of hosted and local services. - Shared Mac fixture teardown: the stop step is scoped by
COMPOSE_PROJECT_NAME=bitkit-spark-e2eand the workflow's fixed concurrency group keeps two nightlies off the runner at once. - The rewritten sighash preimage in
SparkExitSweepTests: byte for byte the same order as the expression it replaces.
Merge confidence: 4/5, no findings, but the unit, integration and build-local jobs were still running and the branch was not built here.
Reviewer model: claude-opus-5-5
Reasoning effort: Not exposed (the session does not surface the setting to the reviewer)
|
@talosmachina please re-review |
There was a problem hiding this comment.
Verdict: ✅ Approve
The PR moved to fe94c4a after this run; these results are for 8f026be.
Findings: No new findings.
QA for 8f026be:
Receive a Lightning payment into local Spark ✅ A fresh wallet received 10,000 sats and showed the received activity, spending total and Spark balance.
Rebuilt 8f026be with Xcode 27.0 and local Spark settings, then ran the shared @spark_1 on an iOS 27.0 simulator against Docker a73f84c and E2E 0bffc49. The case checks zero initial balance, pays the invoice, and verifies the final SparkBalance row.
spark-receive-2x.2x.mp4
Local Spark receive, 2× speed.
Check: Unit suite and local Spark chain guards ✅ The exact-head unit report passes, including fixture URL precedence and matching Electrum endpoint checks.
Reused the hosted XCTest report for 8f026be; inspected its successful SparkConfigTests and SparkExitSweepTests results. The report includes skipped tests, which are not treated as passed. Local build, SwiftFormat 0.64.6 on changed Swift files, actionlint and diff whitespace checks also passed.
Full review of 0c75667..8f026be: all ten changed files and reached callers, including node lifecycle, funding guards, Breez SDK and exit chain selection, test isolation and the nightly workflow. Also checked the earlier chain-guard review. The fresh receive run covers the current-head evidence gap raised in the later review.
The receive case did not drive Savings/hardware funding or a full emergency exit. The nightly workflow was reviewed and linted, without dispatching it.
Twin: synonymdev/bitkit-android#1980 matches the local Spark configuration, balance identifier and nightly receive scope. Android disables local cross-wallet funding; iOS permits it only when both Electrum endpoints match the fixture.
Reviewed 8f026be; the branch advanced to fe94c4a during this run. Later commits are outside this review.
Reviewed by gpt-6.1-sol-high
talosmachina
left a comment
There was a problem hiding this comment.
Re-review of fe94c4a after 8f026be. 0 earlier findings, 0 new findings. The delta, fe94c4a, moves the Spark nightly onto the PR suite's docker Compose project and adds the spark profile to the PR suite's reset and teardown. Full tier.
What I checked, and 4 candidates I ruled out
Diff read: both hunks of e2e-tests.yml (reset at line 327, teardown at line 400) and the e2e-spark job env in e2e-local-nightly.yml, plus the unchanged Start pinned Spark fixture and Stop Spark fixture steps that now run under the shared project
Cross-checked: at the pinned bitkit-docker a73f84cd, docker-compose.yml includes spark-regtest/compose.yml, every service in it is gated by profiles: [spark], and spark.env is tracked, so COMPOSE_PROFILES=spark ... down resolves on a clean checkout; local-backend down passes the environment straight through to docker compose
PR body: Evidence and Gaps now name the app, shared E2E and Docker revision behind each run, and say plainly that no fixture-backed payment has run on the current app code
Build: not built here; on the Bitkit track iOS is reviewed from the code and from CI
CI: SwiftFormat and validate green; build-local, Run Tests and integration tests still running, so the PR suite's new reset line has not executed at this head yet
Ruled out
- The nightly tearing down a live PR suite now that both share a project: both jobs run on
[self-hosted, macOS], a self-hosted runner takes one job at a time, and the recent self-hosted jobs of both workflows all went to the same runner; a second Mac would have its own Docker host and its own project. - Pulling the Spark images back down on every PR run:
down -vremoves containers, networks and volumes, never images, so the nightly's fingerprint reuse of the pinned images survives a PR run. - The PR suite starting Spark services: the profile is set only on the
downcalls;local-backend upstill names its six default services explicitly. - Older E2E refs without
local-backend: theelsebranch is untouched, and the bundled stack in those refs has nosparkprofile to miss.
Merge confidence: 4/5, no findings, but the PR suite's new reset has not run at this head, an interrupted-run cleanup on the shared Mac is unverified, and the last real @spark_1 payment predates the chain routing commits, as the Gaps section says.
Reviewer model: claude-opus-5-5
Reasoning effort: Not exposed (the session does not surface the setting to the reviewer)
There was a problem hiding this comment.
Verdict: ✅ Approve
Findings: No new findings.
QA for fe94c4a:
Check: Remove an interrupted Spark fixture before regular E2E ✅ Regular reset removes the running Spark fixture, then regular startup and teardown succeed.
Started the pinned Docker a73f84c Spark fixture with shared E2E 0bffc49, killed its controller during readiness with containers still running, then executed the regular workflow's COMPOSE_PROFILES=spark reset. Verified that its containers, named volumes and network were removed. Regular startup then selected its original services without Spark, and final cleanup removed the fixture. Resource names and published ports were isolated; the repository startup and cleanup commands were unchanged. The reset allowed the configured 300-second shutdown grace periods to complete. This exercises leftover-container recovery on Linux with Docker Compose 2.40.3, without restarting the Docker daemon. Docker Desktop restart behavior was not exercised.
Check: Build and workflow validation ✅ The reviewed head builds for the arm64 simulator; the changed workflows add no lint diagnostics.
Built fe94c4a with Xcode 27.0. Nightly actionlint and diff whitespace checks passed. Regular-workflow actionlint still reports the same two existing cache-mode errors at both heads; this delta does not introduce them.
Receive a Lightning payment into local Spark ✅ Reused the passing 10,000-sat receive at 8f026be; this delta leaves the app and payment case unchanged.
The previous review and recording prove zero initial balance, received activity, spending total and the final Spark balance. No new device run was needed for the two workflow-only edits.
Check: Unit suite and local Spark chain guards ✅ Reused the passing unit report at 8f026be; app code, tests and package pins are unchanged.
The hosted unit report was inspected in the previous review, including fixture URL precedence and matching Electrum endpoint checks. Skipped tests are not counted as passed.
Delta review of 8f026be..fe94c4a: both changed workflows and the shared fixture commands they invoke. The shared Compose project and cleanup profile address the earlier cleanup advisory. The nightly was not dispatched; hosted image transfer, Slack delivery and a Docker daemon restart were not repeated.
Twin: synonymdev/bitkit-android#1980 matches the local Spark receive scope.
Reviewed by gpt-6.1-sol-high
|
@greptileai please review |
|
@talosmachina please re-review the delta from |
talosmachina
left a comment
There was a problem hiding this comment.
Re-review of 0b5f8c6 after fe94c4a. 0 earlier findings, 0 new findings. The delta adds a spark-logs --tail 200 capture into artifacts/attempt-N/ after each failed attempt 1 and 2, and narrows the final capture to failure(). Full tier (CI workflow path).
What I checked, and 4 candidates I ruled out
Diff read: the three hunks of e2e-local-nightly.yml, plus the unchanged attempt steps, Stop Spark fixture and the upload-artifact step that picks up bitkit-e2e-tests/artifacts/
Cross-checked: on the shared E2E branch carrying scripts/run-spark-e2e.sh (codex/spark-receive, 0bffc49), local-backend spark-logs runs check_revision then compose --profile spark logs "$@", so --tail 200 reaches docker compose logs; ci_run_ios.sh writes artifacts/attempt-${ATTEMPT} and never clears it, so the new spark-docker.log sits beside the simulator log of the same attempt
Build: not built here; a workflow change, reviewed from the YAML
CI: SwiftFormat and validate green; Run Tests and integration tests pending; the nightly only runs on schedule or dispatch, so the new steps have not executed
Ruled out
- The capture never firing because the attempt steps are
continue-on-error: the new conditions readsteps.testN.outcome, which isfailurebefore continue-on-error rewrites the conclusion, so they fire exactly when the attempt failed. - Losing the log when attempt 3 is never reached or passes: attempts 1 and 2 now capture their own tail before the retry, and the final step still runs on
failure(), which also covers a failed fixture start. - A capture failure failing the job: both new steps are
continue-on-error, and the fixture is still up at that point sinceStop Spark fixtureruns after all three attempts. - Overwriting across attempts: each attempt writes its own directory; only the final, attempt-3 or setup-failure capture goes to
artifacts/spark-docker.log.
Merge confidence: 4/5, no findings, but the new steps only run in the scheduled nightly and have not executed, Run Tests and integration tests were still running, and no fixture-backed payment has run on the current app code, as the Gaps section says.
Reviewer model: claude-opus-5-5
Reasoning effort: Not exposed (the session does not surface the setting to the reviewer)
There was a problem hiding this comment.
Verdict: ✅ Approve
Findings: No new findings.
QA for 0b5f8c6:
Check: Preserve Spark diagnostics across retries ✅ Controlled workflow checks preserve each failed attempt's logs before the next retry.
Executed the workflow's diagnostic shell commands with the shared local-backend at 0bffc49, a pinned Docker checkout, and stubbed payment and Docker-log commands. Checked first-attempt success, recovery on attempts two and three, all attempts failing, setup failure, and diagnostic collection failing. Earlier snapshots retain stdout and stderr; setup and final-attempt failures retain the final diagnostic. A failed collector permits subsequent retries. Scheduling was modeled using GitHub's documented step outcomes; this was not a hosted nightly run.
Check: Build and workflow validation ✅ The reviewed head builds for the arm64 simulator and passes workflow lint.
Built 0b5f8c6 with Xcode 27.0. actionlint .github/workflows/e2e-local-nightly.yml and the delta whitespace check passed.
Receive a Lightning payment into local Spark ✅ Reused the recorded passing receive at 8f026be; the app and payment case are unchanged.
The earlier review and recording verify a fresh wallet's zero balance, 10,000-sat receive, activity, spending total and Spark balance. No new device run was needed for this workflow-only delta.
Check: Remove an interrupted Spark fixture before regular E2E ✅ Reused the passing cleanup check at fe94c4a; its commands are unchanged.
The previous review verifies interrupted-fixture cleanup followed by regular startup and teardown. That check used Linux Docker Compose; Docker Desktop restart recovery remains unverified.
Check: Unit suite and local Spark chain guards ✅ Reused passing unit evidence; app source, tests and package pins are unchanged.
The previous review inspected the unit report at 8f026be, including fixture URL precedence and matching Electrum endpoint guards. Skips are not treated as passes.
Reviewed the complete fe94c4a..0b5f8c6 delta: the nightly workflow and reached shared E2E scripts. The nightly was not dispatched; hosted artifact transfer and Slack delivery were not repeated. Savings/hardware funding and a full emergency exit retain the PR's stated device-coverage gaps.
Twin: synonymdev/bitkit-android#1980 test: enable local spark e2e on android matches the local Spark receive scope. At 02aeced, Android collects one final fixture log; this delta adds per-attempt snapshots on iOS.
Reviewed by gpt-6.1-sol-high
{"kind":"bitkit-retarget-execution-v1","repository":"synonymdev/bitkit-ios","pr":1371,"generation":"45151413049-1","sourceSha":"0b5f8c69e20a0b3576175a07d2b8a6588b792f6d","sourceRef":"0b5f8c69e20a0b3576175a07d2b8a6588b792f6d","owner":"github-actions[bot]"}
{"kind":"bitkit-retarget-execution-v1","repository":"synonymdev/bitkit-ios","pr":1371,"generation":"45156173753-1","sourceSha":"0b5f8c69e20a0b3576175a07d2b8a6588b792f6d","sourceRef":"0b5f8c69e20a0b3576175a07d2b8a6588b792f6d","owner":"github-actions[bot]"}
{"kind":"bitkit-retarget-execution-v1","repository":"synonymdev/bitkit-ios","pr":1371,"generation":"45156961346-1","sourceSha":"0b5f8c69e20a0b3576175a07d2b8a6588b792f6d","sourceRef":"0b5f8c69e20a0b3576175a07d2b8a6588b792f6d","owner":"github-actions[bot]"}
There was a problem hiding this comment.
Verdict:
Findings: No new findings.
QA for 2ad8013:
Check: Select and reset the iPhone 17 Pro ✅ The regular workflow targeted the iPhone 17 Pro for reset and booted it.
The runner inventory showed one matching simulator on iOS 26.0.1. The regular job selected that device on all three attempts. The previous revision stopped at device discovery because its iPhone 17 was absent. The Spark nightly passes the same device and runtime settings to the shared launcher. Runner inventory · Previous job · Current job
Check: Start the self-hosted iOS E2E session ⏭️ All three attempts timed out creating an Appium session.
WebDriverAgent refused the connection on the second and third attempts. The regular gate reached zero app assertions. Self-hosted job
Receive a Lightning payment into local Spark ✅ A fresh regtest wallet received 10,000 sats and showed the activity, spending total, and Spark balance.
The exact-head ARM64 build passed the shared @spark_1 case on an iPhone 17 Pro simulator with iOS 27.0, using the pinned regtest Spark fixture. Shared case at bed683b · Docker pin a73f84c
spark-receive-2x.2x.mp4
Check: Build the iOS simulator app and validate the workflow delta ✅ The ARM64 simulator build passed and the workflow delta added no lint diagnostics.
Built with Xcode 27.0. Nightly actionlint and the diff whitespace check passed. The regular workflow has the same two cache-mode diagnostics at both revisions. Exact-head XCTest and integration CI also passed.
Reviewed the two iOS workflow files and their shared simulator launcher in the 0b5f8c6…2ad8013 delta. The prior fixture cleanup and retry diagnostics checks still apply. The local payment run exercises the shared Appium case. Hosted nightly orchestration and Slack delivery require a nightly run. Prior review
Twin PR synonymdev/bitkit-android#1980 test: enable local spark e2e on android matches the local Spark receive scope. The simulator change is iOS-specific.
Reviewed by gpt-6.2-sol-high
There was a problem hiding this comment.
Verdict:
Findings: One MEDIUM. The shared XCUITest driver tries to open Simulator.app after the switch to iOS 27.2. The regular gate and Spark nightly use the same launcher. The inline finding covers .github/workflows/e2e-tests.yml:235 and .github/workflows/e2e-local-nightly.yml:145.
QA for 763a19a:
Check: Select and boot the iPhone 17 ✅ The regular job booted the named iPhone 17 on all three attempts.
Both jobs request iPhone 17 and iOS 27.2. The regular job passed platformVersion: 27.2 to Appium. CI job
Check: Start the self-hosted iOS E2E session ⏭️ All three session attempts stopped before any app assertion.
The runner used XCUITest 10.17.0, which tried to open Simulator.app. Xcode 27 replaced it with Device Hub. CI job · Appium’s Xcode 27 support issue
Check: Build the iOS simulator app and validate the workflow delta ✅ The ARM64 build passed and the workflow delta added no lint diagnostics.
The exact head built with Xcode 27.0. Nightly actionlint and the diff whitespace check passed. The regular workflow has the same two cache-mode diagnostics at both revisions.
Receive a Lightning payment into local Spark ✅ The recorded iOS 27.0 pass at 2ad8013 still covers the app and shared case.
The run verified the received 10,000-sat activity, spending total and Spark balance. The app code, package pins and shared @spark_1 revision match that run. Passing test and recording · Shared case at bed683b
The 2ad8013…763a19a delta covers simulator selection in two workflows. The Spark nightly and Slack delivery on the new runner configuration remain unverified. Integration CI passed. A separate XCTest job reported failures in the Paykit, QuickPay and USDT suites, outside this workflow delta. Integration job · XCTest job
Twin PR synonymdev/bitkit-android#1980 test: enable local Spark E2E on Android matches the local Spark receive scope. The simulator change is iOS-specific.
Reviewed by gpt-6.2-sol-high
|
@greptileai @talosmachina please review |
talosmachina
left a comment
There was a problem hiding this comment.
Re-review of ee4dcdc after 0b5f8c6. 0 earlier findings, 0 new findings. The delta is 2ad8013 and 763a19a, which set SIMULATOR_NAME: "iPhone 17" and SIMULATOR_OS_VERSION: "27.2" on the self-hosted e2e-spark nightly job and the regular self-hosted E2E job, and erase the simulator by $SIMULATOR_NAME; ee4dcdc is empty. Full tier (CI workflow path).
What I checked, and 3 candidates I ruled out
Diff read: git diff 0b5f8c6..ee4dcdc, 2 workflow files, 5 lines added, 1 removed
Against master: the e2e-tests.yml simulator hunk is byte-identical to master's caa0cb1 (#1398), so the PR's net change to that file is still only the COMPOSE_PROFILES=spark reset and teardown reviewed at fe94c4a; the nightly now matches the gate
Cross-checked on shared E2E main (f148eab): ci_run_ios.sh and wdio.conf.ts read SIMULATOR_NAME and SIMULATOR_OS_VERSION (default 26.0.1), so without these lines both jobs would have requested the old runtime; run-spark-e2e.sh runs ci_run_ios.sh through local-backend run, which keeps the job env; #320 (appium-xcuitest-driver 12.20.0, Xcode 27 Device Hub) and #321 are merged into main, the nightly's default e2e_branch, which settles the Simulator.app startup failure reported on 763a19a
Build: not built here; a workflow change, reviewed from the YAML
CI: SwiftFormat, validate and detect-changes green; build-local, Run Tests and integration tests running at review time, so the self-hosted gate on iOS 27.2 has not run at this head; the nightly runs only on schedule or dispatch
Ruled out
- Hosted build with Xcode 26.6 running on an iOS 27.2 simulator: the regular gate on master does the same (build-local on 26.6, run on the Mac's 27.2 runtime), and an older-SDK simulator build installs on a newer runtime.
iPhone 17matchingiPhone 17 Pro:ci_run_ios.shmatchesname" (", so the Pro is never picked.- A dispatch with an older
e2e_branchlacking #320: an explicit operator choice of ref, not a default path.
Merge confidence: 4/5, the iOS 27.2 self-hosted runs (regular gate and Spark nightly) have not executed at this head.
Reviewer model: claude-opus-5-5
Reasoning effort: Not exposed (the run metadata available to this review does not report it)
There was a problem hiding this comment.
Verdict: ✅ Approve
Findings: None. The shared XCUITest upgrade fixes the earlier Appium startup failure on iOS 27.2. Driver upgrade · Previous finding
QA for ee4dcdc:
Receive a Lightning payment into local Spark ✅ A fresh wallet received 10,000 sats and showed it in activity, total spending and Spark balance.
The exact-head ARM64 build passed @spark_1 on iOS 27.0 with XCUITest 12.20.0. The case verified a zero starting Spark balance and 10,000 sats in the received activity, total spending and Spark balance. Shared E2E at f148eab · Docker fixture at a73f84c
spark-receive-2x.2x.mp4
Check: Start Appium on the iOS 27.2 runner ✅ The runner created a session and passed the focused Send test.
The iOS 27.2 job used XCUITest 12.20.0 and the app artifact from the 763a19a PR run. The GitHub merge checkouts for 763a19a and ee4dcdc have identical trees. The regular PR rerun selected the updated shared E2E branch and was still in progress at review time. Focused iOS 27.2 job · Regular PR rerun
Check: Build the iOS simulator app and validate the workflow delta ✅ The exact head built for ARM64 and the nightly workflow passed lint.
The build used Xcode 27.0 and the pinned local Spark configuration. The whitespace check passed.
The 763a19a…ee4dcdc delta is an empty commit that reruns checks. The review rechecked the shared Appium launcher used by both workflows. The Spark nightly and its Slack delivery on iOS 27.2 still need a scheduled or dispatched run. Savings and hardware funding and a full emergency exit have unit coverage only in this PR.
Twin synonymdev/bitkit-android#1980 matches the local Spark receive scope. The Appium startup fix is iOS-specific.
Reviewed by gpt-6.2-sol-high
piotr-iohk
left a comment
There was a problem hiding this comment.
QA review
Scope: full PR diff against its merge base, at ee4dcdc.
No new actionable code findings.
No actionable code findings. A debug local-E2E regtest build reads the baked Spark operator config and chain URL, connects with the mempool.space API, and allows Savings or hardware funding only when both Electrum endpoints are the fixture (tcp://127.0.0.1:60001 and http://127.0.0.1:23090/api). Exits use that same chain URL. The nightly builds that app, runs @spark_1, keeps a bounded fixture-log tail per failed attempt, and shares the docker Compose project with the PR suite so a Spark-profile reset can remove leftover services.
Compared with twin bitkit-android#1980 at b87435e: the same local config, mempool API, and fee-ladder switch. Android turns on-chain funding off whenever local Spark settings are present. iOS allows it when the Electrum endpoints match the fixture, matching the fixture doc that Electrum tcp://127.0.0.1:60001 is that chain.
Compatibility with bitkit-e2e-tests#317 at 0bffc49 covered only the contracts this workflow calls (spark-pack, spark-init-env, spark-up, spark-env, spark-logs, run-spark-e2e.sh, @spark_1 / SparkBalance, and slack_summary.py e2e-local-nightly), not a full review of that PR. The nightly's default ref is e2e main f148eab, which still has those commands and pins appium-xcuitest-driver 12.20.0. That driver is what the resolved Appium startup thread needed for iOS 27.2. The other review threads on this PR are resolved, including the two-chain routing comment, which the current funding and exit paths address.
Device testing: not performed in this review. The author and a later review report @spark_1 received 10,000 sats on an earlier build of this app source. At this head, GitHub reports SwiftFormat, unit tests, and integration tests succeeded; the regular self-hosted gate had started its first attempt after the Spark-profile reset. Savings and hardware funding, and a full emergency exit, remain unit-covered only.
Suggested additional test cases:
- iOS simulator with the local Spark fixture baked in: transfer sats from Savings to Spark, mine with the fixture's Spark miner, and expect the Spark balance to include the deposit. Then point Electrum at another server and expect Transfer to Spending to stay unavailable.
Reviewer model: grok-4.7
Reasoning effort: xhigh
Closes #1372
Twin: synonymdev/bitkit-android#1980
Dependency: synonymdev/bitkit-e2e-tests#317
Merge the shared E2E fixture first so the Spark workflow can use E2E main.
Description
@spark_1case on the simulator.#bitkit-staging-nightly. Scheduled runs post automatically and manual runs can enablepost_to_slack.Design
N/A.
Preview
N/A.
QA Notes
Setup
Use the shared Spark fixture instructions in the E2E dependency. Local E2E Nightly runs at 05:35 UTC and can also be dispatched manually. Set
e2e_branchto select a companion ref.Journeys
N/A.
Manual Tests
N/A.
Automated Checks
@spark_1. It pays a 10,000-sat invoice and verifies the received activity and the Spark spending balance.Evidence
On
ee4dcdc, all 13 regular iOS E2E cases passed on the first attempt on macmini1 with iPhone 17, iOS 27.2 and shared E2Ef148eab. GitHub posted the requirede2e-statuscheck on this PR. XCTest, integration tests and SwiftFormat also passed. Required E2E result · Test log@spark_1passed on the local iOS simulator with app562760b5, shared E2E8d27b385and Docker fixturea73f84cd.On app
83303ed9, SwiftFormat passed and the XCTest unit target ran 4,137 tests with zero failures and five skips.With app
5d589eb2, shared E2E9f6f407aand Docker fixturea73f84cd, iOS CI passed the single@spark_1case onmacmini1on the first test attempt after Docker Desktop recovered. The run reused the exact pinned Spark images and the hosted ARM64 simulator build. Passing iOS job · Runner recoveryactionlint passed. The workflow uses the dedicated Spark setup and matches the regular E2E retry and recording settings.
The updated job-level Slack format passed the shared tests and actionlint. The draft-branch nightly passed
@spark_1on its first attempt and delivered its report to Slack with app8508ed6b, shared E2Eb7e445adand Docker fixturea73f84cd. Draft-branch runOn
8f026be, the iOS simulator XCTest unit target ran 4,139 tests with five skips and zero failures. The regression tests cover the fixture chain taking precedence over a general regtest URL and local funding requiring matching Savings and hardware Electrum endpoints. SwiftFormat checked 930 files successfully. Chain guardThe workflow change passed actionlint, eight cache hit/miss and Git ref combinations, and four test retry outcomes. The image archive is saved only from the shared
mainbranch. A recovered test failure retains the fixture logs. Nightly workflowOn app
8f026be9, hosted CI passed the unit target (4,155 tests, five skipped, zero failures), all 28 integration tests, and the regular Appium suite on its first test attempt. The separate profile-recovery UI test timed out observing its fixture state on the first XCTest job and passed on retry. XCTest retry · Integration · Appiumfe94c4a7changes only the two workflow files. Both shared-Mac suites now use thedockerCompose project. On the pinned fixture, including the Spark profile for cleanup selects all 23 extra Spark services, while regular PR setup retains its default services. Compose cleanupAn independent run rebuilt app
8f026be9with local Spark settings and Xcode 27.0. On the iOS 27.0 simulator, shared E2E0bffc496paid a 10,000-sat invoice against Dockera73f84cdand verified the activity, spending total and Spark balance.fe94c4a7uses this same app source. Device evidence and recordingOn
fe94c4a7, an independent test interrupted the Spark controller on Linux with Docker Compose 2.40.3 and isolated ports. The regular PR cleanup removed the containers, named volumes and network. The regular fixture then started with its original services and completed teardown. The same head built for the ARM64 simulator with Xcode 27.0. Interrupted-run testfe94c4a7passed all 28 integration cases. Its XCTest retry ran 4,155 unit cases with five skips and zero failures. The previously timed-out quoted-request navigation case passed on that retry, along with the UI target. XCTest · IntegrationOn
0b5f8c69, each failed retryable Spark attempt saves the last 200 lines per fixture service before the next attempt starts. The run keeps a final diagnostic for setup or third-attempt failures. The workflow passed actionlint and five local checks covering first-attempt success, recovery on attempts two and three, all attempts failing, and setup failure. App source and the payment case are unchanged. Retry diagnosticsGaps
The simulator receive case covers payment into Spark. Savings and hardware funding and a full emergency exit have unit coverage only in this PR. Docker Desktop restart recovery on the shared Mac remains unverified.
GitHub activates the new nightly after it lands on the default branch. Pre-merge Slack delivery was verified using a temporary dispatcher on the draft branch.
Models used
gpt-6.2-sol(reasoninghigh)gpt-6.2-sol(reasoninghigh),gpt-6.2-astra(reasoningultra)gpt-6.2-sol(reasoninghigh),gpt-6.2-astra(reasoningultra)