mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6628] [Issue]: Roleplay whisper e2e fails on mobile-webkit (visual-novel) with access-control console errors #3713
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#3713
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 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6628
Originally assigned to: @kolacheee on GitHub.
Summary
The e2e spec
e2e/roleplay-commands.e2e.ts:374("Roleplay whispers reveal only on screen and preserve recipient privacy (visual-novel)") fails on mobile-webkit. Its finalexpect(errors).toEqual([])(line 541) collects about 30 WebKit console errors of the form "… due to access control checks", for app endpoints the page was still fetching.It fails on staging itself, starting with the whisper merge (https://github.com/Pasta-Devs/Marinara-Engine/pull/6617), and it failed twice in a row on https://github.com/Pasta-Devs/Marinara-Engine/pull/6623, which does not touch roleplay.
Expected behavior
The spec passes on mobile-webkit, as it does on the other projects and in its other presentation.
Actual behavior
On mobile-webkit, visual-novel variant only,
errorsholds WebKit's "Fetch API cannot load … due to access control checks" messages. The endpoints include/api/health,/api/csrf/origin-status,/api/app-settings/ui,/api/sidecar/status,/api/fonts, themes,/api/capability-packages/updates/pending,/api/connections/refresh-local-contextandnotification-sound. WebKit reports a fetch that is cut off mid-flight this way, usually when the page changes or the connection is torn down underneath it. So either the spec's console-error collector needs to ignore aborted fetches on WebKit, or something in this flow cuts off in-flight requests.Steps to reproduce
staging(for exampledd876831a), run the Playwright spece2e/roleplay-commands.e2e.tsunder themobile-webkitproject.expect(errors).toEqual([]).Environment
dd876831a(2.4.6 line)Logs, screenshots, or video
Additional context
Reported from another PR's CI rather than worked on there. That PR's own ruleset combat e2e specs pass in the same shards.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: