github / github/copilot-cli

[Bug] Unexpected triple point deduction when multiple sessions are active via /resume

オープン
#2,648 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:models area:sessions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the bug

Issue Body (内容)
Describe the bug
When multiple Copilot CLI windows are open and running resumed sessions, submitting a prompt in only one of the windows results in an unexpected multiple point deduction. Closing the background windows resolves the issue.

Steps to Reproduce

Open multiple Copilot CLI windows simultaneously.

Use the /resume command to restore 5 frequently used sessions across these windows.

Ensure a 1x cost model is selected.

Submit a question in only 1 of the active sessions.

Check the point/quota deduction.

Actual Behavior
A single question deducts 3 points from the quota, even though a 1x model is being used.

Expected Behavior
The question should only deduct 1 point, regardless of how many other inactive CLI windows or sessions are open in the background.

Additional Context / Workaround
Closing the other Copilot CLI windows immediately resolves the issue, and subsequent questions correctly return to deducting only 1 point.

### Affected version

 v1.0.24

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

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

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

調査の方向性

まず、説明されているとおり、複数の Copilot CLI ウィンドウ、再開したセッション、1x コストモデルを使って問題を再現します。1 つのセッションがプロンプトを送信する際に、他のウィンドウが開いている場合と閉じている場合で、クォータの差し引きを比較します。非アクティブなバックグラウンドセッションに関係なく、1 つのプロンプトで 1 ポイントだけ差し引かれれば完了です。

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

評価

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

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

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