codeburn/docs
ozymandiashh 8b5bd3ed4c fix(menubar): follow the credential's GitHub host for Copilot quota
Both Copilot quota readers hardcoded
https://api.github.com/copilot_internal/user and dropped the host their
credential was read from, so an enterprise on a GitHub Enterprise Cloud
data-residency host (<tenant>.ghe.com) could only ever report
"Temporarily unavailable": its token is not a dotcom token, and dotcom is
not an endpoint it may be sent to.

A discovered credential now carries its host. hosts.json is keyed by
GitHub host and newer apps.json files key by "<host>:<app id>", so the
token and the host always come from the same entry; the rungs that carry
no host of their own (an app-name apps.json key, COPILOT_GITHUB_TOKEN /
GH_TOKEN / GITHUB_TOKEN, gh auth token, a pasted token) mean dotcom. The
endpoint follows the host: api.github.com for github.com, and
api.<tenant>.ghe.com for an Enterprise Cloud host. With several hosts
signed in github.com wins, otherwise the first .ghe.com tenant in sorted
order, which keeps the pick stable across reads; with exactly one, that
host is used.

A host neither rule can address, such as a self-hosted GitHub Enterprise
Server install, fails with a message naming that host instead of falling
back to dotcom, and network and HTTP failures name the host that was
tried. macOS Settings now says which host answered in the Copilot
connection row. Tokens are still never logged and sanitizeForUI is
unchanged.

Closes #1286
2026-09-12 05:56:05 -07:00
..
design feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
providers fix(menubar): follow the credential's GitHub host for Copilot quota 2026-09-12 05:56:05 -07:00
release-acceptance test(perf): add Phase 0 wait-path harness and pin main baselines 2026-08-29 23:45:46 +05:30
sync feat(sync): additive CB-3 usage-span fields and coverage watermark (Teams boundary spec section 7) (#1135, #1140) (#1147) 2026-08-25 11:32:45 -07:00
architecture.md docs: sync provider registry, test inventory, and Gemini page with the tree 2026-09-01 05:27:15 -07:00
optimize.md Merge remote-tracking branch 'origin/main' into feat/optimize-recurring-context 2026-08-18 03:31:16 -07:00