Skip to content

ci: fix E2E shard re-runs and stop using the stale RPC key - #995

Merged
snario merged 2 commits into
mainfrom
claude/fix-e2e-build-wait
Oct 14, 2026
Merged

snario merged 2 commits into
mainfrom
claude/fix-e2e-build-wait

Conversation

@snario

@snario snario commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Summary

Two CI fixes. main's E2E check is red until this merges.

1. Live tests stop using TEMPO_RPC_API_KEY

The key was configured today, which turned on #984's authenticated path: live tests send Moderato reads through rpc.moderato.tempo.xyz/<key>. On GitHub-hosted runners, reads through that keyed relay stayed stale after transactions:

  • pay-with-ousd-fees: "Timed out while waiting for transaction … to be confirmed."
  • faucet (connected passkey wallet): balances stayed 0 after funding.
  • manage-stablecoin and mint-stablecoins also failed.

The same tests pass on the anonymous RPC, so the Playwright step no longer receives the key. The secret stays set. The relay needs to serve fresh reads before the key is passed again and the shards move to Depot (#994).

2. Re-running failed shards finds the E2E build

Re-run failed jobs carries a successful E2E Build into the new attempt without uploading again. The shards waited for e2e-dist-<new attempt>, timed out after 15 minutes, and failed without testing (run 38610201946, attempt 2).

  • E2E Build finished: shards use the newest e2e-dist-* artifact in the run.
  • E2E Build still running: shards take e2e-dist-<current attempt> as soon as it lands.
  • E2E Build failed: shards exit immediately.

Against the run that hung, the script finds e2e-dist-1 in 1.4s.

Co-Authored-By: Liam Horne [email protected]

🤖 Generated with Claude Code

Prompted by: Liam

Re-running failed jobs carries a successful E2E Build into the new
attempt without uploading again. The shards waited 15 minutes for an
artifact named after the new attempt and then failed. A finished build
now means the newest upload in the run. A running build still uploads
under the current attempt, so shards take it as soon as it lands.

Co-Authored-By: Liam Horne <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel

vercel Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tempo-docs Ready Ready Preview Oct 14, 2026 6:32pm UTC

Request Review

@snario snario self-assigned this Oct 14, 2026
With TEMPO_RPC_API_KEY configured, live tests route Moderato reads
through the keyed relay. Those reads stay stale after a transaction:
receipts never confirm and balances stay at 0. Four live tests failed on
GitHub-hosted runners (pay-with-ousd-fees, manage-stablecoin,
mint-stablecoins, faucet passkey). Live tests use the anonymous RPC again
until the relay serves fresh reads. The secret stays configured.

Co-Authored-By: Liam Horne <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@snario snario changed the title ci: find the E2E build after re-running failed shards ci: fix E2E shard re-runs and stop using the stale RPC key Oct 14, 2026
@snario
snario merged commit b68043e into main Oct 14, 2026
20 of 22 checks passed
@snario
snario deleted the claude/fix-e2e-build-wait branch October 14, 2026 18:34

This branch was successfully deployed

1 active deployment
Preview — 2eaeb7a5 Deployed Oct 14, 2026 by vercel[bot]
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