Repository navigation
Fix CI: update tailscale/github-action to v4, fix integration tests - #49
Open
kanazirsky wants to merge 2 commits into
Open
kanazirsky wants to merge 2 commits into
kanazirsky wants to merge 2 commits into
Conversation
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
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.
Every test job has failed at Connect Tailscale since Nov 18, when
ubuntu-latestmoved from Ubuntu 24.04 to 26.04.tailscale/github-action@v2runssudo -E tailscale upand relies on-Eto passTS_EXPERIMENT_OAUTH_AUTHKEY=trueto 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 withoauth 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-secretandtagsinputs, 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-nodeandapi-webfailed in the Test step.Also fixes two integration tests that fail on staging:
BlockchainClient › Make few requestssent two items with the same id 1, which the server now rejects withINVALID_ARGUMENT: duplicate item id 1Get ETH ratetimed out on stagingThe Sierra integration tests still fail with
PERMISSION_DENIED: the CI token has no Sierra access on staging.