Skip to content

fix(gator): resume reviews after process blockers clear #6085

Done

Description

@johntmyers

User Story

The operator uses supervised OpenShell Gator sandboxes on a Kubernetes gateway and directly encountered #5361 remaining blocked after workflow approvals and required CI completed.

Problem Statement

A marked process-only blocker comment consumes the same-head disposition slot even when it explicitly says the reviewer was deferred. Once approvals or other process blockers clear, Gator suppresses the first code review and asks for a new commit or a same-head override. Non-required check statuses must also not prevent review or handoff.

Impact / Why This Matters

A PR can remain blocked indefinitely despite resolution of the original blocker. Operators must intervene or restart with special instructions.

Acceptance Criteria

  • Reconcile resolved blocker labels and internal state on an unchanged head.
  • Permit the first code review after an explicit process-only deferred-review report.
  • Preserve duplicate-review protection and reject repeated process reports and same-head CI comments.
  • Do not block progression on non-required or advisory check statuses; retain required and selected test-suite coverage gates.
  • Cover the guard and ledger behavior with regression tests and update immutable payload guidance.

Reproduction Steps

  1. Launch a supervised Gator watcher for an open PR whose required workflows await approval.
  2. Let it post a marked Blocked comment explicitly deferring the reviewer.
  3. Approve the workflows manually and let required CI and E2E complete without changing the PR head.
  4. Observe the watcher report same_sha_disposition_guard rather than proceeding with its first code review.

Environment

Suggested UX

After the blocker clears, Gator removes the blocked label, performs its first review, and posts one PR Review Status for that head. Existing completed reviews still suppress duplicate review runs.

Activity

  1. added
    area:build
    topic:dx
    on Nov 30, 2026
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

    area:buildtopic:dx

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions