Skip to content

Reject saved check passes when declared input bytes change #1296

In progress

Description

@eowca

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.
  • Reuse the existing input key and receipt fields.

Activity

  1. eowca commented on Nov 26, 2026

    @eowca
    ContributorAuthor

    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.

  2. eowca commented on Nov 26, 2026

    @eowca
    ContributorAuthor
  3. eowca commented on Nov 26, 2026

    @eowca
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions