Repository navigation
Description
Summary
The web E2E test real product hero playback › <locale> uses only its responsive product clips at <width>px (services/web/tests/e2e/specs/product-motion.spec.ts, job Playwright (web) of the E2E workflow) has failed two release-candidate validations. Each time, the same source, or a source with identical web code, passed on another attempt. Per .github/RELEASING.md ("A release that has to go out", step 2), that makes it a flake, and a flake needs an issue that tracks it. This is that issue. Each occurrence costs a release attempt: the candidate's E2E receipt is failed until all of that run's jobs are re-run.
What the repo says today (main at 92f9a86)
product-motion.spec.ts:314declares the test for every locale at 320 and 1440 px, with reduced motion off (:310).expectPlaying(:68-72) waits for the figure's one<video>(:70), then polls until it plays.- The test then requires that the page requested the asset (
requests.length > 0,:346) and that every request was the asset's WebM (:347-349).
What was observed
| Run | Source | Result |
|---|---|---|
| E2E 38585257407 (Release candidate, 2026-10-14 14:58Z) | c2aba71c46 |
Playwright (web) failed on this test; the same source's next candidate round (15:09Z) passed |
| E2E 38700307158 attempt 1 (Release candidate, 2026-10-15 07:40Z) | 92f9a86b3b |
de … at 1440px failed three times (two retries) and fr … at 320px once. Errors: Timeout 20000ms exceeded while waiting on the predicate after expect(video).toHaveCount(1) (:70); on the last retry expect(requests.length).toBeGreaterThan(0) (:346) |
E2E of the previous candidate 9179c16af5 (2026-10-15 06:31Z) |
9179c16af5 |
passed; git diff 9179c16af5 92f9a86b3b -- services/web packages/marketing-ui is empty |
Not examined: whether the clip loads slowly or never loads in the failing attempts (the traces were not downloaded), whether one runner image or region accounts for the failures, and how often the job fails outside release candidates.
Constraints
- The test protects real behaviour: each locale's hero plays only its own responsive WebM, without controls, inside its figure.
- RELEASING.md forbids waiving a failed check. A flake here always costs a full re-run of the E2E workflow, which holds four platform shards, four UI shards and the web job.
Options
- Wait for playback on a media event (
playing,canplaythrough) with a timeout sized for CI, instead of a fixed 20-second poll. - Capture the requests from before navigation on every retry. The last retry's
requests.lengthof 0 suggests the list missed requests served earlier, for example from cache. - Serve the clip from a fixture the runner has locally, so network or encoding speed cannot decide the result.
- Leave it and count occurrences here.
Related
- ci: the code editor's phone-sheet completion test fails now and then #4993 and ci: the sandbox network-guard test fails now and then in the merge queue #4989 (other flakes that cost queue or candidate attempts)
Activity