[GH-ISSUE #5642] CI flakes wave 3: ElevenLabs assignment-mode focus, sticky-header gutter, home browser hub scaling #3124

Closed
opened 2026-10-21 05:59:49 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @kolacheee on GitHub (Aug 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5642

Originally assigned to: @kolacheee on GitHub.

What happens

Three desktop-chromium tests are failing intermittently in CI on unrelated PRs. PR #5640 (which touches only the shared number-input component, a game sheet button, and one e2e test) ran the matrix three times on near-identical content: run 33259494616 failed, run 33260263307 passed clean, run 33260783195 failed again with a different mix — the same suite content flipping between pass and fail is the flake signature, not a product regression.

The three tests, with their failure shapes:

  1. ElevenLabs keeps models visible and exposes scrollable account voices in every assignment mode (e2e/core-flows.e2e.ts:9407) — expect(locator).toBeFocused() gets inactive (10s timeout). Failed in two of the three runs. This is a different test from the ElevenLabs picker focus-restore flake fixed in #5635 (TTSConfigCard.closePanel rAF restore), but the same subsystem and the same symptom family: a focus assertion racing a portal/panel transition. Likely wants the same treatment — either an rAF-deferred focus restore at whichever close/switch path this test exercises, or a retried gesture+assert unit.

  2. Sticky header stays in its gutter without shifting chat (artifact desktop--2996c-utter-without-shifting-chat) — expect(received).toBeLessThanOrEqual(1) gets ~5.47px. Already noted as a wave-3 candidate in the #5635 PR comments; this is a fresh occurrence (run 33260783195, shard 2/3). The Echo Chamber fix in #5635 loosened a similar CSS-rounding tolerance from 1→2px, but 5.47px is beyond rounding — this one probably needs a settle-wait (assert after layout stabilizes) rather than a bigger tolerance.

  3. home browser hub scales cleanly and opens FAQ as a bookmark window (e2e/core-flows.e2e.ts:16883) — expect(received).toBeLessThanOrEqual(2) gets ~76.8px. New to the ledger. A ~77px miss on a scaling assertion looks like the assertion running mid-scale-animation or before a resize settles, not a tolerance problem.

Try it yourself

Each reproduces occasionally under repetition (CI runners hit it more often):

pnpm exec playwright test -c playwright.config.ts --project=desktop-chromium -g "ElevenLabs keeps models visible" --retries=0 --repeat-each=10
pnpm exec playwright test -c playwright.config.ts --project=desktop-chromium -g "home browser hub scales cleanly" --retries=0 --repeat-each=10

Evidence

  • Run 33259494616 (PR #5640, commit 283904dc7): shard 2/3 — ElevenLabs assignment-mode.
  • Run 33260263307 (commit 5491f529a): all green, same suite content.
  • Run 33260783195 (commit b6e6f016e — a no-op for these surfaces): shard 2/3 — ElevenLabs assignment-mode + sticky-header; shard 3/3 — home browser hub.

Follows the wave-2 ledger #5633 (fixed in #5635). Same policy applies: these should be fixed with targeted determinism (settle-waits, retried gesture+assert units, focus-restore deferral), not blanket retries or tolerance inflation.

Originally created by @kolacheee on GitHub (Aug 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5642 Originally assigned to: @kolacheee on GitHub. **What happens** Three desktop-chromium tests are failing intermittently in CI on unrelated PRs. PR #5640 (which touches only the shared number-input component, a game sheet button, and one e2e test) ran the matrix three times on near-identical content: run 33259494616 failed, run 33260263307 passed clean, run 33260783195 failed again with a different mix — the same suite content flipping between pass and fail is the flake signature, not a product regression. The three tests, with their failure shapes: 1. **`ElevenLabs keeps models visible and exposes scrollable account voices in every assignment mode`** (`e2e/core-flows.e2e.ts:9407`) — `expect(locator).toBeFocused()` gets `inactive` (10s timeout). Failed in two of the three runs. This is a *different* test from the ElevenLabs picker focus-restore flake fixed in #5635 (`TTSConfigCard.closePanel` rAF restore), but the same subsystem and the same symptom family: a focus assertion racing a portal/panel transition. Likely wants the same treatment — either an rAF-deferred focus restore at whichever close/switch path this test exercises, or a retried gesture+assert unit. 2. **Sticky header stays in its gutter without shifting chat** (artifact `desktop--2996c-utter-without-shifting-chat`) — `expect(received).toBeLessThanOrEqual(1)` gets ~5.47px. Already noted as a wave-3 candidate in the #5635 PR comments; this is a fresh occurrence (run 33260783195, shard 2/3). The Echo Chamber fix in #5635 loosened a similar CSS-rounding tolerance from 1→2px, but 5.47px is beyond rounding — this one probably needs a settle-wait (assert after layout stabilizes) rather than a bigger tolerance. 3. **`home browser hub scales cleanly and opens FAQ as a bookmark window`** (`e2e/core-flows.e2e.ts:16883`) — `expect(received).toBeLessThanOrEqual(2)` gets ~76.8px. New to the ledger. A ~77px miss on a scaling assertion looks like the assertion running mid-scale-animation or before a resize settles, not a tolerance problem. **Try it yourself** Each reproduces occasionally under repetition (CI runners hit it more often): ```bash pnpm exec playwright test -c playwright.config.ts --project=desktop-chromium -g "ElevenLabs keeps models visible" --retries=0 --repeat-each=10 ``` ```bash pnpm exec playwright test -c playwright.config.ts --project=desktop-chromium -g "home browser hub scales cleanly" --retries=0 --repeat-each=10 ``` **Evidence** - Run 33259494616 (PR #5640, commit 283904dc7): shard 2/3 — ElevenLabs assignment-mode. - Run 33260263307 (commit 5491f529a): all green, same suite content. - Run 33260783195 (commit b6e6f016e — a no-op for these surfaces): shard 2/3 — ElevenLabs assignment-mode + sticky-header; shard 3/3 — home browser hub. Follows the wave-2 ledger #5633 (fixed in #5635). Same policy applies: these should be fixed with targeted determinism (settle-waits, retried gesture+assert units, focus-restore deferral), not blanket retries or tolerance inflation.
bsakaguchi 2026-10-21 05:59:49 +07:00
Author
Owner

@kolacheee commented on GitHub (Aug 29, 2026):

Taking this one (kolacheee + Claude agent) on branch fix/5642-wave3-flakes; draft PR to follow with the first commit.

<!-- gh-comment-id:5463474910 --> @kolacheee commented on GitHub (Aug 29, 2026): Taking this one (kolacheee + Claude agent) on branch fix/5642-wave3-flakes; draft PR to follow with the first commit.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3124
No description provided.