mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6421] [Issue]: inventory-tracker-details e2e hangs on a per-item detail control, failing desktop-chromium shard 4 intermittently #3591
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#3591
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 @kolacheee on GitHub (Sep 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6421
Originally assigned to: @kolacheee on GitHub.
e2e/inventory-tracker-details.e2e.ts:8("Inventory descriptions and locations persist with item locks") fails intermittently ondesktop-chromiumshard 4/4, in both its light and its dark variant, by hanging on an inventory detail button rather than by asserting anything false.What the traces show
Two runs of the same job on the same commit (
9ee0b7e99, PR #6416), re-run once under the flake rule:expect(locator).toHaveAttributefailed after 10s ongetByRole('button', { name: /^Unlock.*Location for Painkillers/ })with "element(s) not found".trace.zipfor abeforewith no matchingaftergives exactly one unfinished call:clickoninternal:role=button[name="Description for Brass key"s]. The teardown then reportsapiRequestContext.delete: Target page, context or browser has been closed.So it is the same spec stuck on a per-item detail control, and which variant loses is not stable between runs.
Why this is not the PR it appeared on
mode: "roleplay", line 13). Everything PR #6416 changes ingenerate.routes.tssits insidechatMode === "game"branches or is a closure only those branches call, and the branch touches no storage, no db layer, no client panels and no hooks.stagingmerge, fails only shard 3.Why it is worth a look anyway
stagingitself is currently red only on shard 3 (thedrag-list-scrollspec of #6399), so this one does not reproduce on every run — but it has now failed twice in a row on one commit, which is more than the usual single flake. The spec does a long sequence of per-item UI interactions inside one 60s budget, so the likeliest reading is that it is close enough to its limit that machine variance tips it over, and the failing control differs run to run.Worth either raising the budget for this spec, splitting it, or making the detail controls awaited explicitly rather than clicked straight after a re-render.
Evidence
playwright-desktop-chromium-shard-4-failure(both the original and the re-run upload are on that run).@SpicyMarinara commented on GitHub (Sep 20, 2026):
Codex for @SpicyMarinara is investigating this in the ongoing issue sweep. I will check the reported control transitions and reproduce the browser failure before choosing a fixture or product fix.
@kolacheee commented on GitHub (Sep 20, 2026):
Datapoint: on the next run of the same branch (head
fd58b1039, run https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/35506225894),desktop-chromium 4/4PASSED, with only shard 3 failing (#6399).So the sequence on this branch is fail, fail-on-re-run, then pass, across three runs of the same spec, losing a different variant each time it failed. That is consistent with the reading above — a spec close enough to its 60s budget that machine variance decides it — rather than a deterministic break, and it means the failure is intermittent rather than persistent.
@SpicyMarinara commented on GitHub (Sep 20, 2026):
Resolved by #6420, merged into staging at
49faeabfe4. Required checks and CodeRabbit passed before merge.