Skip to content

test: enable local Spark E2E on Android - #1980

Draft
piotr-iohk wants to merge 5 commits into
masterfrom
codex/spark-receive
Draft

piotr-iohk wants to merge 5 commits into
masterfrom
codex/spark-receive

Conversation

@piotr-iohk

@piotr-iohk piotr-iohk commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Twin: synonymdev/bitkit-ios#1371
Dependency: synonymdev/bitkit-e2e-tests#317

Merge the shared E2E fixture first so the Spark workflow can use E2E main.

Description

  • Read the pinned Spark operator and chain settings in local debug E2E builds.
  • Add Spark to the local E2E nightly. Its scheduled and manual runs build the configured app and runs the shared @spark_1 case on the emulator.
  • Allow up to three attempts, with separate artifacts and a failing job if all attempts fail.
  • Cache the built Spark images by Docker revision and runner architecture. The job creates fresh test data.
  • Expose the Spark balance row to Appium.

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_branch to select a companion ref.

Journeys

N/A.

Manual Tests

N/A.

Automated Checks

  • The local E2E nightly runs only @spark_1. It pays a 10,000-sat invoice and verifies the received activity and the Spark spending balance.

Evidence

  • @spark_1 passed on the local Android emulator against Docker revision a73f84c.
  • just compile, just test, and just lint passed.
  • The Spark-only dispatch ran one case and passed. Android CI
  • actionlint passed. The workflow uses the dedicated Spark setup and matches the regular E2E retry and recording settings.
  • A real image archive started the pinned fixture locally. Hit, miss, invalid archive, and save failure checks passed.
  • Android CI passed @spark_1 on the cold and warm runs. Restoring images reduced fixture setup from 24m 19s to 7m 44s. Cold run, Warm run

Gaps

GitHub activates the new nightly after it lands on the default branch.

Models used

  • Planning and scoping gpt-6.2-sol (reasoning high)
  • Implementation gpt-6.2-sol (reasoning high)
  • Review gpt-6.2-sol (reasoning high)

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Regtest APK

Built from 5982d42 (run).

Download bitkit-dev-debug universal APK (expires in 30 days).

@ovitrif

ovitrif commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Spark goes to production in 3.2.0, so its end-to-end tests are part of the release. This PR now closes #1981, which tracks it in milestone 3.2.0. The shared fixture and @spark_1 case in synonymdev/bitkit-e2e-tests#317 merge first.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants