[GH-ISSUE #5589] [Issue]: Release Regression Matrix has been red on every staging push since at least 2026-08-25 #3093

Closed
opened 2026-10-21 05:59:32 +07:00 by bsakaguchi · 4 comments
Owner

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

Originally assigned to: @Romuromylus on GitHub.

Summary

The Release Regression Matrix workflow (the Playwright smoke lanes: desktop-chromium, mobile-chromium, mobile-webkit) has not had a single green run on staging in all of the retained run history — 14 failures and 6 cancellations since 2026-08-25, zero successes. Every PR inherits the red matrix, which trains us to merge over failing checks and buries any real e2e regression a PR introduces.

Expected behavior

The smoke lanes pass on the staging head, so a red lane on a PR is meaningful signal.

Actual behavior

Every staging push since at least c47dedc8a (2026-08-25T13:48Z) fails the matrix. The failing test set rotates between runs, which points at a mix of at least one hard breakage plus flaky cases:

  • Consistently failing right now (all three browser lanes, staging head e390e3619 and PR branches alike, across reruns): e2e/core-flows.e2e.ts:14754 — "Professor Mari shows the latest context budget when token usage is enabled" fails with expect(locator).toContainText → element(s) not found.
  • Rotating/flaky examples from other runs: core-flows.e2e.ts:1765 "Conversation message actions follow their messages" (toHaveCSS on the hover-gated mari-message-actions container), :3299 avatar-action balance, :7172 chat Help overlay labels, :13756 Illustrator subsections, :13966 World Maps placement, :16580 Character of the Day centering, :18209 mobile composer history focus.

Steps to reproduce

  1. Open the Actions history for the Release Regression Matrix workflow filtered to staging.
  2. Observe 0 green runs in the retained history (2026-08-25 onward).
  3. Re-run the failed lanes on any recent run: core-flows.e2e.ts:14754 fails again in all three browser projects, while other cases rotate.

Environment

  • Marinara Engine version: staging e390e3619 (post-v2.4.4)
  • Install type: source (GitHub Actions CI)
  • OS + version: ubuntu-latest runners
  • Browser or app shell: Playwright desktop-chromium / mobile-chromium / mobile-webkit projects

Logs, screenshots, or video

Example runs:

14754 failure shape: Error: expect(locator).toContainText(expected) failed — element(s) not found on the Professor Mari context-budget locator.

Additional context

Noticed while shipping #5587 (issue #5585): its Playwright lanes came back red, and the archaeology showed the red predates the branch. Two work items likely hide in here: (1) fix the consistently failing 14754 context-budget case (plausibly fallout from a recent context-usage/token-display change, e.g. the #5577 connection context-usage work landing window); (2) triage the rotating flaky cases separately, since they mask hard failures. Happy to take the 14754 investigation if nobody else has it claimed.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Romuromylus on GitHub (Aug 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5589 Originally assigned to: @Romuromylus on GitHub. ## Summary The Release Regression Matrix workflow (the Playwright smoke lanes: `desktop-chromium`, `mobile-chromium`, `mobile-webkit`) has not had a single green run on `staging` in all of the retained run history — 14 failures and 6 cancellations since 2026-08-25, zero successes. Every PR inherits the red matrix, which trains us to merge over failing checks and buries any *real* e2e regression a PR introduces. ## Expected behavior The smoke lanes pass on the `staging` head, so a red lane on a PR is meaningful signal. ## Actual behavior Every staging push since at least `c47dedc8a` (2026-08-25T13:48Z) fails the matrix. The failing test set rotates between runs, which points at a mix of at least one hard breakage plus flaky cases: - Consistently failing right now (all three browser lanes, staging head `e390e3619` and PR branches alike, across reruns): `e2e/core-flows.e2e.ts:14754` — "Professor Mari shows the latest context budget when token usage is enabled" fails with `expect(locator).toContainText` → element(s) not found. - Rotating/flaky examples from other runs: `core-flows.e2e.ts:1765` "Conversation message actions follow their messages" (toHaveCSS on the hover-gated `mari-message-actions` container), `:3299` avatar-action balance, `:7172` chat Help overlay labels, `:13756` Illustrator subsections, `:13966` World Maps placement, `:16580` Character of the Day centering, `:18209` mobile composer history focus. ## Steps to reproduce 1. Open the Actions history for the Release Regression Matrix workflow filtered to `staging`. 2. Observe 0 green runs in the retained history (2026-08-25 onward). 3. Re-run the failed lanes on any recent run: `core-flows.e2e.ts:14754` fails again in all three browser projects, while other cases rotate. ## Environment - Marinara Engine version: staging `e390e3619` (post-v2.4.4) - Install type: source (GitHub Actions CI) - OS + version: ubuntu-latest runners - Browser or app shell: Playwright desktop-chromium / mobile-chromium / mobile-webkit projects ## Logs, screenshots, or video Example runs: - staging `e390e3619`: https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/33129778519 (all three lanes fail; `14754` among the failures) - staging `c47dedc8a` (2026-08-25): https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/32860623242 (desktop-chromium fails `3299`, `7172`, `13756`, `13966`) - PR #5587 (launcher-only diff, cannot exercise client code) fails the same `14754` case in all three lanes on rerun: https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/33162119696 `14754` failure shape: `Error: expect(locator).toContainText(expected) failed — element(s) not found` on the Professor Mari context-budget locator. ## Additional context Noticed while shipping #5587 (issue #5585): its Playwright lanes came back red, and the archaeology showed the red predates the branch. Two work items likely hide in here: (1) fix the consistently failing `14754` context-budget case (plausibly fallout from a recent context-usage/token-display change, e.g. the #5577 connection context-usage work landing window); (2) triage the rotating flaky cases separately, since they mask hard failures. Happy to take the `14754` investigation if nobody else has it claimed. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:59:32 +07:00
Author
Owner

@Romuromylus commented on GitHub (Aug 28, 2026):

The consistently failing half of this is fixed: PR #5590 (merged to staging as 7ff304c) updated the core-flows.e2e.ts:14754 Professor Mari context-budget case for the indicator relocation from #5577 / PR #5579 (new ContextBudget data-component, showContextUsage gate, indicator now inside the connection menu popover). On the PR run the case passed in all three lanes, and desktop-chromium + mobile-chromium went fully green for the first time since 2026-08-25.

Still open — the rotating flaky set, now concentrated in mobile-webkit: across two runs of the same head it failed 16581 (Character of the Day centering, both runs), 16647 (browser hub / FAQ bookmark), 17883 (composer above software keyboard), 18210 (composer history focus), and 11134 (card downloads, first run only — passed on rerun). Keeping this issue open to track that triage.

<!-- gh-comment-id:5452596000 --> @Romuromylus commented on GitHub (Aug 28, 2026): The consistently failing half of this is fixed: PR #5590 (merged to `staging` as 7ff304c) updated the `core-flows.e2e.ts:14754` Professor Mari context-budget case for the indicator relocation from #5577 / PR #5579 (new `ContextBudget` data-component, `showContextUsage` gate, indicator now inside the connection menu popover). On the PR run the case passed in all three lanes, and `desktop-chromium` + `mobile-chromium` went fully green for the first time since 2026-08-25. Still open — the rotating flaky set, now concentrated in `mobile-webkit`: across two runs of the same head it failed `16581` (Character of the Day centering, both runs), `16647` (browser hub / FAQ bookmark), `17883` (composer above software keyboard), `18210` (composer history focus), and `11134` (card downloads, first run only — passed on rerun). Keeping this issue open to track that triage.
Author
Owner

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

Evidence from working PR #5596's matrix (two attempts on the same commit) plus ten runs across six branches, Aug 27–28 — it substantially expands the rotating set and adds a controlled A/B this issue didn't have yet.

The rerun experiment

PR #5596 (server-storage-only diff), same commit, two consecutive matrix attempts:

lane attempt 1 attempt 2
desktop-chromium :13511 Secret Plot interval, :17222 Home lifecycle heap :9340 ElevenLabs voices
mobile-chromium :18210 composers history :16217 Home bookmarks menu, :18210
mobile-webkit :16581 CotD centering, :16647 browser hub, :17883 composer viewport :8586 Game widget Chroma, :16581, :16647

Same commit, same environment, materially different failure sets — every first-attempt "new" failure either vanished on retry or is base-confirmed. This is the cleanest demonstration yet that a red lane on a PR carries almost no signal about the PR.

Expanded rotation set (beyond the issue's current list)

Confirmed on ≥2 independent branches each: :8586 (Game widget Chroma/weather), :9340 (ElevenLabs voices), :11134 (card downloads), :13511 (Secret Plot run interval — lost blur-commit: fill "0"→blur, server still reports prior value for 10 s), :16217/:16189-era (Home bookmarks menu), :16647 (browser hub scaling), :17222 (Home lifecycle — client heap 340 KB over its 3 MiB allowance, i.e. a 0.8% overshoot of a tight tolerance), :17883 (composer visual viewport), plus the already-listed :1765, :2967, :16580, :18209/:18210, :14754.

A shared signature worth chasing

Several members fail the same way: a scroll/position assertion off by exactly the simulated keyboard height (toBeLessThanOrEqual(2) receiving 320), or a poll timing out waiting for a committed value. That's consistent with the "one hard breakage + flakes" framing here — but it also suggests a second class: something in the v2.4.4-era viewport/scroll-anchor handling responding late or not at all under CI load, which would make several "flaky" members one deterministic-under-load bug. :14754's fix branch plus a look at the shared marinara:chat-visual-viewport-change handling might collapse most of the table.

(Context for the two newest members: :13511/:17222 first surfaced on #5596 attempt 1 and vanished on attempt 2 — listed here so the next person doesn't re-derive that they're rotation, not that PR's regression.)

<!-- gh-comment-id:5454564118 --> @kolacheee commented on GitHub (Aug 28, 2026): Evidence from working PR #5596's matrix (two attempts on the same commit) plus ten runs across six branches, Aug 27–28 — it substantially expands the rotating set and adds a controlled A/B this issue didn't have yet. ## The rerun experiment PR #5596 (server-storage-only diff), same commit, two consecutive matrix attempts: | lane | attempt 1 | attempt 2 | |---|---|---| | desktop-chromium | `:13511` Secret Plot interval, `:17222` Home lifecycle heap | `:9340` ElevenLabs voices | | mobile-chromium | `:18210` composers history | `:16217` Home bookmarks menu, `:18210` | | mobile-webkit | `:16581` CotD centering, `:16647` browser hub, `:17883` composer viewport | `:8586` Game widget Chroma, `:16581`, `:16647` | Same commit, same environment, materially different failure sets — every first-attempt "new" failure either vanished on retry or is base-confirmed. This is the cleanest demonstration yet that a red lane on a PR carries almost no signal about the PR. ## Expanded rotation set (beyond the issue's current list) Confirmed on ≥2 independent branches each: `:8586` (Game widget Chroma/weather), `:9340` (ElevenLabs voices), `:11134` (card downloads), `:13511` (Secret Plot run interval — lost blur-commit: fill "0"→blur, server still reports prior value for 10 s), `:16217`/`:16189`-era (Home bookmarks menu), `:16647` (browser hub scaling), `:17222` (Home lifecycle — client heap 340 KB over its 3 MiB allowance, i.e. a 0.8% overshoot of a tight tolerance), `:17883` (composer visual viewport), plus the already-listed `:1765`, `:2967`, `:16580`, `:18209/:18210`, `:14754`. ## A shared signature worth chasing Several members fail the same way: a scroll/position assertion off by **exactly the simulated keyboard height** (`toBeLessThanOrEqual(2)` receiving `320`), or a poll timing out waiting for a committed value. That's consistent with the "one hard breakage + flakes" framing here — but it also suggests a second *class*: something in the v2.4.4-era viewport/scroll-anchor handling responding late or not at all under CI load, which would make several "flaky" members one deterministic-under-load bug. `:14754`'s fix branch plus a look at the shared `marinara:chat-visual-viewport-change` handling might collapse most of the table. (Context for the two newest members: `:13511`/`:17222` first surfaced on #5596 attempt 1 and vanished on attempt 2 — listed here so the next person doesn't re-derive that they're rotation, not that PR's regression.)
Author
Owner

@Romuromylus commented on GitHub (Aug 28, 2026):

Great A/B — the two-attempt table is the clearest rotation evidence so far, and your "one deterministic-under-load bug wearing several test names" instinct is right for at least one class. From the #5594 triage (PR #5595, in flight):

The Received: 320 signature is root-caused, and it isn't the viewport handler responding late — it's the tests racing an intentional delayed re-sample. AppShell re-samples real viewport geometry at +80ms and +320ms after composer focus (refreshAfterFocusChange) to catch Android's late keyboard publish. In the harness no real keyboard exists, so those re-samples dispatch keyboardOpen: false, which resets the scroll anchor and cancels the restore that the test's synthetic keyboardOpen: true event just armed. Whether a run passes depends on whether the synthetic event lands before or after the +320ms timer — under CI load the polls between focus and dispatch finish faster relative to the timer, so it reds more often. The :17883 sibling already carried a 350ms "let the delayed focus viewport samples settle" wait for exactly this; #5595 gives :18210 the same guard. That should collapse the :18209/:18210-class rows in your table (both lanes — you caught it on mobile-chromium too, consistent with a timing race rather than an engine difference).

The chronic webkit members are a second, distinct class — and nastier. :16581/:16647/:17883 had ordinary test bugs (popup click-intercept, a leaked fixture character breaking a non-exact heading match, and an assertion that didn't account for the iPhone profile exercising the intentional iOS offsetTop = 0 branch). But underneath those, the widget-manager toggles and the collapsed-composer button intermittently hang Playwright's click actionability wait until timeout, and the trace shows the page's main thread hard-blocking — timers, rAF, and paint all stop for the rest of the test. Reproduced on webkit builds 2311 and 2336, Windows and Linux; a 48-click DOM-event stress run (with polls, a reload, and dialog cycles mixed in) never trips it, and Chromium is immune — so it's an engine-level bug in the pointer-input path, not app code. #5595 adds an activateControl helper that dispatches a DOM click on webkit only (Chromium keeps full pointer fidelity), with every converted site immediately asserting the resulting state. That took the worst reproducer from 0/7 to 5/5 locally.

Still yours to hunt after #5595: the chromium-lane rotators from your table (:13511 blur-commit, :17222 heap allowance, :9340, :16217) are outside #5594's webkit scope and look like genuine third classes — :13511's "server still reports prior value for 10s" smells like a debounced-commit race worth its own case.

<!-- gh-comment-id:5454606432 --> @Romuromylus commented on GitHub (Aug 28, 2026): Great A/B — the two-attempt table is the clearest rotation evidence so far, and your "one deterministic-under-load bug wearing several test names" instinct is right for at least one class. From the #5594 triage (PR #5595, in flight): **The `Received: 320` signature is root-caused**, and it isn't the viewport handler responding late — it's the tests racing an *intentional* delayed re-sample. `AppShell` re-samples real viewport geometry at +80ms and +320ms after composer focus (`refreshAfterFocusChange`) to catch Android's late keyboard publish. In the harness no real keyboard exists, so those re-samples dispatch `keyboardOpen: false`, which resets the scroll anchor and cancels the restore that the test's synthetic `keyboardOpen: true` event just armed. Whether a run passes depends on whether the synthetic event lands before or after the +320ms timer — under CI load the polls between focus and dispatch finish faster relative to the timer, so it reds more often. The `:17883` sibling already carried a 350ms "let the delayed focus viewport samples settle" wait for exactly this; #5595 gives `:18210` the same guard. That should collapse the `:18209/:18210`-class rows in your table (both lanes — you caught it on mobile-chromium too, consistent with a timing race rather than an engine difference). **The chronic webkit members are a second, distinct class — and nastier.** `:16581`/`:16647`/`:17883` had ordinary test bugs (popup click-intercept, a leaked fixture character breaking a non-exact heading match, and an assertion that didn't account for the iPhone profile exercising the intentional iOS `offsetTop = 0` branch). But underneath those, the widget-manager toggles and the collapsed-composer button intermittently hang Playwright's click actionability wait until timeout, and the trace shows the page's main thread hard-blocking — timers, rAF, and paint all stop for the rest of the test. Reproduced on webkit builds 2311 and 2336, Windows and Linux; a 48-click DOM-event stress run (with polls, a reload, and dialog cycles mixed in) never trips it, and Chromium is immune — so it's an engine-level bug in the pointer-input path, not app code. #5595 adds an `activateControl` helper that dispatches a DOM click on webkit only (Chromium keeps full pointer fidelity), with every converted site immediately asserting the resulting state. That took the worst reproducer from 0/7 to 5/5 locally. **Still yours to hunt after #5595:** the chromium-lane rotators from your table (`:13511` blur-commit, `:17222` heap allowance, `:9340`, `:16217`) are outside #5594's webkit scope and look like genuine third classes — `:13511`'s "server still reports prior value for 10s" smells like a debounced-commit race worth its own case.
Author
Owner

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

Both halves of this are now in staging:

  • The deterministic :14754 context-budget failure across all three lanes was fixed by #5590 (merged as 7ff304c).
  • The rotating mobile-webkit flakies were handled in #5594 / #5595, squash-merged as ec38ff7d5c — per-case fixes for the reproducible ones, the activateControl bypass for the WebKit pointer-input freeze, and one narrow webkit-only quarantine (composer history; mobile-chromium keeps the identical contract).

The matrix is green on the merged head's CI. Closing this one; if chromium-lane rotators from the table here (:13511 blur-commit, :17222 heap, :9340, :16217, :1780, :8586) resurface on staging pushes, they're worth a fresh scoped issue rather than reopening this umbrella.

<!-- gh-comment-id:5459103816 --> @Romuromylus commented on GitHub (Aug 29, 2026): Both halves of this are now in staging: - The deterministic `:14754` context-budget failure across all three lanes was fixed by #5590 (merged as 7ff304c). - The rotating mobile-webkit flakies were handled in #5594 / #5595, squash-merged as ec38ff7d5c4f9e59af5670d097e68303e04badd3 — per-case fixes for the reproducible ones, the `activateControl` bypass for the WebKit pointer-input freeze, and one narrow webkit-only quarantine (composer history; mobile-chromium keeps the identical contract). The matrix is green on the merged head's CI. Closing this one; if chromium-lane rotators from the table here (`:13511` blur-commit, `:17222` heap, `:9340`, `:16217`, `:1780`, `:8586`) resurface on staging pushes, they're worth a fresh scoped issue rather than reopening this umbrella.
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#3093
No description provided.