GitHub Copilot CLI session appeared to continue consuming AI credits after all visible tasks were completed.
まだ誰も着手していません。
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
Summary
GitHub Copilot CLI session appeared to continue consuming AI credits after all visible tasks were completed.
Environment
- GitHub Copilot CLI version: 1.0.75
- Mode: Interactive CLI session
- Session limit enabled: No
- Observed behavior: Session showed approximately 97.8% AI credit usage after the visible tasks completed. No further user prompts or interactions were made. Later, the session reached 100%.
Expected behavior
After all visible tasks are complete and no user interaction occurs, AI credit usage should either remain stable or the CLI should clearly indicate that background work is still running and consuming credits.
Actual behavior
The session moved from approximately 97.8% to 100% without additional user interaction.
Question
Is this expected due to final response accounting, subagent completion, or background compaction? If so, can the CLI expose clearer status so users can distinguish between:
- truly idle waiting-for-input state, and
- background/session-finalization work that may still consume AI credits?
Supporting context
GitHub documentation says session limits include model calls, subagents, and background work like compaction, and that session limits are soft caps because usage is only known after a response returns.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、インタラクティブセッションを使用して GitHub Copilot CLI 1.0.75 での動作を再現し、その後、追加のプロンプトなしで表示されたタスクが完了した後のクレジット使用量を監視します。観測された遷移を、モデル呼び出し、subagents、バックグラウンドコンパクションの文書化された扱いと比較します。完了とは、タスク後の使用量が説明され、アイドル状態またはバックグラウンド状態を明確に区別できることを意味します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- github, shell
- 領域
- ai, cli
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100