[PR #4484] [MERGED] Fix assigned Roleplay, performance, and Janny issues #6398

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4484
Author: @SpicyMarinara
Created: 8/2/2026
Status: ✅ Merged
Merged: 8/2/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/fix-assigned-issues-sweep


📝 Commits (4)

  • 19d9003 chore: start assigned issues sweep
  • a6a0c6d fix: resolve assigned roleplay and import issues
  • e0f92a0 fix: address CodeRabbit review feedback
  • 2795dfa Merge remote-tracking branch 'origin/staging' into agent/fix-assigned-issues-sweep

📊 Changes

11 files changed (+258 additions, -60 deletions)

View changed files

📝 packages/client/src/components/bot-browser/BotBrowserView.tsx (+38 -2)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+3 -1)
📝 packages/client/src/components/chat/EchoChamberPanel.tsx (+3 -3)
📝 packages/client/src/components/chat/PeekPromptModal.tsx (+1 -1)
📝 packages/client/src/components/layout/AppShell.tsx (+2 -1)
📝 packages/client/src/hooks/use-generate.ts (+15 -1)
📝 packages/client/src/lib/generation-stream-policy.ts (+37 -4)
📝 packages/server/src/routes/generate.routes.ts (+19 -34)
📝 packages/server/src/services/storage/agents.storage.ts (+19 -4)
📝 scripts/regressions/janny-character-import.regression.ts (+16 -1)
📝 scripts/regressions/roleplay-streaming.regression.ts (+105 -8)

📄 Description

Important

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

Linked issues

Closes #4470
Closes #4479
Closes #4480
Closes #4481
Closes #4482
Closes #4483

Why this change

The complete open issue queue assigned to SpicyMarinara exposed six focused regressions: Cloudflare-blocked Janny card imports, inaccessible Roleplay scrollbars, severe Firefox repaint cost in Peek Prompt, weather pausing during tracker work, duplicate Illustrator runs, and bursty Roleplay streaming.

What changed

  • Retry full Janny card downloads through the user browser session before the existing server fallback, preserving every PNG card field.
  • Keep Echo Chamber and the docked Trackers Panel clear of the native Roleplay scrollbar.
  • Remove the full-screen backdrop filter from Peek Prompt, which the attached Firefox profile identified as a continuous animated-scene repaint cost.
  • Keep the last weather effect animating while generation agents run, while retaining the mobile composer pause.
  • Persist successful Illustrator decisions before background image work so a concurrent next message honors the run interval.
  • Restore Roleplay-only queue smoothing so provider bursts reveal continuously; Conversation and Game retain literal configured speed.
  • Add focused regression coverage for all six behaviors.

Validation

  • pnpm check — passed
  • pnpm regression:roleplay — passed
  • Janny character import regression — passed
  • pnpm smoke:ui — 182 passed, 95 skipped; three unrelated baseline failures remain in stale What New copy expectations and an existing Character-row hitbox test. The hitbox failure reproduced alone.

Test plan

  • Manually verify a Janny card imports all definition and lorebook fields after visiting JannyAI in the same browser session.
  • Manually verify the Roleplay scrollbar remains draggable beside Echo Chamber and a right-docked Trackers Panel.
  • Manually compare Firefox responsiveness before and after opening Peek Prompt with an animated Roleplay scene.
  • Manually verify weather continues between tracker generations.
  • Manually send a second message while Illustrator is still generating and verify its run interval prevents a duplicate run.
  • Manually verify Roleplay text reveals smoothly while post-processing agents run.
  • Manually verify light and dark themes plus desktop and mobile layouts.

Docs and release impact

  • No user-facing copy, documentation, release metadata, or version files changed.

Summary by CodeRabbit

  • New Features
    • Improved JannyAI character-card imports with authenticated browser downloads and fallback support.
    • Roleplay responses now reveal text more smoothly based on streaming and queued content.
  • Bug Fixes
    • Weather effects remain active during generation and pause appropriately for mobile keyboard use.
    • Improved spacing and alignment for chat panels and controls.
    • Simplified Peek Prompt overlays for clearer presentation.
    • Prevented duplicate generation history entries for image-related results and improved retry handling.

🔄 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/4484 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/2/2026 **Status:** ✅ Merged **Merged:** 8/2/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/fix-assigned-issues-sweep` --- ### 📝 Commits (4) - [`19d9003`](https://github.com/Pasta-Devs/Marinara-Engine/commit/19d90033ec998a08f8f1fe334cd176496c64e74a) chore: start assigned issues sweep - [`a6a0c6d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a6a0c6d9591b2b7b6d4f7f40e47b3e26de8532df) fix: resolve assigned roleplay and import issues - [`e0f92a0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e0f92a089630333f6015c6725d631ec34f34adb4) fix: address CodeRabbit review feedback - [`2795dfa`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2795dfa7f4b10d24bf3457bd8549bf494ad6f884) Merge remote-tracking branch 'origin/staging' into agent/fix-assigned-issues-sweep ### 📊 Changes **11 files changed** (+258 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/bot-browser/BotBrowserView.tsx` (+38 -2) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+3 -1) 📝 `packages/client/src/components/chat/EchoChamberPanel.tsx` (+3 -3) 📝 `packages/client/src/components/chat/PeekPromptModal.tsx` (+1 -1) 📝 `packages/client/src/components/layout/AppShell.tsx` (+2 -1) 📝 `packages/client/src/hooks/use-generate.ts` (+15 -1) 📝 `packages/client/src/lib/generation-stream-policy.ts` (+37 -4) 📝 `packages/server/src/routes/generate.routes.ts` (+19 -34) 📝 `packages/server/src/services/storage/agents.storage.ts` (+19 -4) 📝 `scripts/regressions/janny-character-import.regression.ts` (+16 -1) 📝 `scripts/regressions/roleplay-streaming.regression.ts` (+105 -8) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository staging branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issues Closes #4470 Closes #4479 Closes #4480 Closes #4481 Closes #4482 Closes #4483 ## Why this change The complete open issue queue assigned to `SpicyMarinara` exposed six focused regressions: Cloudflare-blocked Janny card imports, inaccessible Roleplay scrollbars, severe Firefox repaint cost in Peek Prompt, weather pausing during tracker work, duplicate Illustrator runs, and bursty Roleplay streaming. ## What changed - Retry full Janny card downloads through the user browser session before the existing server fallback, preserving every PNG card field. - Keep Echo Chamber and the docked Trackers Panel clear of the native Roleplay scrollbar. - Remove the full-screen backdrop filter from Peek Prompt, which the attached Firefox profile identified as a continuous animated-scene repaint cost. - Keep the last weather effect animating while generation agents run, while retaining the mobile composer pause. - Persist successful Illustrator decisions before background image work so a concurrent next message honors the run interval. - Restore Roleplay-only queue smoothing so provider bursts reveal continuously; Conversation and Game retain literal configured speed. - Add focused regression coverage for all six behaviors. ## Validation - `pnpm check` — passed - `pnpm regression:roleplay` — passed - Janny character import regression — passed - `pnpm smoke:ui` — 182 passed, 95 skipped; three unrelated baseline failures remain in stale What New copy expectations and an existing Character-row hitbox test. The hitbox failure reproduced alone. ## Test plan - [ ] Manually verify a Janny card imports all definition and lorebook fields after visiting JannyAI in the same browser session. - [ ] Manually verify the Roleplay scrollbar remains draggable beside Echo Chamber and a right-docked Trackers Panel. - [ ] Manually compare Firefox responsiveness before and after opening Peek Prompt with an animated Roleplay scene. - [ ] Manually verify weather continues between tracker generations. - [ ] Manually send a second message while Illustrator is still generating and verify its run interval prevents a duplicate run. - [ ] Manually verify Roleplay text reveals smoothly while post-processing agents run. - [ ] Manually verify light and dark themes plus desktop and mobile layouts. ## Docs and release impact - No user-facing copy, documentation, release metadata, or version files changed. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Improved JannyAI character-card imports with authenticated browser downloads and fallback support. * Roleplay responses now reveal text more smoothly based on streaming and queued content. * **Bug Fixes** * Weather effects remain active during generation and pause appropriately for mobile keyboard use. * Improved spacing and alignment for chat panels and controls. * Simplified Peek Prompt overlays for clearer presentation. * Prevented duplicate generation history entries for image-related results and improved retry handling. <!-- 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:10:03 +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#6398
No description provided.