settings/hooks changes require a full CLI restart with no notice or hot-reload signal

Offen
#5,595 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
cli

Rechercherichtung

The issue identifies settings.json and the live interactive CLI session, but names no source files or tests. Start by tracing where settings are loaded at startup and how the CLI handles settings changes; compare the watcher and restart notice options described here. Done means settings changes are detected live or users receive a clear notice that they require a restart.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area:configuration area:plugins

Build: 1.0.115, both packaging forms.

Repro:

  1. With a live interactive CLI session, add a hooks entry (e.g. a Notification hook script) to settings.json.
  2. Trigger events that should fire the hook (background task completion, notifications).

Actual: the hook never fires for the running process (hooks are read at startup only). Verified x3 on one machine, x1 on a second: the same config change works in the next session but is silently inert in the live one. Same class for other settings (e.g. removing dead AHP connections does not stop the refresh loop until restart — see U1).

Expected: either live re-read on file change (watcher), or a one-time notice in-session ("N settings changes will apply after restart"), so long-lived agents/sessions can detect why an event hook is inert. For automation-heavy users (hooks + notifications are the primary external integration surface), silent inertness causes hours of misdiagnosis.

Adjacent prior: #4508 (mid-session instruction reload FR).

Vorherrschende Sprache
Python
Sterne
11.5k
Forks
2k
Ø Merge
6 Std. 34 Min.
Gemergte PRs (30 T.)
3

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/copilot-cli

Alle Issues in github/copilot-cli

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

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