Skip to content

Show reusable local checks in loopzero status before GitHub lookup #1301

Not planned

Description

@eowca

A builder resuming a checked branch can be sent back through the heavy slot. When the branch has no PR, loopzero status tells the builder to pass loopzero check even if a valid receipt already exists. On an open PR, a pending CI check can hide the fact that local checks already passed.

An offline CLI replay with a clean head and no PR printed the rerun advice and made zero calls to the local receipt verifier. In the heavy-slot log for the 24 hours ending 2026-11-26 01:20 UTC, 22 runs were queued after a green run in the same checkout at the same recorded head, base and command. Their median total was 15.4 minutes. They consumed 98.9 run minutes and 240.1 queue minutes. This is the upper bound for the examined repeats. The log does not record why a builder retried or whether the full receipt fingerprint matched.

Have status report the current, reusable local receipt before querying GitHub, using the same verifier as readiness. When no draft exists and the receipt is valid, point directly to loopzero pr.

Acceptance criteria

  • A clean head with a passing, matching receipt shows local checks passed and points to pr when the branch has no PR. The receipt result is visible before remote lookup.
  • A missing, partial, failed, stale, or fingerprint-mismatched receipt, or a dirty worktree, never shows a reusable pass.
  • On an open PR, the local result is visible alongside the live readiness reasons. Readiness still verifies the receipt and all remote requirements.

Status · Receipt verifier · Resume contract

Activity

  1. eowca commented on Nov 26, 2026

    @eowca
    ContributorAuthor

    Not planned for now: its PR #1423 was closed on cost (#575 (comment)). Reopen with new evidence of a material, measured saving or failure.

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