mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5589] [Issue]: Release Regression Matrix has been red on every staging push since at least 2026-08-25 #3093
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3093
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 onstagingin 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
staginghead, 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:e390e3619and PR branches alike, across reruns):e2e/core-flows.e2e.ts:14754— "Professor Mari shows the latest context budget when token usage is enabled" fails withexpect(locator).toContainText→ element(s) not found.core-flows.e2e.ts:1765"Conversation message actions follow their messages" (toHaveCSS on the hover-gatedmari-message-actionscontainer),:3299avatar-action balance,:7172chat Help overlay labels,:13756Illustrator subsections,:13966World Maps placement,:16580Character of the Day centering,:18209mobile composer history focus.Steps to reproduce
staging.core-flows.e2e.ts:14754fails again in all three browser projects, while other cases rotate.Environment
e390e3619(post-v2.4.4)Logs, screenshots, or video
Example runs:
e390e3619: https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/33129778519 (all three lanes fail;14754among the failures)c47dedc8a(2026-08-25): https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/32860623242 (desktop-chromium fails3299,7172,13756,13966)14754case in all three lanes on rerun: https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/3316211969614754failure shape:Error: expect(locator).toContainText(expected) failed — element(s) not foundon 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
14754context-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 the14754investigation 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:
@Romuromylus commented on GitHub (Aug 28, 2026):
The consistently failing half of this is fixed: PR #5590 (merged to
stagingas7ff304c) updated thecore-flows.e2e.ts:14754Professor Mari context-budget case for the indicator relocation from #5577 / PR #5579 (newContextBudgetdata-component,showContextUsagegate, indicator now inside the connection menu popover). On the PR run the case passed in all three lanes, anddesktop-chromium+mobile-chromiumwent 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 failed16581(Character of the Day centering, both runs),16647(browser hub / FAQ bookmark),17883(composer above software keyboard),18210(composer history focus), and11134(card downloads, first run only — passed on rerun). Keeping this issue open to track that triage.@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:
:13511Secret Plot interval,:17222Home lifecycle heap:9340ElevenLabs voices:18210composers history:16217Home bookmarks menu,:18210:16581CotD centering,:16647browser hub,:17883composer viewport:8586Game widget Chroma,:16581,:16647Same 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)receiving320), 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 sharedmarinara:chat-visual-viewport-changehandling might collapse most of the table.(Context for the two newest members:
:13511/:17222first 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.)@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: 320signature is root-caused, and it isn't the viewport handler responding late — it's the tests racing an intentional delayed re-sample.AppShellre-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 dispatchkeyboardOpen: false, which resets the scroll anchor and cancels the restore that the test's synthetickeyboardOpen: trueevent 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:17883sibling already carried a 350ms "let the delayed focus viewport samples settle" wait for exactly this; #5595 gives:18210the 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/:17883had 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 iOSoffsetTop = 0branch). 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 anactivateControlhelper 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 (
:13511blur-commit,:17222heap 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.@Romuromylus commented on GitHub (Aug 29, 2026):
Both halves of this are now in staging:
:14754context-budget failure across all three lanes was fixed by #5590 (merged as7ff304c).ec38ff7d5c— per-case fixes for the reproducible ones, theactivateControlbypass 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 (
:13511blur-commit,:17222heap,:9340,:16217,:1780,:8586) resurface on staging pushes, they're worth a fresh scoped issue rather than reopening this umbrella.