You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reject saved check passes when declared input bytes change #1296
ready and merge can accept a passing local receipt after Git changes the bytes of a declared check input. The worktree still reports clean and the head SHA is unchanged. A fresh run can fail the check that readiness just accepted.
In a scratch repo I set a check to reject CRLF, declared input.txt as its input, and recorded a pass with 808ea4be. I enabled core.autocrlf and switched off and back onto the same task branch. The file then contained CRLF, and Git still reported clean. With fa78ebb4, a fresh check ran and failed, while the shared ready/merge path returned ready using the existing receipt and stubbed green GitHub signals.
#1137 fixed reuse within check. Readiness still matches the existing receipt on head, commands, cleanliness and settings, without checking its saved stage input keys. Receipt matcher · Input key
Acceptance
Compare existing saved stage input keys with the current keys before accepting the receipt. A changed or unavailable key blocks readiness with a message to rerun loopzero check.
An offline test proves an unchanged input still passes and the clean LF-to-CRLF checkout blocks through the shared ready/merge path.
A saved stage key is one hash of inputs and execution settings. Main permits inherited PATH, locale and CPU grants to vary at readiness, while stage reuse still binds them.
Normalizing the existing key would also loosen stage reuse. Skipping mismatches would admit the clean LF-to-CRLF stale pass this issue covers.
A separate readiness digest would preserve both behaviors, but needs an approved receipt-format change and a rerun path for older keyed receipts. A failed recomputation should also request a rerun, including on ValueError.
Lean ruling (26 Nov): no receipt-format change now (keep loop-zero minimal; tests budget is the bottleneck). #1762 closed unmerged; the separate readiness-digest design in the comment above is the route if this is reopened. Issue stays open, unassigned.
Activity
eowca commentedon Nov 26, 2026
Closed PR #1440 in the stale PR sweep. It conflicts with current main and has used both review rounds. This issue remains open for a fresh PR.
eowca commentedon Nov 26, 2026
eowca commentedon Nov 26, 2026
Lean ruling (26 Nov): no receipt-format change now (keep loop-zero minimal; tests budget is the bottleneck). #1762 closed unmerged; the separate readiness-digest design in the comment above is the route if this is reopened. Issue stays open, unassigned.