[PR #1696] [MERGED] Fix conversation summaries getting deleted in refactor #5222

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1696
Author: @JorgeLTE
Created: 5/31/2026
Status: ✅ Merged
Merged: 5/31/2026
Merged by: @JorgeLTE

Base: refactor ← Head: fix/conversation-summary-merge


📝 Commits (1)

  • e75b86c Fix conversation summary data loss on patch

📊 Changes

2 files changed (+58 additions, -1 deletions)

View changed files

📝 src/shared/api/storage-api.test.ts (+39 -0)
📝 src/shared/api/storage-api.ts (+19 -1)

📄 Description

Fixes summaries getting overwritten in the refactor

Linked issue

Closes #1684

Why this change

  • Summarization was broken. This fixes it.

What changed

  • Brings the behavior closer to what 1.6.1 does.

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

  • Open the refactor.
  • Import an old conversation with summaries
  • Trigger a new summary with a message.
  • Verify that the summary didn't override all the previous summaries.
  • Verify that manually editing the summaries doesn't result in everything being overridden

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)


🔄 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/1696 **Author:** [@JorgeLTE](https://github.com/JorgeLTE) **Created:** 5/31/2026 **Status:** ✅ Merged **Merged:** 5/31/2026 **Merged by:** [@JorgeLTE](https://github.com/JorgeLTE) **Base:** `refactor` ← **Head:** `fix/conversation-summary-merge` --- ### 📝 Commits (1) - [`e75b86c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e75b86c2ad441a7e5eae223f860776ce32a8fc2d) Fix conversation summary data loss on patch ### 📊 Changes **2 files changed** (+58 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/shared/api/storage-api.test.ts` (+39 -0) 📝 `src/shared/api/storage-api.ts` (+19 -1) </details> ### 📄 Description Fixes summaries getting overwritten in the refactor ## Linked issue <!-- Every PR should reference a feature request or issue report. If there isn't one yet, open one first to gather opinions: --> <!-- https://github.com/Pasta-Devs/Marinara-Engine/issues/new/choose --> Closes #1684 ## Why this change <!-- What user problem, bug, or goal does this solve? --> - Summarization was broken. This fixes it. ## What changed <!-- List the key changes in this PR --> - Brings the behavior closer to what 1.6.1 does. ## Validation <!-- Required: include commands run and/or manual checks performed --> - [x] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [x] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [x] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes <!-- Describe exactly what you tested in a real browser/app, step by step. --> <!-- ⚠️ If an AI agent filled out or ticked these boxes for you, treat them --> <!-- as a TO-DO LIST, not as proof the work is done. Verify each item yourself --> <!-- before submitting. If you haven't verified it, untick the box. --> - Open the refactor. - Import an old conversation with summaries - Trigger a new summary with a message. - Verify that the summary didn't override all the previous summaries. - Verify that manually editing the summaries doesn't result in everything being overridden ## Docs and release impact - [x] No docs changes needed - [x] 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) <!-- Add before/after screenshots or recordings for UI changes --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:14: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#5222
No description provided.