Files
ngit-grasp/tests/common
DanConwayDev c1255eac48 fix(grasp06): recover placeholder scope from a surviving ref
A crash can leave a /prs/ ref installed without its purgatory checkpoint.
Recover the scope from the signed event's service-local clone URL, signer,
identifier, and exact event-id ref and commit. This lets git-first PR events
complete after restart without relaxing URL or commit validation.

Assume the signed local URL names the intended contributor repository.
Standard endpoint recovery and object staging are separate changes.

Validation: nix develop -c cargo test --test grasp06_pr_hosting
pr_event_after_crash_recovers_prs_placeholder_scope passed.

Assisted-by: GPT-6
2026-09-29 09:16:41 +00:00
..