mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6269] [Issue]: Mobile WebKit intermittently stalls closing Chat Settings in dice-turn regression #3498
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#3498
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 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6269
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Mobile WebKit intermittently stalls on Playwright's actionability check for the visible Close Chat Settings button in
e2e/game-one-request-dice.e2e.ts. This failed one browser shard for #6266; the separatemobile-webkitfailure is its aggregate verdict, not a second failing test.Evidence supports a pre-existing test/browser timing flake rather than a hybrid-terrain regression. The underlying cause of the actionability stall is not yet established.
Expected behavior
After disabling one-request dice, the settings drawer closes and the test finishes checking the ordinary two-request turn. The existing close-button interaction should become actionable within its timeout.
Actual behavior
At test line 325,
closeTools()calls the button click at line 165. Playwright finds the expected button, then remains at “waiting for element to be visible, enabled and stable” until the 10-second action timeout. The complete test eventually exceeds its 120-second timeout.The same close interaction succeeded three earlier times in this exact test (approximately 231 ms, 441 ms, and 285 ms). The final attempt lasted 10,004.6 ms. The retained trace shows the drawer and close button rendered; no page crash, JavaScript exception, or product error explains the stall. Subsequent dice and terrain-restore cases passed in the same job.
Steps to reproduce
mobile-webkit, shard3/4, preserving the preceding test load. The observed run used commit616c5f451c17b3222dc9f1a0547225d883f014b1.Game finishes a rolled turn in one request, and leaves the shipped two-request turn alone, exercise the repeated settings-drawer opens/closes and toggle one-request dice off near lines 317–325.Close Chat Settingsclick stalls after resolving the button. This is intermittent; these steps are an investigation route, not a deterministic reproduction recipe.Environment
616c5f451c17b3222dc9f1a0547225d883f014b1Logs, screenshots, or video
b659229c2e9c7c30d6e3d0e0921f583297dca96e84c1400e98372049b225397fda46a48c4430231cAdditional context
The dice test and settings drawer are unchanged between the green terrain head and the failing head;
GameSurface.tsxchanges in that interval are comments only. The dice scenario has no active combat snapshot or combat tag, so it bypasses the new terrain restore, generation, persistence, and tactical UI paths. An earlier green feature run included the same five preceding terrain cases.Related WebKit instability: #6141, but this failure did not close or crash the page and should not be assumed to share that cause. No duplicate matching this actionability stall was found during triage.
Next useful diagnostics if it repeats: replay the complete one-worker WebKit shard, record close-button geometry across animation frames, and capture page crash/close events. Do not hide the issue with forced clicks, arbitrary sleeps, or broad timeout increases without establishing why actionability never settled.
This issue records a supported flake classification and the remaining root-cause uncertainty; it does not change merge gates. Reported by @kolacheee with Astra/Sol triage while resolving #6266.
Template check
@kolacheee commented on GitHub (Sep 17, 2026):
The next run on
025442b1722b090b4640e0f078d1e08a4435f965failed the same dice-turn test at a different actionability wait:narration.screenshot()at line 289 timed out while scrolling the element into view and waiting for it to be stable. The dice-marker value/title assertions immediately before the screenshot passed. This run did not reach the later Close Chat Settings failure documented above.Latest failure log
The changing failure point provides further evidence of WebKit/test stability problems, but does not establish that both stalls share one underlying cause. No hybrid-terrain assertion failed. CodeRabbit completed without actionable findings on this head, all review threads are resolved, and the other current-head checks passed (excluding a superseded canceled triage run). The aggregate mobile-webkit check reports this single shard failure.
@SpicyMarinara commented on GitHub (Sep 17, 2026):
Owner: @SpicyMarinara. Codex is addressing this in draft PR #6282 as part of the requested issue sweep. Focused implementation and regression/browser verification are in progress.
@SpicyMarinara commented on GitHub (Sep 17, 2026):
Sweep investigation in #6282: the dice file passed three serial repetitions, and the full CI-shaped local WebKit shard (
--fully-parallel --workers=1 --shard=3/4) passed with 72 tests and 32 existing skips. The shorter file-group shard passed too, but is not equivalent to the CI workload.GitHub reproduced a different stall on the initial prompt-only sweep commit: run 35197115978, job 105122909654 timed out on page.reload() at line 280, after navigation committed but before the load event. The current local runs are macOS WebKit; they do not establish a Linux WebKit root cause. No forced clicks, arbitrary sleeps, timeout increases or new quarantines were added. This issue remains open pending a reproducible cause; the current PR still has to pass its browser gates.
@SpicyMarinara commented on GitHub (Sep 17, 2026):
The current sweep head
6a6d7cb82723682741ba37c52dedab869d902edbreproduced another browser stall in run 35204455084, WebKit shard 3. This time the drawer closed successfully; the subsequent Game actions click at line 172 stalled after Playwright reported the button visible, enabled and stable and reached “performing click action.” It failed on the second settings visit (line 226), before the later reload and screenshot assertions.The retained trace/video artifact shows the drawer close completing in 431 ms, followed by a 10-second click timeout and stalled page cleanup until the 120-second test deadline. The trace records no page-error or crash event before the stall. The same job passed the other 72 cases, with 32 existing skips. All other browser shards and the native/container checks passed on this head.
I am retaining this failure evidence and rerunning the failed shard through the normal gate. No assertions, clicks, browser timeouts or skips have been weakened. This expands the observed failure signature beyond the original stability wait; it still does not establish a product or browser root cause. The Playwright/WebKit update is separately being validated in #6286, without claiming it fixes this issue.
@SpicyMarinara commented on GitHub (Sep 17, 2026):
The unchanged-head rerun passed all 73 active cases in WebKit shard 3 (32 existing skips), and #6282 is now merged to staging after every gate passed. The original failure evidence remains attached above. This intermittent issue stays open because a green rerun does not establish its root cause.