Skip to content

Fix CI: update tailscale/github-action to v4, fix integration tests - #49

Open
kanazirsky wants to merge 2 commits into
masterfrom
fix/ci-tailscale
Open

kanazirsky wants to merge 2 commits into
masterfrom
fix/ci-tailscale

Conversation

@kanazirsky

@kanazirsky kanazirsky commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Every test job has failed at Connect Tailscale since Nov 18, when ubuntu-latest moved from Ubuntu 24.04 to 26.04.

tailscale/github-action@v2 runs sudo -E tailscale up and relies on -E to pass TS_EXPERIMENT_OAUTH_AUTHKEY=true to Tailscale. The 26.04 runner's sudo ignores it (sudo: preserving the entire environment is not supported, '-E' is ignored), so Tailscale rejects the OAuth key with oauth authkeys are in experimental status.

v4 (now v4.4.0) installs a current Tailscale (1.104.4 by default) that accepts OAuth keys without that flag. It takes the same oauth-client-id, oauth-secret and tags inputs, so only the version changes.

This only fixes the connection. The tests that run after it may still fail on their own: on Nov 12, the last run where Tailscale connected, api-node and api-web failed in the Test step.

Also fixes two integration tests that fail on staging:

  • node BlockchainClient › Make few requests sent two items with the same id 1, which the server now rejects with INVALID_ARGUMENT: duplicate item id 1
  • the web market tests had a 5s timeout (the other web integration tests use 30–35s), and Get ETH rate timed out on staging

The Sierra integration tests still fail with PERMISSION_DENIED: the CI token has no Sierra access on staging.

v2 runs `sudo -E tailscale up` and needs TS_EXPERIMENT_OAUTH_AUTHKEY passed through sudo, but the sudo on the
ubuntu-26.04 runners (ubuntu-latest since Nov 2026) ignores -E, so Tailscale rejected the OAuth key and every test job
failed at Connect Tailscale. v4 uses a current Tailscale that accepts OAuth keys without the flag.
- the blockchain test sent two items with the same id 1, which the server now rejects as INVALID_ARGUMENT
- the web market tests had a 5s timeout, shorter than the other web integration tests, and getRates can take longer on staging
@kanazirsky kanazirsky changed the title Update tailscale/github-action to v4 Fix CI: update tailscale/github-action to v4, fix integration tests Dec 3, 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