Skip to content

test: add a hosted-runner e2e path alongside the self-hosted one - #687

Closed
mdozhdev wants to merge 1 commit into
synonymdev:masterfrom
mdozhdev:test/e2e-remote-jobs
Closed

test: add a hosted-runner e2e path alongside the self-hosted one#687
mdozhdev wants to merge 1 commit into
synonymdev:masterfrom
mdozhdev:test/e2e-remote-jobs

Conversation

@mdozhdev

Copy link
Copy Markdown
Collaborator

Description

e2e-tests-local needs Docker and the iOS Simulator on one machine, which GitHub-hosted macOS runners cannot provide. It therefore runs on the self-hosted Mac as a single shard, ~2h per run — against ~20m for the same suite on Android's hosted Linux runners.

Adds the same suite on macos-latest, with the regtest stack on an ubuntu-latest runner reached over Tailscale:

job runner
regtest-stack ubuntu — runs the stack, serves LND creds, holds until the tests finish
e2e-tests-remote macos-latest — same specs, same 3 attempts, same 18-tag shard

Both reuse build-local, so the app is still built once.

Nothing existing changes. e2e-tests-local is untouched, and e2e-status still gates only on it — the new job reports but does not block, until it has earned replacing it.

The two new jobs must not depend on each other: regtest-stack only finishes once the tests are done, so a dependency either way deadlocks.

Blocked on

Verified

Full @lightning spec green on this arrangement, 39 min end to end. The remaining 17 tags have not yet been run against a remote stack.

Linked Issues/Tasks

  • synonymdev/pubky-stack#275

e2e-tests-local needs Docker and the iOS Simulator on one machine, which
GitHub-hosted macOS runners cannot provide, so it runs on a self-hosted Mac
as a single shard at ~2h per run.

Add the same suite on macos-latest with the regtest stack on an ubuntu
runner, reached over Tailscale. Both jobs reuse build-local, so the app is
built once.

e2e-tests-local is untouched and e2e-status still gates only on it, so the
new job reports without blocking until it has earned replacing it.

regtest-stack and e2e-tests-remote must not depend on each other: the stack
job only finishes once the tests are done, so a dependency either way
deadlocks.

Requires secrets.TS_AUTHKEY and the suite fixes in
synonymdev/bitkit-e2e-tests#207.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@mdozhdev

Copy link
Copy Markdown
Collaborator Author

Superseded by #689 — same commit, now on a branch in this repo rather than my fork, named test/e2e-remote-jobs to match synonymdev/bitkit-e2e-tests#208 so determine-e2e-branch pairs them automatically.

@mdozhdev mdozhdev closed this Aug 27, 2026
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.

1 participant