Pin published PR reviews to the reviewed checkout commit #2

Open
opened 2026-10-21 18:20:29 +00:00 by thesimplekid · 0 comments
Owner

src/disclose.rs omits commit_id from ReviewPayload even though the reviewed checkout SHA is available. A push during review can attach findings to a newer commit or cause invalid anchors.

Pass the actual reviewed commit through to the GitHub review payload, including recovery paths. Do not substitute the current remote head.

Validation: assert the serialized publication payload uses the reviewed SHA when the remote head differs.

src/disclose.rs omits commit_id from ReviewPayload even though the reviewed checkout SHA is available. A push during review can attach findings to a newer commit or cause invalid anchors. Pass the actual reviewed commit through to the GitHub review payload, including recovery paths. Do not substitute the current remote head. Validation: assert the serialized publication payload uses the reviewed SHA when the remote head differs.
Sign in to join this conversation.
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
thesimplekid/fiach#2
No description provided.