github / github/copilot-cli

Session and prompt lost when stopping an action or hitting the stop button

オープン
#4,477 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:sessions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

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
  1. Create a new session with a detailed prompt
  2. The agent begins executing
  3. Hit the "stop" button to cancel the action
  4. 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/lifecyclemarketing project
  • 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

編集した prompt でセッションを作成し、アクションを開始して停止ボタンを押すことで、問題を再現します。停止/キャンセルの経路を追跡して、セッションが削除される箇所を特定します。prompt、編集内容、会話履歴、セッションを再開または再実行できる状態で実行が停止すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。