mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6141] [Issue]: WebKit page closes during the native-dice stacked-history regression #3416
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#3416
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 @SpicyMarinara on GitHub (Sep 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6141
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The long native-dice browser regression reaches Playwright's 60-second per-test deadline on mobile WebKit after its product assertions have passed. This makes the release regression matrix unreliable.
Expected behavior
The full scenario has enough overall time to exercise live dice, persisted history, translation, continuation, and regeneration while retaining the existing 10-second action/assertion limits.
Actual behavior
On PR #6137 head
258d2b624, mobile WebKit's light-theme scenario timed out twice at different points: first while capturing the verified Session Logs, then later before reading messages for the continuation check. The same-head dark-theme control passed in 50.4 seconds. No incorrect dice result was reported.Steps to reproduce
258d2b624.mobile-webkit 4/4shard containingGame queues every native roll and skill check and retains their history (light).Environment
258d2b624(merged to staging in #6137).Logs, screenshots, or video
e2e/game-native-dice.e2e.ts:252during screenshot capture.Additional context
Proposed scope: give only this long native-dice scenario a 120-second total budget. Keep existing action/assertion timeouts and product code unchanged. Owner: SpicyMarinara, with Codex implementing this focused follow-up.
Template check
@SpicyMarinara commented on GitHub (Sep 13, 2026):
Implementation owner: Codex working for @SpicyMarinara. Draft PR #6142 tracks the scoped native-dice test budget change and its validation.
@SpicyMarinara commented on GitHub (Sep 13, 2026):
Fixed on staging by #6142, squash commit
5fa59f0301. Only the long native-dice browser scenario receives a 120-second total deadline; action/assertion limits stay at 10 seconds. Local pnpm check and both mobile-WebKit theme scenarios passed, as did all required CI checks and the completed CodeRabbit review. The broader optional matrix continues separately.@SpicyMarinara commented on GitHub (Sep 13, 2026):
Reopening after additional optional-matrix evidence on PR #6142 head
769c064a4693a8f080eb880b0b9696b10e90c8e6. The native-dice dark case in mobile WebKit 3/4 failed despite the larger total deadline.The retained trace places the UI-store evaluation at about 40 seconds, an unexpected page-closed event at about 62 seconds, and cleanup reaching the 120-second deadline. The UI store module had already returned HTTP 200 in 29.8 ms during the preceding reload. This does not establish an import-performance defect or justify another timeout increase. Earlier product assertions passed; the page-closure cause is still under investigation.
The timeout adjustment remains on staging and its local dark/light WebKit proof passed. It does not establish that this separate CI failure is resolved. Retained CI evidence: https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/34754499713.
@SpicyMarinara commented on GitHub (Sep 13, 2026):
The affected WebKit 4/4 lane passed: native-dice light completed in 51.1 seconds, with 89 passed / 2 skipped across the shard.
The dark case on WebKit 3/4 remains unexplained: store evaluation starts at +40.044s after the new-scene narration assertion passes; the browser reports
pageClosedat +62.271s before test cleanup; cleanup reaches the total deadline at +120s. The module had already loaded successfully. There is no explicit crash, JavaScript exception, network-process exit, or worker-shutdown marker establishing the closure cause. No resolved evaluation or post-call screenshot establishes whether the stacked-mode setter executed.Retained failure artifact. Exact observed CI command:
The isolated native-dice dark/light scenarios passed locally. No retry, further timeout increase, assertion removal, or speculative product change was made. The next useful proof is reproduction with explicit page-close/crash diagnostics on this shard. Keep this issue open for that separate closure; the original light-case deadline adjustment is validated.