[PR #6179] [MERGED] fix: keep routine Advanced Memory processing from opening settings #7080

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6179
Author: @SpicyMarinara
Created: 9/13/2026
Status: ✅ Merged
Merged: 9/13/2026
Merged by: @SpicyMarinara

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


📝 Commits (2)

  • 89b5d3b docs: record Advanced Memory settings-popup fix
  • 44194ed fix: keep routine memory preparation from opening chat settings

📊 Changes

3 files changed (+76 additions, -24 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 e2e/advanced-memory.e2e.ts (+73 -23)
📝 packages/client/src/hooks/use-generate.ts (+1 -1)

📄 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 #6177

Why this change

Routine Advanced Memory preparation emits a blocking running status before a reply. The generation hook treated that normal progress event as a request to open Chat Settings, interrupting every normal or guided Roleplay turn.

What changed

Remove running from the existing auto-open status list. Blocking jobs that need confirmation or report an error still open Settings; status/cache updates and manual access to the memory controls remain available. Extend the existing Advanced Memory browser regression and add a changelog entry. The production change is one line, with no new state, helpers, dependencies, or settings.

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

Before the fix, the mobile WebKit regression reproduced the unwanted drawer after a completed normal reply. With the fix, all three projects pass: desktop Chromium, mobile Chromium, and mobile WebKit. Each covers normal and actual /guided input, manual toolbar access to current memory progress, quiet background errors, and automatic opening for blocking errors or confirmation.

pnpm install --offline --frozen-lockfile, pnpm check (including localization and E2E types), and the focused browser suite pass on commit 44194ed9b4b6c5206113e1dda888e8b826b65819. The browser suite uses synthetic SSE and isolated fixture data; no paid model calls or physical-device testing are claimed.

Merged to staging after required CI and CodeRabbit completed successfully on the final head. The complete Node suite passed 268/268 regressions; the broader hosted browser matrix is still running.

Manually verify normal and /guided Roleplay replies with Advanced Memory enabled keep Settings closed, while manually opening Memory Recall and required confirmation/error handling remain available.

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)

UI evidence (if applicable)

Before/after mobile WebKit screenshots show the same routine memory status opening Settings before the fix and leaving it closed afterward. Synthetic fixture content only; no styling changes.

Summary by CodeRabbit

  • Bug Fixes

    • Advanced Memory no longer opens Chat Settings after every roleplay or guided reply.
    • Chat Settings now opens only when confirmation is required or a blocking error needs attention.
    • Background processing continues quietly for routine and non-blocking cases.
  • Tests

    • Expanded end-to-end coverage for Advanced Memory status handling, guided replies, confirmations, errors, and progress 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/6179 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/13/2026 **Status:** ✅ Merged **Merged:** 9/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/6177-memory-settings-popup` --- ### 📝 Commits (2) - [`89b5d3b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/89b5d3b2596ee402ac7dc0e77ac22d6b80901864) docs: record Advanced Memory settings-popup fix - [`44194ed`](https://github.com/Pasta-Devs/Marinara-Engine/commit/44194ed9b4b6c5206113e1dda888e8b826b65819) fix: keep routine memory preparation from opening chat settings ### 📊 Changes **3 files changed** (+76 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `e2e/advanced-memory.e2e.ts` (+73 -23) 📝 `packages/client/src/hooks/use-generate.ts` (+1 -1) </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`. ## Linked issue Closes #6177 ## Why this change Routine Advanced Memory preparation emits a blocking `running` status before a reply. The generation hook treated that normal progress event as a request to open Chat Settings, interrupting every normal or guided Roleplay turn. ## What changed Remove `running` from the existing auto-open status list. Blocking jobs that need confirmation or report an error still open Settings; status/cache updates and manual access to the memory controls remain available. Extend the existing Advanced Memory browser regression and add a changelog entry. The production change is one line, with no new state, helpers, dependencies, or settings. ## 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 Before the fix, the mobile WebKit regression reproduced the unwanted drawer after a completed normal reply. With the fix, all three projects pass: desktop Chromium, mobile Chromium, and mobile WebKit. Each covers normal and actual `/guided` input, manual toolbar access to current memory progress, quiet background errors, and automatic opening for blocking errors or confirmation. `pnpm install --offline --frozen-lockfile`, `pnpm check` (including localization and E2E types), and the focused browser suite pass on commit `44194ed9b4b6c5206113e1dda888e8b826b65819`. The browser suite uses synthetic SSE and isolated fixture data; no paid model calls or physical-device testing are claimed. Merged to staging after required CI and CodeRabbit completed successfully on the final head. The complete Node suite passed 268/268 regressions; the broader hosted browser matrix is still running. Manually verify normal and `/guided` Roleplay replies with Advanced Memory enabled keep Settings closed, while manually opening Memory Recall and required confirmation/error handling remain available. ## 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) ## UI evidence (if applicable) [Before/after mobile WebKit screenshots](https://gist.github.com/SpicyMarinara/dae458a41bd2e11e7d1b74a1f82bfad7) show the same routine memory status opening Settings before the fix and leaving it closed afterward. Synthetic fixture content only; no styling changes. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Advanced Memory no longer opens Chat Settings after every roleplay or guided reply. - Chat Settings now opens only when confirmation is required or a blocking error needs attention. - Background processing continues quietly for routine and non-blocking cases. - **Tests** - Expanded end-to-end coverage for Advanced Memory status handling, guided replies, confirmations, errors, and progress 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:21 +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#7080
No description provided.