mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1825] [MERGED] Fix chat summary parity regressions #5296
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5296
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1825
Author: @cha1latte
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-1787-chat-parity📝 Commits (1)
cea3336Fix chat summary parity regressions📊 Changes
10 files changed (+494 additions, -34 deletions)
View changed files
📝
src-tauri/src/commands/storage/chats.rs(+92 -7)📝
src/engine/capabilities/storage.ts(+1 -0)📝
src/engine/contracts/types/chat.ts(+2 -2)📝
src/engine/generation/prompt-assembly.ts(+78 -4)📝
src/engine/generation/start-generation.ts(+24 -0)📝
src/engine/shared/text/chat-summary-entries.ts(+41 -3)📝
src/features/catalog/chats/hooks/use-chats.ts(+62 -13)📝
src/features/modes/conversation/components/ConversationView.tsx(+40 -1)📝
src/features/modes/shared/chat-ui/components/SummaryPopover.tsx(+153 -4)📝
src/shared/api/storage-api.ts(+1 -0)📄 Description
Linked issue
Closes #1787
Why this change
What changed
metadata.summaryas a structuredlegacyrolling summary entry when structured summary entries are introduced.Refactor impact
Primary owner:
Chat mode / shared mode UI, with engine generation and Rust storage support.
Impact areas reviewed:
chat_branchstorage behavior.Boundary notes:
StorageGatewaycapability and implemented by the Tauri storage API wrapper.Pressure points touched:
SummaryPopover.src-tauri/src/commands/storage/chats.rs.Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses locally before PR push/handoff, including the unused-code checkpnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm exec vitest run --config scratch\vitest.issue-1787.config.tscargo test --manifest-path src-tauri\Cargo.toml branch_chat_prunes_future_summary_metadata_from_new_branchcargo check --manifest-path src-tauri\Cargo.toml --workspacepnpm checknode C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.jsonFeature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.