Repository navigation
ci(e2e): stop after ten failures or twenty minutes - #45
Merged
Merged
Conversation
A dead stack used to cost the job its whole 90-minute budget. With retries 2 and two workers, a modal over every page sent 75 tests through three 60 s timeouts each; the run was 42 minutes in when it was cancelled, and the log had said everything it was going to say in the first minute. Ten failures is more than any real regression has produced at once, and a healthy seeded run takes 4-6 minutes, so twenty is a ceiling on a run that is merely slow. Both apply in CI only; a local run keeps going so a developer sees every failure. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QfVAntXNaj2MLj5tsw7YQ2
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
The seeded e2e job had no fail-fast. With
retries: 2and two workers, a stack that is dead from the first test (a privacy dialog over every page, 2026-10-29, run 40950658970) sent 75 tests through three 60 s timeouts each and ran 42 minutes before being cancelled, with the diagnosis already in the first minute of the log.In CI only, Playwright now stops after 10 failures and after 20 minutes. A healthy run of the step takes 4 to 6 minutes; no real regression so far has failed more than a handful of specs at once. Local runs are unchanged, so a developer still sees every failure.
Test plan
playwright test --listloads the config underCI=1🤖 Generated with Claude Code
https://claude.ai/code/session_01QfVAntXNaj2MLj5tsw7YQ2