[Bug] Unexpected triple point deduction when multiple sessions are active via /resume
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
### 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_
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il problema come descritto, con più finestre di Copilot CLI, sessioni riprese e un modello di costo 1x. Confronta la detrazione della quota quando una sessione invia un prompt con le altre finestre aperte rispetto a quando sono chiuse. Il lavoro è completato quando un prompt detrae solo 1 punto, indipendentemente dalle sessioni inattive in background.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100