Repository navigation
fleet gh: credential/token cache daemon (code#10742) - #10815
Conversation
Every fleet gh call re-resolved secrets, re-signed JWTs, re-listed installations and re-minted tokens; the 2026-11-16 watchdog could not clear a ~41h backlog in 10 min. Add a memory-only single-flight cache daemon as a shadow subcommand of the existing fleet gh domain (no new registry Capability): - fleet-config [gh] table (cache_local, cache_laptop) plus DEFAULT_GH_CACHE_PORT=4802; precedence flag > FLEET_GH_CACHE env > config > defaults; --no-cache empties the route. - crates/fleet/src/gh_cache.rs: TTL cache (secrets/JWTs/tokens/ installation lists), single-flight minting, newline-delimited JSON TCP wire protocol, client helpers, status snapshot. - gh.rs: RawMinter backend (secret/JWT/list/mint split), FleetTokenProvider daemon-first routing with one visible stderr note on transport fallback; daemon answers are authoritative. - fleet gh cache-serve / cache-status shadow subcommands. Tests: 49 fleet bin + 48 fleet-config pass.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 52 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Closes #10742.
Every fleet gh call re-resolved secrets, re-signed JWTs, re-listed installations and re-minted tokens; the 2026-11-16 watchdog could not clear a ~41h backlog in 10 min.
What this adds (shadow subcommand of the existing fleet gh domain, no new registry Capability):
Proof:
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.