Sessions stuck permanently in "In use" state when not in use
まだ誰も着手していません。
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、報告されたシャットダウンのシナリオを再現し、CLI がセッションの "In Use" 状態をどのように記録して再読み込みするかを調べます。停止したセッションを再度開くことでその状態が変化するかを確認し、その後、異常終了によって残されたセッションが非表示のままになったり、誤った "In Use" 警告を発生させたりしないことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100