You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 Copilot CLI's own save re-breaks the config.json relink after launch (#18445 follow-up) #18671
#18445 relinks a per-agent ~/.copilot/config.json to the shared /data/home/.copilot/config.json at launch and restart, and the poller repairs it before a login-prompt restart. But the Copilot CLI does its atomic save (temp file + rename) a few seconds after it starts, which replaces the fresh symlink with a private regular file again.
Seen on a v6.41.0 hive (Bluefin) on 2026-11-17: right after the upgrade, every Copilot agent's config.json was a regular file again within seconds of launch. Today the copies match the shared login, so agents work. But a later dashboard re-login (device flow) only updates the shared file, so it does not reach running agents until each one restarts, and the probe then flags them as diverged.
Expected
A dashboard re-login reaches every running Copilot agent without a restart, and the per-agent config.json stays linked (or in sync) after the CLI's own saves.
Possible approaches (pick in the PR)
Watch the per-agent .copilot/ dir (fsnotify, or the existing poll loop) and relink when the CLI's rename replaces the symlink, copying any newer CLI-written fields back to the shared file first so they are not lost.
Or, on a shared-file change (dashboard login), propagate the new token into each per-agent private copy instead of relying on a link.
A hive agent asked to open a pull request that would close this issue, but it is already claimed by clubanderson. No PR was opened; the owner decides whether to proceed.
Fixed in #18673 (merged to v5): the pane poller now relinks a running Copilot agent's config.json within one poll interval of the CLI's own save, merging CLI-written non-credential fields into the shared file first (shared login wins), so a dashboard re-login reaches running agents without a restart. The #18445 guard for a private copy holding the only login is kept.
Activity
clubanderson commentedon Nov 17, 2026
Claimed: a dispatcher agent is working on this now.
hivecommons-hive commentedon Nov 17, 2026
A hive agent asked to open a pull request that would close this issue, but it is already claimed by clubanderson. No PR was opened; the owner decides whether to proceed.
hivecommons-hive commentedon Nov 17, 2026
Thanks for filing this issue! To help us reproduce and investigate, could you please include the commit SHA of the build you're running?
You can find it by running:
Or check the bottom of the console UI for the version string.
This issue will be on hold until a SHA is provided. Simply add a comment with the SHA and the label will be automatically removed.
clubanderson commentedon Nov 17, 2026
Fixed in #18673 (merged to v5): the pane poller now relinks a running Copilot agent's config.json within one poll interval of the CLI's own save, merging CLI-written non-credential fields into the shared file first (shared login wins), so a dashboard re-login reaches running agents without a restart. The #18445 guard for a private copy holding the only login is kept.
🌱 chore: top up v6 from v5 (2026-11-17, second pass)
🌱 chore: top up v6 from v5 (2026-11-17, second pass) (#18689)
🌱 chore: top up v6 from v5 (2026-11-18) (#18929)