mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
`branch_head_sha` existed to keep callers compiling while the branch-head lookup moved onto the repository reader. Its last caller now opens a reader directly, so the wrapper only made the typed API worse: it joined an already-validated owner and repo into a slug so the reader could split them apart again, invented an "invalid repository coordinate" error for a value validated upstream, opened a fresh credential session per call, and flattened `RepositoryReadError` into `anyhow` while keeping one variant — leaving callers unable to tell a rate limit from a rejected token. Its integration test pinned the wrapper rather than the behavior. Replace it with one that asserts the same 404-means-not-observable semantics through `resolve_commit`, which is where that contract actually lives. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||