test: demonstrate the regtest stack on a second GH runner - #205
Draft
mdozhdev wants to merge 2 commits into
Draft
Conversation
Alternative to provisioning a cloud VM, motivated by that approach needing
a GCP project and IAM access which is not always obtainable.
Three things had to hold and all three do:
- Two GitHub-hosted runners can reach each other. Both are behind NAT
with no inbound connectivity, so this goes over Tailscale; plain
WireGuard cannot traverse it. Peer addresses come from `tailscale
status` rather than MagicDNS, which the action cannot configure on
these runners.
- The stack job can outlive its own steps, by blocking on the tester's
job status. Neither job may declare needs: on the other or they
deadlock.
- An iOS Simulator can reach the tailnet, not just the Mac's shell.
The last is asserted by the stack runner against its own access log, on a
path the tester's shell does not fetch, so nothing on the Mac can satisfy
it locally.
Dispatch only, and independent of the VM tooling — this is evidence for
choosing between the two, not a second implementation.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this is
Evidence for a decision, not a second implementation. #204 runs the regtest stack on an ephemeral GCP VM; this shows the same thing working on a second GitHub-hosted runner, reached over Tailscale — which needs no cloud account at all.
Draft deliberately: if the team picks the VM route this should be closed, not merged.
Why it matters
The VM approach needs a GCP project and IAM access to configure Workload Identity Federation. That is an organisational dependency, not an engineering one, and it is currently the thing blocking #204 from running anywhere.
This route needs a tailnet and one repository secret.
Three things had to hold, and all three do
Verified on a real run:
tailscale status, not MagicDNS, because the action configures macOS DNS against a network service namedEthernetthat these runners do not have.needs:on the other or they deadlock — this is what broke the Oct 2025test/e2e-workflowattempt, which usedneeds:and lost its containers before any test ran.How the two compare
Everything test-side is shared between them — the compose change,
constants.ts,lnd.tsandwdio.conf.tsin #204 are identical either way. Only provisioning differs, so this is not a fork in the road that costs anything to defer.Setup, if you want to run it
secrets.TS_AUTHKEY— reusable, ephemeral, taggedtag:citag:cito reachtag:ciworkflow_dispatchonly. Merging it changes nothing on its own.Related