fabro/lib/crates/fabro-github/src
Bryan Helmkamp 964c31837e
refactor(workflow): reuse GitHubCredentials::resolve_bearer_token
Make GitHubCredentials::resolve_bearer_token public and call it from
run_metadata::mint_token instead of re-implementing the JWT-sign +
installation-token branch. Eliminates the unreachable!() that arose from
matching the same enum twice.

Also drop the metadata_ field-name prefix on RunMetadataRuntime fields
(degraded, warning_emitted) — the prefix is redundant inside a struct
already named RunMetadataRuntime. Method names unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 10:12:31 -04:00
..
testdata Use static RSA key fixture to fix fabro-github test timeouts 2026-03-29 13:47:09 -04:00
lib.rs refactor(workflow): reuse GitHubCredentials::resolve_bearer_token 2026-05-01 10:12:31 -04:00