github / github/copilot-cli

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

Offen
#2,648 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:models area:sessions
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### 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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, das Problem wie beschrieben mit mehreren Copilot CLI-Fenstern, fortgesetzten Sitzungen und einem 1x-Kostenmodell zu reproduzieren. Vergleiche den Quota-Abzug, wenn eine Sitzung einen Prompt übermittelt und die anderen Fenster geöffnet bzw. geschlossen sind. Als erledigt gilt, dass ein Prompt unabhängig von inaktiven Hintergrundsitzungen nur 1 Punkt abzieht.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.