Sessions stuck permanently in "In use" state when not in use
まだ誰も着手していません。
評価
調査の方向性
まず、報告されたシャットダウンのシナリオを再現し、CLI がセッションの "In Use" 状態をどのように記録して再読み込みするかを調べます。停止したセッションを再度開くことでその状態が変化するかを確認し、その後、異常終了によって残されたセッションが非表示のままになったり、誤った "In Use" 警告を発生させたりしないことを確認します。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
I have several sessions which were never marked no longer in use, and now do not show back up in the session list automatically. I have to /resume them every time, and accept a false warning that they're in use elsewhere. They've only ever been in use on one machine which shuts down regularly. This may be the cause of why the state was not cleaned up. However reopening these sessions does not reset the "In Use" flag, so the issue is permanent.
Affected version
GitHub Copilot CLI 1.0.84-6
Steps to reproduce the behavior
This is a guess
- Have a session
- Computer shuts down without cleanly terminating Agency
- Start agency, see session is still "In Use"
Expected behavior
Sessions should not be marked in use when they are not in use.
Additional context
No response
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/copilot-cli のほかの issue
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/copilot-cli#4729 ·
-
area:sessions
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/copilot-cli#4712 ·
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
github/copilot-cli#4638 ·
-
Expose large_output_file_path on TaskShellProgress so clients can read complete shell-task output オープンarea:tools
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
github/copilot-cli#4630 · コメント 1 件 ·
github/copilot-cli の issue をすべて見る
似ている issue
-
area: compat bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
intake mcp-intake needs-ac needs-human-review priority:medium type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Ikalus1988/MisakaNet#2019 · コメント 2 件 ·
-
type:content-error
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
stephrobert/blog-roadmap#15 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
hust-open-atom-club/hustmirror-cli#52 · コメント 1 件 ·