mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1267] [MERGED] Fix conversation setup cancel ghost chats #5014
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#5014
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/1267
Author: @cha1latte
Created: 5/26/2026
Status: ✅ Merged
Merged: 5/26/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-1229-conversation-setup-cancel📝 Commits (3)
3d4b948Fix conversation setup cancel ghost chats9eb9fceAdd issue 1229 UI proof713203cGuard conversation setup cancel state📊 Changes
6 files changed (+30 additions, -7 deletions)
View changed files
➕
docs/pr-evidence/issue-1229/after-close.png(+0 -0)➕
docs/pr-evidence/issue-1229/before.png(+0 -0)📝
src/features/modes/conversation/components/ChatConversationSurface.tsx(+3 -0)📝
src/features/modes/conversation/components/ConversationModeRoute.tsx(+16 -1)📝
src/features/modes/shared/chat-ui/components/ChatCommonOverlays.tsx(+5 -1)📝
src/features/modes/shared/chat-ui/components/ChatSetupWizard.tsx(+6 -5)📄 Description
Linked issue
Closes #1229
Why this change
Skipremains the intentional path for keeping the draft and continuing without setup.What changed
SkipandStart Chattingon the existing finish path so they preserve the chat.Refactor impact
Primary owner:
Impact areas reviewed:
Boundary notes:
Pressure points touched:
Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
Codex-run machine proof:
node scratch\issue-1229-repro.mjs: closeXleftaddedAfterClose: 1and aNew Conversationrow withconnectionId: null.MARINARA_REPRO_MODE=after MARINARA_REPRO_ACTION=close node scratch\issue-1229-repro.mjs: closeXleftaddedAfterClose: 0.MARINARA_REPRO_MODE=after MARINARA_REPRO_ACTION=backdrop node scratch\issue-1229-repro.mjsleftaddedAfterClose: 0.MARINARA_REPRO_MODE=after MARINARA_REPRO_ACTION=skip node scratch\issue-1229-repro.mjspreserved the newly created chat withaddedAfterClose: 1.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.jsonpassed.CARGO_TARGET_DIR=D:\dev\Marinara-Engine-target-issue-1229 pnpm checkpassed.No blocking manual verification remains for the core claim.
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
Before, closing setup left the draft chat persisted:
After, closing setup returns home with no persisted draft chat:
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.