mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1229] [Issue]: Canceling new conversation setup leaves ghost chats #602
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#602
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?
Originally created by @cha1latte on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1229
Originally assigned to: @cha1latte on GitHub.
Summary
Canceling the new Conversation setup flow persists a
New Conversationchat even though the user closed setup before committing it. Repeated cancel/retry attempts leave ghost chats in the sidebar and storage, including rows with noconnectionId.Expected behavior
Closing or canceling the setup flow should either avoid creating a chat until setup is committed, or delete the draft chat when setup is dismissed.
Actual behavior
The setup flow creates a stored conversation immediately. Clicking the setup close button leaves the draft chat behind as a normal chat row. In the repro, stored chats increased from 8 to 9 and the new row had
connectionId: null.Steps to reproduce
Conversation.New Conversationsetup flow to open.Xinstead of pressingSkiporStart Chatting.Impact area
Environment
upstream/refactorat507e64acv24.13.0, pnpm10.33.2rustc 1.95.0http://127.0.0.1:8787customconnection used for QA setupLogs, screenshots, or video
Repro storage probe:
Local QA screenshots were captured during the hunt but are not attached here.
Regression notes
Not specified.
Additional context
The normal recovery path works if the user explicitly completes or skips setup; the bug is specifically the cancel/close path leaving committed storage behind. This is not immediate data loss, but it creates confusing partial chat state and can clutter real user data with abandoned setup attempts.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: