[PR #6178] [CLOSED] Fix Advanced Memory settings reopening after replies #7079

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6178
Author: @dajiaohuang
Created: 9/13/2026
Status: ❌ Closed

Base: staging ← Head: fix/6177-memory-settings


📝 Commits (1)

  • 9569985 fix: avoid reopening memory settings during replies

📊 Changes

4 files changed (+24 additions, -5 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/client/src/hooks/use-generate.ts (+2 -5)
➕ packages/client/src/lib/advanced-memory-settings.ts (+6 -0)
➕ scripts/regressions/advanced-memory-settings.regression.ts (+15 -0)

📄 Description

Linked issue

Closes #6177

Why this change

Advanced Memory emits a normal blocking running progress event during reply preparation. Treating that progress state as a prompt to open Chat Settings interrupts every Roleplay and /guided reply.

What changed

  • Open Chat Settings only when Advanced Memory needs confirmation or reports an error.
  • Keep normal running progress in the existing memory status UI.
  • Add a focused regression contract and an [Unreleased] changelog entry.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases in the focused regression (running, ready, confirmation, error, non-blocking error)
  • Above manual verification completed
  • Read and followed CONTRIBUTING.md

Manual verification notes

Manual browser verification remains for a maintainer because this checkout has no configured app/provider session.

Docs and release impact

  • No docs changes needed
  • Updated changelog as needed
  • Translated docs follow-up not needed
  • Version/release files updated

UI evidence

Not captured; the focused source regression and full repository check cover the behavior gate.

Summary by CodeRabbit

  • Bug Fixes

    • Advanced Memory no longer automatically opens Chat Settings after every Roleplay or /guided reply.
    • Chat Settings continues to open automatically when Advanced Memory requires confirmation or encounters an error.
  • Documentation

    • Updated the unreleased changelog to reflect the Advanced Memory settings behavior.

🔄 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/6178 **Author:** [@dajiaohuang](https://github.com/dajiaohuang) **Created:** 9/13/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `fix/6177-memory-settings` --- ### 📝 Commits (1) - [`9569985`](https://github.com/Pasta-Devs/Marinara-Engine/commit/95699857c4de3c444fa0602f52b1db2855caca52) fix: avoid reopening memory settings during replies ### 📊 Changes **4 files changed** (+24 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/client/src/hooks/use-generate.ts` (+2 -5) ➕ `packages/client/src/lib/advanced-memory-settings.ts` (+6 -0) ➕ `scripts/regressions/advanced-memory-settings.regression.ts` (+15 -0) </details> ### 📄 Description ## Linked issue Closes #6177 ## Why this change Advanced Memory emits a normal blocking `running` progress event during reply preparation. Treating that progress state as a prompt to open Chat Settings interrupts every Roleplay and `/guided` reply. ## What changed - Open Chat Settings only when Advanced Memory needs confirmation or reports an error. - Keep normal running progress in the existing memory status UI. - Add a focused regression contract and an `[Unreleased]` changelog entry. ## Validation - [x] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [x] Checked edge cases in the focused regression (running, ready, confirmation, error, non-blocking error) - [ ] Above manual verification completed - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes Manual browser verification remains for a maintainer because this checkout has no configured app/provider session. ## Docs and release impact - [ ] No docs changes needed - [x] Updated changelog as needed - [ ] Translated docs follow-up not needed - [ ] Version/release files updated ## UI evidence Not captured; the focused source regression and full repository check cover the behavior gate. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Advanced Memory no longer automatically opens Chat Settings after every Roleplay or `/guided` reply. - Chat Settings continues to open automatically when Advanced Memory requires confirmation or encounters an error. - **Documentation** - Updated the unreleased changelog to reflect the Advanced Memory settings behavior. <!-- 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:16:20 +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#7079
No description provided.