Fix the E2E job locking itself out with 429 - #250
Open
davifernan wants to merge 1 commit into
Open
Conversation
The E2E job has been failing since June. 21 of 62 tests fail, 20 of them with "Failed to fetch CSRF token: 429 Rate limit exceeded" — the suite requests far more than the default 60 CSRF tokens and locks itself out. playwright.config.ts already raises CSRF_MAX_REQUESTS and RATE_LIMIT_MAX_REQUESTS for the servers it starts, but that block is skipped when CI is set, and the workflow starts the backend without them. Passing the same values in the workflow takes a clean main checkout from 21 failed / 41 passed to 62 passed. Generated by Nilo
This was referenced Aug 18, 2026
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.
The E2E job has been failing since late June — on
main, on Dependabot PRs, and on anything opened from a fork. 21 of 62 tests fail, 20 of them with:The suite requests far more than the default 60 CSRF tokens, so the server locks it out partway through.
e2e/playwright.config.tsalready accounts for this and raisesCSRF_MAX_REQUESTSandRATE_LIMIT_MAX_REQUESTSfor the servers it starts — but that block is skipped whenCIis set, and the workflow starts the backend itself without them.Passing the same values in the workflow is the whole change. Measured on a clean
maincheckout, same suite, same machine, only the limits differ:🤖 Generated with Claude Code