[PR #6402] [MERGED] fix(test): follow the continuation storyboard behavior so the node regression lane passes on staging #7164

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

📋 Pull Request Information

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

Base: staging ← Head: fix/roleplay-swipe-media-regression


📝 Commits (1)

  • 1ba6ab4 fix(test): the roleplay swipe media regression follows the continuation storyboard behavior

📊 Changes

2 files changed (+8 additions, -2 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 scripts/regressions/roleplay-swipe-media.regression.ts (+6 -2)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #6398

Why this change

  • complete-node-regressions is red on staging itself, and therefore on every pull request opened against it, for one reason: roleplay-swipe-media.regression.ts still pins the text storyboard={null}.
  • #6396 changed that on purpose. A Roleplay continuation is the same reply going on, so it keeps the storyboard it already had, and RegeneratingMessageContent now passes isContinuation ? rest.storyboard : null. The component is right; the regression was not updated with it.
  • Nothing about the app changes here. This is the test catching up with shipped behavior so the lane means something again.

What changed

  • scripts/regressions/roleplay-swipe-media.regression.ts pins the pair the component actually has now: a message being written from scratch shows none of the old one's media, and a continuation keeps it. It also asserts that the flag those two read is worked out in the same block, so removing it cannot leave the assertions passing against nothing.
  • CHANGELOG.md.

Validation

  • 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 three new assertions were run against the current ChatRoleplaySurface.tsx on staging and all three match. Before this change the regression fails on staging with The input did not match the regular expression /storyboard=\{null\}/u; after it, it passes. It reads source text only, so there is nothing to click.

Still to verify by hand:

  • Manually confirm a Roleplay continuation keeps its storyboard while it streams, and a fresh regeneration of the same message does not, which is the behavior this now pins.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

CHANGELOG.md only. No user-facing documentation changes, so nothing to translate.

UI evidence (if applicable)

None: no UI changes.

Summary by CodeRabbit

  • Bug Fixes
    • Fixed a Roleplay swipe media regression affecting continuation replies.
    • Continuation replies now correctly retain the existing storyboard and its generating state.
    • New messages continue to start without carrying over media from the previous message.
    • Verified the corrected behavior through the staging regression checks.

🔄 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/6402 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 9/20/2026 **Status:** ✅ Merged **Merged:** 9/20/2026 **Merged by:** [@kolacheee](https://github.com/kolacheee) **Base:** `staging` ← **Head:** `fix/roleplay-swipe-media-regression` --- ### 📝 Commits (1) - [`1ba6ab4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1ba6ab4370e549666b25bb91a9b1d1530626b2b0) fix(test): the roleplay swipe media regression follows the continuation storyboard behavior ### 📊 Changes **2 files changed** (+8 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `scripts/regressions/roleplay-swipe-media.regression.ts` (+6 -2) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Closes #6398 ## Why this change - `complete-node-regressions` is red on `staging` itself, and therefore on every pull request opened against it, for one reason: `roleplay-swipe-media.regression.ts` still pins the text `storyboard={null}`. - #6396 changed that on purpose. A Roleplay continuation is the same reply going on, so it keeps the storyboard it already had, and `RegeneratingMessageContent` now passes `isContinuation ? rest.storyboard : null`. The component is right; the regression was not updated with it. - Nothing about the app changes here. This is the test catching up with shipped behavior so the lane means something again. ## What changed - `scripts/regressions/roleplay-swipe-media.regression.ts` pins the pair the component actually has now: a message being written from scratch shows none of the old one's media, and a continuation keeps it. It also asserts that the flag those two read is worked out in the same block, so removing it cannot leave the assertions passing against nothing. - `CHANGELOG.md`. ## Validation - [ ] `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 three new assertions were run against the current `ChatRoleplaySurface.tsx` on `staging` and all three match. Before this change the regression fails on `staging` with `The input did not match the regular expression /storyboard=\{null\}/u`; after it, it passes. It reads source text only, so there is nothing to click. Still to verify by hand: - Manually confirm a Roleplay continuation keeps its storyboard while it streams, and a fresh regeneration of the same message does not, which is the behavior this now pins. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) `CHANGELOG.md` only. No user-facing documentation changes, so nothing to translate. ## UI evidence (if applicable) None: no UI changes. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Fixed a Roleplay swipe media regression affecting continuation replies. - Continuation replies now correctly retain the existing storyboard and its generating state. - New messages continue to start without carrying over media from the previous message. - Verified the corrected behavior through the staging regression checks. <!-- 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:17: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#7164
No description provided.