fabro/lib/crates/arc-cli
Bryan Helmkamp 5515c11aad Add GitHub App check to arc doctor for all builds, validate private key
The GitHub App check was gated behind #[cfg(feature = "server")] so it
never ran in CLI-only builds. It also only checked whether env vars were
set, not whether the key could actually sign JWTs.

- Move GithubAppStatus and check_github_app out of the server feature gate
- Try sign_app_jwt to validate the private key, catching corrupt keys
- Show app_id and slug in doctor output
- Keep server-only fields (client_id, client_secret, webhook_secret)
  behind #[cfg(feature = "server")]

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-10 08:55:14 -04:00
..
src Add GitHub App check to arc doctor for all builds, validate private key 2026-03-10 08:55:14 -04:00
tests Add arc-config crate and make arc-api optional via server feature flag 2026-03-09 23:50:41 -04:00
Cargo.toml Gate arc-exe behind exedev feature flag 2026-03-10 00:08:09 -04:00