Session and prompt lost when stopping an action or hitting the stop button
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
Bug Report
Description
When a user stops an in-progress action (e.g., hits the stop button during agent execution), the entire session — including the original prompt and any edits made to it — is deleted. This has happened multiple times.
Steps to Reproduce
- Create a new session with a detailed prompt
- The agent begins executing
- Hit the "stop" button to cancel the action
- The session disappears entirely — prompt, conversation history, and session are gone
Expected Behavior
Stopping an action should halt execution but preserve the session, the original prompt, and any conversation history up to that point. The user should be able to resume or re-run from that state.
Actual Behavior
The entire session is deleted, including the user's original prompt and any iterative edits they made to it. There is no way to recover the work.
Impact
- Loss of detailed, carefully crafted prompts that took time to write and iterate on
- User has to recreate the prompt from memory, losing edits made in the previous session
- Erodes trust in the tool for complex, multi-turn prompt development
Additional Context
- Reported by a user in the
github/lifecyclemarketingproject - Has occurred multiple times (not a one-off)
- The lost session involved a complex weekly digest workflow prompt that had been edited several times before the stop action was triggered
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere das Problem, indem du eine Sitzung mit einem bearbeiteten Prompt erstellst, eine Aktion startest und auf die Stopptaste drückst. Verfolge den Stop-/Abbruchpfad, um zu ermitteln, wo die Sitzung gelöscht wird; fertig ist die Aufgabe, wenn die Ausführung stoppt, während Prompt, Bearbeitungen, Gesprächsverlauf und Sitzung zum Fortsetzen oder erneuten Ausführen verfügbar bleiben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- shell
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100