Skip to content

Share the unknown-mergeability verdict with hosted eligibility #1255

Done

Description

@eowca

Hosted eligibility publishes success while GitHub is still computing whether a PR conflicts. Local readiness waits for the answer. This is a severe false green in the hosted status because it can outlive computation on the same SHA. GitHub's merge protection remains independent.

Offline replay at 7f504dee: return an open, approved source with green required checks, a valid local receipt, no findings and REST mergeable: null on all reads. loopzero ready exits 1 with “GitHub is computing mergeability.” loopzero.hosted exits 0 and publishes success, and loopzero.eligibility exits 0. Returning mergeable: false for the same fixture makes both paths fail.

Local adds the unknown-state blocker after shared readiness. Hosted invokes shared readiness and checks only the SHA again before publishing. src/loopzero/cli.py:341–343, src/loopzero/github.py:1258–1265, src/loopzero/eligibility.py:173–178, src/loopzero/hosted.py:83–92.

Acceptance

  • Use the existing unknown-mergeability predicate in shared readiness. Hosted cannot publish success while mergeability is unknown.
  • A bounded hosted refresh can observe unknown settle on the same SHA. Known mergeable with the other gates green passes, while a known conflict fails. Preserve the local wait behavior.

Activity

  1. eowca commented on Nov 26, 2026

    @eowca
    ContributorAuthor

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

    The hosted mergeability verdict change merged in #1759 at 48edeec09ee1fa99bc162adbf95f1dd9bc1125c4. IntelFlo’s hosted eligibility pin must advance to at least that commit. The coordinator owns the pin update.

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