[PR #6644] [MERGED] fix: remove duplicate reload from whisper browser regression #7269

Closed
opened 2026-10-23 04:18:07 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6644
Author: @kolacheee
Created: 9/24/2026
Status: ✅ Merged
Merged: 9/24/2026
Merged by: @kolacheee

Base: staging ← Head: codex/6628-webkit-whisper


📝 Commits (3)

  • 8ccdb82 chore: start WebKit whisper regression fix for #6628
  • 6408f8f fix: prepare whisper fixtures before reloading WebKit
  • 7a72497 Merge staging and preserve whisper reload fixes

📊 Changes

2 files changed (+5 additions, -1 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 e2e/roleplay-commands.e2e.ts (+3 -1)

📄 Description

Linked issue

Closes #6628

Why this change

The visual-novel whisper fixture reloads inside its generation helper, patches the new message's whisper offset, and immediately reloads again. This redundant intermediate navigation caused the original WebKit startup-request failures in #6628. The fixture only needs to load after its setup is complete.

What changed

Keep generation limited to preparing the message and reload explicitly before each UI inspection. The visual-novel offset fixture now finishes its metadata patch before its single reload. The resolved merge retains staging's in-page settings stub and startup-request wait, and all explicit reloads use that existing helper. Whisper privacy, reveal/hide, reload concealment, paragraph navigation, and the strict page-error assertion remain covered by the existing regression.

Validation

  • Reproduced the original access-control failure twice in local mobile WebKit on the original base, 9719a72dd.
  • Original fix: 10/10 mobile WebKit cases passed (both presentations, five repetitions).
  • Original fix: 4/4 desktop/mobile Chromium cases passed (both presentations).
  • After resolving conflicts against f8bbd286a: all 6 whisper cases passed across desktop Chromium, mobile Chromium, and mobile WebKit. pnpm check passed on the resolved merge, including localization, formatting, lint/types, E2E types, and the production build.
  • Explicit Prettier check for e2e/roleplay-commands.e2e.ts and git diff --check passed.
  • Before the staging merge, Podman image build and startup passed; /api/health returned status: ok and / served the app with HTTP 200 over container loopback. The disposable container was stopped and removed.
  • Fresh local CodeRabbit review after conflict resolution completed with zero findings across both changed files (CHANGELOG.md and e2e/roleplay-commands.e2e.ts).

The previous hosted run had an unrelated Advanced Memory wizard failure: its minimum-messages input was not found. That test and its implementation are outside this two-file change; the updated branch will receive fresh CI.

Local WebKit used the existing compatible browser runtime with ICU/JPEG libraries. Its host dependency validation was skipped because this Fedora host lacks the optional media-codec package; no browser error or whisper assertion was skipped.

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

The checks above are automated browser runs with synthetic data. Manually verify whisper reveal/hide, concealment after reload, recipient privacy, and paragraph navigation in classic and visual-novel presentations.

Docs and release impact

Includes an Unreleased contributor-facing changelog entry. No application code, user-facing copy, data format, or version changes.

Summary by CodeRabbit

  • Bug Fixes
    • Improved reliability of Roleplay browser checks by ensuring Visual Novel fixtures are ready before reloading, preventing false WebKit access-control failures during contributor checks. Whisper checks now reload after generating the main whisper and standalone secret message, rather than after every generation, so fixture preparation completes before navigation.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/6644 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 9/24/2026 **Status:** ✅ Merged **Merged:** 9/24/2026 **Merged by:** [@kolacheee](https://github.com/kolacheee) **Base:** `staging` ← **Head:** `codex/6628-webkit-whisper` --- ### 📝 Commits (3) - [`8ccdb82`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8ccdb82fc94d37a9f6bc43e1ca1826cbbb5b7d77) chore: start WebKit whisper regression fix for #6628 - [`6408f8f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6408f8fb1436e7358a128b0864909a33c400b467) fix: prepare whisper fixtures before reloading WebKit - [`7a72497`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7a72497f57d91549c87ae0cdb2ee6c2b64b1d206) Merge staging and preserve whisper reload fixes ### 📊 Changes **2 files changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `e2e/roleplay-commands.e2e.ts` (+3 -1) </details> ### 📄 Description ## Linked issue Closes #6628 ## Why this change The visual-novel whisper fixture reloads inside its generation helper, patches the new message's whisper offset, and immediately reloads again. This redundant intermediate navigation caused the original WebKit startup-request failures in #6628. The fixture only needs to load after its setup is complete. ## What changed Keep generation limited to preparing the message and reload explicitly before each UI inspection. The visual-novel offset fixture now finishes its metadata patch before its single reload. The resolved merge retains staging's in-page settings stub and startup-request wait, and all explicit reloads use that existing helper. Whisper privacy, reveal/hide, reload concealment, paragraph navigation, and the strict page-error assertion remain covered by the existing regression. ## Validation - Reproduced the original access-control failure twice in local mobile WebKit on the original base, `9719a72dd`. - Original fix: 10/10 mobile WebKit cases passed (both presentations, five repetitions). - Original fix: 4/4 desktop/mobile Chromium cases passed (both presentations). - After resolving conflicts against `f8bbd286a`: all 6 whisper cases passed across desktop Chromium, mobile Chromium, and mobile WebKit. `pnpm check` passed on the resolved merge, including localization, formatting, lint/types, E2E types, and the production build. - Explicit Prettier check for `e2e/roleplay-commands.e2e.ts` and `git diff --check` passed. - Before the staging merge, Podman image build and startup passed; `/api/health` returned `status: ok` and `/` served the app with HTTP 200 over container loopback. The disposable container was stopped and removed. - Fresh local CodeRabbit review after conflict resolution completed with zero findings across both changed files (`CHANGELOG.md` and `e2e/roleplay-commands.e2e.ts`). The previous hosted run had an unrelated [Advanced Memory wizard failure](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/36070998880/job/107871735510): its minimum-messages input was not found. That test and its implementation are outside this two-file change; the updated branch will receive fresh CI. Local WebKit used the existing compatible browser runtime with ICU/JPEG libraries. Its host dependency validation was skipped because this Fedora host lacks the optional media-codec package; no browser error or whisper assertion was skipped. - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes The checks above are automated browser runs with synthetic data. Manually verify whisper reveal/hide, concealment after reload, recipient privacy, and paragraph navigation in classic and visual-novel presentations. ## Docs and release impact Includes an Unreleased contributor-facing changelog entry. No application code, user-facing copy, data format, or version changes. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved reliability of Roleplay browser checks by ensuring Visual Novel fixtures are ready before reloading, preventing false WebKit access-control failures during contributor checks. Whisper checks now reload after generating the main whisper and standalone secret message, rather than after every generation, so fixture preparation completes before navigation. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:18:07 +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#7269
No description provided.