github / github/copilot-cli

## Summary

Offen
#4,309 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
triage
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

## 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:
1. truly idle waiting-for-input state, and
2. 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.

_Originally posted by @PBtomt in https://github.com/github/copilot-cli/issues/4308_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Keine Quelldatei, kein Test und kein Einstiegspunkt wird genannt. Beginne damit, das verlinkte Issue 4308 und die Dokumentation zu Sitzungslimits zu prüfen, reproduziere dann eine inaktive interaktive Sitzung in Copilot CLI 1.0.75 und verfolge dabei die Credit-Nutzung; als erledigt gilt die Aufgabe, wenn festgestellt ist, ob die Nutzung ohne Eingaben fortschreitet und ob die CLI laufende Arbeit kenntlich macht.

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
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

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