fix(serve): preserve overlay rejection reasons #121

Open
iggy wants to merge 2 commits from agent/rejection-reason-20260803 into main
Contributor

A staged pre-commit on a shallow checkout selected an unpublished local parent. The daemon correctly rejected the unfetchable SHA, but the v3 HTTP adapter discarded the concrete git failure and returned a generic 409. This preserves the exact refusal in typed v3 summaries and legacy responses, with a regression test for the observed upload-pack/not-our-ref case.

A staged pre-commit on a shallow checkout selected an unpublished local parent. The daemon correctly rejected the unfetchable SHA, but the v3 HTTP adapter discarded the concrete git failure and returned a generic 409. This preserves the exact refusal in typed v3 summaries and legacy responses, with a regression test for the observed upload-pack/not-our-ref case.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
fix(serve): preserve overlay rejection reasons
All checks were successful
ci / rust-analyzer latency harness (S1 / AC#2) (pull_request) Has been skipped
ci / fmt (pull_request) Successful in 1m13s
ci / clippy (pull_request) Successful in 1m6s
ci / lane policy mutation proof (pull_request) Successful in 5m58s
ci / build (pull_request) Successful in 6m4s
ci / test (pull_request) Successful in 6m3s
c991e24a4d
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
All checks were successful
ci / rust-analyzer latency harness (S1 / AC#2) (pull_request) Has been skipped
ci / fmt (pull_request) Successful in 1m13s
ci / clippy (pull_request) Successful in 1m6s
ci / lane policy mutation proof (pull_request) Successful in 5m58s
ci / build (pull_request) Successful in 6m4s
ci / test (pull_request) Successful in 6m3s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin agent/rejection-reason-20260803:agent/rejection-reason-20260803
git switch agent/rejection-reason-20260803

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff agent/rejection-reason-20260803
git switch agent/rejection-reason-20260803
git rebase main
git switch main
git merge --ff-only agent/rejection-reason-20260803
git switch agent/rejection-reason-20260803
git rebase main
git switch main
git merge --no-ff agent/rejection-reason-20260803
git switch main
git merge --squash agent/rejection-reason-20260803
git switch main
git merge --ff-only agent/rejection-reason-20260803
git switch main
git merge agent/rejection-reason-20260803
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
triform/cargoless!121
No description provided.