Skip to content

Require an explicit required CI list for readiness #1388

Done

Description

@eowca

A trusted workflow that accidentally drops checks.required_ci silently opts out of every hosted check in local readiness. This can happen while copying a checks block or migrating the local runner. GitHub may enforce its own gates separately.

Offline replay

Use this trusted workflow with a clean task head, a passing loopzero check receipt and an eligible App review.

[repo]
name = "audit/example"
[checks]
commands = ["true"]
[delivery]
review_publishers = ["app[bot]"]

Stub GitHub so the head has a failed Policy check. loopzero ready makes zero check/status reads, prints ready, and exits 0. Adding required_ci = ["Policy"] makes the same call exit 1 with required check 'Policy' is failure. IntelFlo explicitly lists its three required contexts.

src/loopzero/config.py:239 defaults a missing key to an empty list. src/loopzero/github.py:1277 skips reading check signals for that value. Loader · Verdict

Acceptance

  • Before evaluating readiness or attempting merge with an omitted list, exit nonzero and name the workflow source and checks.required_ci. Tell the operator to list the required contexts or explicitly set required_ci = [] for an intentionally hosted-check-free repository.
  • A small offline regression distinguishes omission, explicit [], and a named failing check. Keep the existing loader and key.

Activity

  1. eowca commented on Nov 26, 2026

    @eowca
    ContributorAuthor

    Closed PR #1482 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

    Required-checks hold on #1788. The draft rejects workflows that currently omit the list, which can block delivery until those workflows name their hosted contexts or explicitly opt out. End condition: the decisions owner or human owner approves the readiness policy and confirms that affected workflows can adopt the explicit list.

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