[PR #2747] [MERGED] Fix assigned issue sweep regressions #5723

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2747
Author: @SpicyMarinara
Created: 6/21/2026
Status: ✅ Merged
Merged: 6/22/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/assigned-issue-sweep-2734-2738


📝 Commits (3)

  • e36bcce Fix assigned issue sweep regressions
  • dfc5530 Fix remaining issue sweep regressions
  • fe26e3f Merge branch 'staging' into codex/assigned-issue-sweep-2734-2738

📊 Changes

77 files changed (+3118 additions, -1115 deletions)

View changed files

📝 packages/client/.instructions.md (+3 -7)
📝 packages/client/src/components/agents/AgentEditor.tsx (+54 -5)
📝 packages/client/src/components/chat/ChatInput.tsx (+3 -1)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+65 -1)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+17 -7)
📝 packages/client/src/components/chat/ConversationInput.tsx (+5 -1)
📝 packages/client/src/components/chat/SummaryPopover.tsx (+24 -1)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+100 -22)
📝 packages/client/src/components/game-assets/AssetGrid.tsx (+138 -85)
📝 packages/client/src/components/game/GameNarration.tsx (+60 -5)
📝 packages/client/src/components/game/GameSurface.tsx (+9 -6)
📝 packages/client/src/components/modals/ImportConnectionModal.tsx (+27 -11)
📝 packages/client/src/components/panels/settings/TTSConfigCard.tsx (+67 -16)
📝 packages/client/src/components/presets/PresetEditor.tsx (+114 -62)
📝 packages/client/src/components/ui/GenerationParametersEditor.tsx (+1 -0)
📝 packages/client/src/components/ui/SpeechToTextButton.tsx (+14 -4)
📝 packages/client/src/components/ui/SpriteGenerationModal.tsx (+272 -62)
📝 packages/client/src/features/chat-settings/sections/AdvancedParametersSection.tsx (+27 -2)
📝 packages/client/src/hooks/use-agents.ts (+13 -2)
📝 packages/client/src/hooks/use-background-autonomous.ts (+22 -10)

...and 57 more files

📄 Description

Linked issue

Closes #2734
Closes #2735
Closes #2736
Closes #2737
Closes #2738

Why this change

  • Fixes five assigned release-blocking or low-severity regressions found after the recent staging work: broken llama.cpp sidecar chat, tracker lock duplication, prompt/generation robustness drift, text rewrite HTML loss, and Chat Summary marker UX confusion.

What changed

  • Restored llama.cpp sidecar chat readiness by avoiding embedding-only pooling and probing completion readiness for local sidecars.
  • Prevented tracker field-lock merge duplication by tracking matched current rows across named character and quest merges.
  • Hardened generation edge cases: shared agent tool-loop deadline, depth-0 chat history ordering, non-streaming game setup JSON, conclusion JSON repair dedupe, and recursive lorebook group caps.
  • Preserved protected HTML/fenced markup for strict text rewrite agents and skipped destructive rewrites that drop protected markup.
  • Clarified Chat Summary marker copy, added active-preset diagnostics in the Summary popover, and aligned roleplay summary reads across real generation, preview, retry, and chat prompt inspection.

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

  • pnpm check passed locally in /tmp/marinara-issues-2734-2738.
  • The local shell is using Node 20.11.1, so the command emitted repo/Vite engine warnings before completing successfully. Repo currently wants Node >=24 <26.
  • Manual browser verification remains for a human reviewer.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Not captured. The UI change is a small Chat Summary diagnostic callout and marker description copy update.

Summary by CodeRabbit

  • New Features

    • Chat summary injection hints now available in roleplay mode
    • Enhanced voice selection UI with saved voice indicators
  • Bug Fixes

    • Generation abort now properly targets specific chats
    • Fixed chat settings preset dropdown state handling
    • Fixed connection URL validation and normalization
    • Fixed sprite generation cancellation and save workflows
    • Improved streaming robustness and error handling
  • Performance

    • Voice cache management improvements with bounds
    • Added generation concurrency limits

🔄 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/2747 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 6/21/2026 **Status:** ✅ Merged **Merged:** 6/22/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/assigned-issue-sweep-2734-2738` --- ### 📝 Commits (3) - [`e36bcce`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e36bccee9f5b9f41b1dcd37f8168330b1a85564c) Fix assigned issue sweep regressions - [`dfc5530`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dfc55305108d16a605c14c58180f0da42495b7dd) Fix remaining issue sweep regressions - [`fe26e3f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fe26e3f7dfcd52d75999c0fd8654df589b7910d3) Merge branch 'staging' into codex/assigned-issue-sweep-2734-2738 ### 📊 Changes **77 files changed** (+3118 additions, -1115 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/.instructions.md` (+3 -7) 📝 `packages/client/src/components/agents/AgentEditor.tsx` (+54 -5) 📝 `packages/client/src/components/chat/ChatInput.tsx` (+3 -1) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+65 -1) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+17 -7) 📝 `packages/client/src/components/chat/ConversationInput.tsx` (+5 -1) 📝 `packages/client/src/components/chat/SummaryPopover.tsx` (+24 -1) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+100 -22) 📝 `packages/client/src/components/game-assets/AssetGrid.tsx` (+138 -85) 📝 `packages/client/src/components/game/GameNarration.tsx` (+60 -5) 📝 `packages/client/src/components/game/GameSurface.tsx` (+9 -6) 📝 `packages/client/src/components/modals/ImportConnectionModal.tsx` (+27 -11) 📝 `packages/client/src/components/panels/settings/TTSConfigCard.tsx` (+67 -16) 📝 `packages/client/src/components/presets/PresetEditor.tsx` (+114 -62) 📝 `packages/client/src/components/ui/GenerationParametersEditor.tsx` (+1 -0) 📝 `packages/client/src/components/ui/SpeechToTextButton.tsx` (+14 -4) 📝 `packages/client/src/components/ui/SpriteGenerationModal.tsx` (+272 -62) 📝 `packages/client/src/features/chat-settings/sections/AdvancedParametersSection.tsx` (+27 -2) 📝 `packages/client/src/hooks/use-agents.ts` (+13 -2) 📝 `packages/client/src/hooks/use-background-autonomous.ts` (+22 -10) _...and 57 more files_ </details> ### 📄 Description ## Linked issue Closes #2734 Closes #2735 Closes #2736 Closes #2737 Closes #2738 ## Why this change - Fixes five assigned release-blocking or low-severity regressions found after the recent staging work: broken llama.cpp sidecar chat, tracker lock duplication, prompt/generation robustness drift, text rewrite HTML loss, and Chat Summary marker UX confusion. ## What changed - Restored llama.cpp sidecar chat readiness by avoiding embedding-only pooling and probing completion readiness for local sidecars. - Prevented tracker field-lock merge duplication by tracking matched current rows across named character and quest merges. - Hardened generation edge cases: shared agent tool-loop deadline, depth-0 chat history ordering, non-streaming game setup JSON, conclusion JSON repair dedupe, and recursive lorebook group caps. - Preserved protected HTML/fenced markup for strict text rewrite agents and skipped destructive rewrites that drop protected markup. - Clarified Chat Summary marker copy, added active-preset diagnostics in the Summary popover, and aligned roleplay summary reads across real generation, preview, retry, and chat prompt inspection. ## 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 - `pnpm check` passed locally in `/tmp/marinara-issues-2734-2738`. - The local shell is using Node 20.11.1, so the command emitted repo/Vite engine warnings before completing successfully. Repo currently wants Node >=24 <26. - Manual browser verification remains for a human reviewer. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Not captured. The UI change is a small Chat Summary diagnostic callout and marker description copy update. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Chat summary injection hints now available in roleplay mode * Enhanced voice selection UI with saved voice indicators * **Bug Fixes** * Generation abort now properly targets specific chats * Fixed chat settings preset dropdown state handling * Fixed connection URL validation and normalization * Fixed sprite generation cancellation and save workflows * Improved streaming robustness and error handling * **Performance** * Voice cache management improvements with bounds * Added generation concurrency limits <!-- 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-22 04:18:52 +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#5723
No description provided.