mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-06 08:18:58 +00:00
Replace hand-built RequestAuthContext literals in github_webhook with the existing ::invalid()/::authenticated() constructors, collapse the duplicate demo/real principal layers into a single cloneable layer, and forward the _with_anyhow error constructors to their _with_source twins to drop the duplicated cause-collection bodies. refresh_credential_from_headers now reuses jwt_auth::bearer_token_from_headers for Authorization parsing. test_support shares one TEST_DEV_TOKEN-derived bearer header instead of a hand-pasted literal. Replace for-loops in principal/cli_flow tests with per-variant cases to honor the no-loops-in-tests rule. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||