[GH-ISSUE #6628] [Issue]: Roleplay whisper e2e fails on mobile-webkit (visual-novel) with access-control console errors #3713

Closed
opened 2026-10-21 06:06:26 +07:00 by bsakaguchi · 0 comments
Owner

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 final expect(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, errors holds 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-context and notification-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

  1. On current staging (for example dd876831a), run the Playwright spec e2e/roleplay-commands.e2e.ts under the mobile-webkit project.
  2. Watch the visual-novel variant of the whisper test.
  3. It fails at line 541, expect(errors).toEqual([]).

Environment

  • Marinara Engine version: staging dd876831a (2.4.6 line)
  • Install type: CI (Release Regression Matrix)
  • OS + version: GitHub-hosted Ubuntu runner
  • Browser or app shell: Playwright mobile-webkit

Logs, screenshots, or video

  • Staging, Release Regression Matrix run 36022229786, job "mobile-webkit 9/10" (107710231282): same spec, same error list.
  • PR 6623, run 36025723463, job 107722316075 (first run) and job 107729862754 (re-run): same failure both times.

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:

  • I DID NOT read this template and provide the requested details.
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 final `expect(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, `errors` holds 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-context` and `notification-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 1. On current `staging` (for example dd876831a), run the Playwright spec `e2e/roleplay-commands.e2e.ts` under the `mobile-webkit` project. 2. Watch the visual-novel variant of the whisper test. 3. It fails at line 541, `expect(errors).toEqual([])`. ## Environment - Marinara Engine version: staging dd876831a (2.4.6 line) - Install type: CI (Release Regression Matrix) - OS + version: GitHub-hosted Ubuntu runner - Browser or app shell: Playwright mobile-webkit ## Logs, screenshots, or video - Staging, Release Regression Matrix run 36022229786, job "mobile-webkit 9/10" (107710231282): same spec, same error list. - PR 6623, run 36025723463, job 107722316075 (first run) and job 107729862754 (re-run): same failure both times. ## 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: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:06:26 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3713
No description provided.