fabro/lib
Bryan Helmkamp c313e34605
Trust the driver's pinned clone instead of re-reading HEAD
A clone pinned to a commit or tag ran a second `git rev-parse HEAD`
through exec and compared it with the pin. The pre-driver clone could
land on the branch head when a pin was unavailable, and the check
existed for that case. The driver's clone fetches the pin directly and
attaches the branch with `checkout -B <branch> <pin>`, which fails when
the pin is absent, so a successful clone already has the pin checked
out; the driver's conformance suite verifies that on every provider.

`PinnedRevision` keeps only what the clone decision still uses: which
kind of pin was asked for, for the error messages.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-11 09:32:09 -06:00
..
apps Read a mock sandbox's recordings from the driver double 2026-09-10 16:55:05 -06:00
components Trust the driver's pinned clone instead of re-reading HEAD 2026-09-11 09:32:09 -06:00
foundation Map an environment straight onto the driver's sandbox spec 2026-09-10 16:44:21 -06:00
packages/fabro-api-client Merge origin/main into the sandbox-driver adoption 2026-09-10 13:37:11 -06:00