[GH-ISSUE #6398] Node regression lane is red on staging: roleplay-swipe-media still expects storyboard={null} after #6396 #3576

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

Originally created by @kolacheee on GitHub (Sep 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6398

Originally assigned to: @kolacheee on GitHub.

What happens

scripts/regressions/roleplay-swipe-media.regression.ts fails on staging since 9320f85f9 ("fix: keep Roleplay continuations inline and allow persona dice targets", merged through #6396). It fails every time, so complete-node-regressions is red on staging itself (run https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/35478770939 at 66bb9bcea) and on every PR based on it.

AssertionError [ERR_ASSERTION]: The input did not match the regular expression /storyboard=\{null\}/u.
    at scripts/regressions/roleplay-swipe-media.regression.ts:16:8

Why

The regression reads the source text of RegeneratingMessageContent in packages/client/src/components/chat/ChatRoleplaySurface.tsx and expects two literal props:

assert.match(regeneratingMessage, /storyboard=\{null\}/u);
assert.match(regeneratingMessage, /storyboardGenerating=\{false\}/u);

9320f85f9 changed those two props on purpose, so an inline continuation keeps the original reply's storyboard:

storyboard={isContinuation ? rest.storyboard : null}
storyboardGenerating={isContinuation ? rest.storyboardGenerating : false}

The component looks right; the regression was not updated with it.

Suggested fix

Update the two assertions to the new behaviour: a regenerating message that is NOT a continuation still hides the storyboard, and a continuation passes the original's through. For example, match storyboard=\{isContinuation \? rest\.storyboard : null\} and the storyboardGenerating twin.

How to reproduce

From packages/server on current staging:

npx --no-install tsx ../../scripts/regressions/roleplay-swipe-media.regression.ts

Found while running the node lane for #6397, which does not touch these files.

Originally created by @kolacheee on GitHub (Sep 20, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6398 Originally assigned to: @kolacheee on GitHub. ## What happens `scripts/regressions/roleplay-swipe-media.regression.ts` fails on `staging` since 9320f85f9 ("fix: keep Roleplay continuations inline and allow persona dice targets", merged through #6396). It fails every time, so `complete-node-regressions` is red on `staging` itself (run https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/35478770939 at 66bb9bcea) and on every PR based on it. ``` AssertionError [ERR_ASSERTION]: The input did not match the regular expression /storyboard=\{null\}/u. at scripts/regressions/roleplay-swipe-media.regression.ts:16:8 ``` ## Why The regression reads the source text of `RegeneratingMessageContent` in `packages/client/src/components/chat/ChatRoleplaySurface.tsx` and expects two literal props: ```ts assert.match(regeneratingMessage, /storyboard=\{null\}/u); assert.match(regeneratingMessage, /storyboardGenerating=\{false\}/u); ``` 9320f85f9 changed those two props on purpose, so an inline continuation keeps the original reply's storyboard: ```tsx storyboard={isContinuation ? rest.storyboard : null} storyboardGenerating={isContinuation ? rest.storyboardGenerating : false} ``` The component looks right; the regression was not updated with it. ## Suggested fix Update the two assertions to the new behaviour: a regenerating message that is NOT a continuation still hides the storyboard, and a continuation passes the original's through. For example, match `storyboard=\{isContinuation \? rest\.storyboard : null\}` and the `storyboardGenerating` twin. ## How to reproduce From `packages/server` on current `staging`: ``` npx --no-install tsx ../../scripts/regressions/roleplay-swipe-media.regression.ts ``` Found while running the node lane for #6397, which does not touch these files.
bsakaguchi 2026-10-21 06:04:27 +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#3576
No description provided.