mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6304] [Issue]: Mobile WebKit intermittently stalls reloading wizard defaults with canceled module imports #3518
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#3518
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/6304
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Suspected intermittent mobile WebKit reload race in
e2e/issue-sweep-defaults.e2e.ts:164: “roleplay wizard defaults save, survive reload, and reset without profiles (dark)”. Reloading immediately after closing setup cancels pending Chat Settings module imports, leaves the old page showing the app recovery boundary, and times out. This produces both a failed shard and a failed aggregate check.Expected behavior
The reload completes and the test verifies saved defaults and reset behavior without an import-error recovery screen.
Actual behavior
On PR #6302 at
0de3b240c4260d4d7ac3b24df995823f938628c2, the initial save completes, butpage.reload()at line 256 hangs for the remaining approximately 43.5 seconds of the 60-second test budget. The trace shows pending/src/features/chat-settings/...and related module requests canceled at reload, followed byTypeError: Importing a module script failedin the lazy component underChatCommonOverlays. The subsequent cleanup request fails because the request context is already closed; that cleanup error masks the primary navigation timeout in the job summary.104 tests passed, one failed, and two were skipped in this shard. This test passed on the previous PR run (23.5 seconds), on current staging (29.1 seconds), and its light-theme counterpart passed in the failing run (28.7 seconds). The test,
ChatSetupWizard,ChatCommonOverlays, andChatSettingsDrawerare unchanged by this PR. This supports a reload/import timing flake; a same-commit rerun has been requested, but its outcome is not yet known. No claim is made that real-device or production behavior has been reproduced.Steps to reproduce
pnpm exec playwright test --project=mobile-webkit --shard=4/4 --workers=1under the usual CI environment. The failure is intermittent; a deterministic reproducer is not established.pnpm exec playwright test e2e/issue-sweep-defaults.e2e.ts --project=mobile-webkit --grep 'roleplay wizard defaults save.*dark' --repeat-each=10 --workers=1(suggested investigation command, not reported as executed).Environment
0de3b240c4260d4d7ac3b24df995823f938628c2.mobile-webkit, iPhone 15 Pro emulation.Logs, screenshots, or video
playwright-mobile-webkit-shard-4-failure, ID10523441567; retained for seven days.Trace sequence: settings child-module requests start around monotonic time 466205–466214 ms; reload starts around 466224 ms; those requests report
Load request cancelled; the recovery boundary logs the import failure around 466333 ms; reload expires at the overall test timeout.Additional context
This differs from #6303 (component fixtures relying on retained resource timings) and the closed #6269 (closing Chat Settings in a dice-turn test). Investigate the wizard-to-settings handoff and navigation timing before choosing between a fixture synchronization fix and a runtime fix. Preserve the save/reload/reset assertions; increasing the timeout alone would not address the import failure. Preserve the original failure when cleanup runs after test teardown.
Reported by @kolacheee / Codex during PR #6302 CI triage. No separate implementation has started. Failed checks were rerun without changing the commit.
Template check
@SpicyMarinara commented on GitHub (Sep 18, 2026):
Implementation owner: Codex working for @SpicyMarinara in the September 18 issue sweep. No open or draft PR is linked to this issue. I am tracing the existing implementation and will link the draft PR here; fixes will reuse the existing paths and include focused regression evidence.
@SpicyMarinara commented on GitHub (Sep 18, 2026):
Implemented and merged into staging in #6310 (
be8ac7334d). All 41 checks passed on the final reviewed commit. Available on staging; this does not claim a stable release.