Repository navigation
fix(gator): review new commits while CI dispatch is blocked - #6275
johntmyers wants to merge 2 commits into
Conversation
Signed-off-by: John Myers <johntmyers@users.noreply.github.com>
There was a problem hiding this comment.
gator-agent
PR Review Status
I reviewed the workflow guidance and App approval regression cases while Branch Checks ran. The guidance keeps code inspection separate from workflow execution authorization. The new approval recovery path has one blocking gap in how it verifies selected test suites.
Action required: Verify selected suite results on the reviewed head before the App reuses a test-dispatch-blocked review.
Blocking findings:
GATOR-ccb017f6-01: The App can reuse a test-dispatch-blocked review while a selected suite still lacks a passing result.
Carried findings:
- None.
Non-blocking suggestions:
- None.
Gator metadata
- Validation: Accepted PR scope addresses #6274. PR Issue Acceptance passed.
- Docs: Gator operator and agent guidance updated. No change to the OpenShell CLI, API, or sandbox interface.
- Checks: Branch Checks pending. Other reported branch-required CI checks passed. Maintainer Approval is evaluated at handoff.
- E2E: No runtime test suite selected for this agent-policy and guard change.
- Head SHA:
ccb017f6ab344547c187bafead91277904e5e983 - Base SHA:
0fd185aad77f99149c8f81382a90293f8eaa88b3 - Merge base SHA:
0fd185aad77f99149c8f81382a90293f8eaa88b3 - Patch ID:
14a749d75b213d9dc42351ed1f793e4cf87c086b - Gator payload:
25 - Review mode:
initial - Previous reviewed SHA: none
- Review budget exhausted: no
- Maintainer decision required: no
- Next state:
gator:in-review
| | (.summary_body // "") as $body | ||
| | [$body | scan("(?m)^- Next state: ([^\\r\\n]+)\\r?$")[] | gsub("`"; "")] as $next | ||
| | ($next | IN(["gator:watch-pipeline"], ["gator:approval-needed"], ["gator:merge-ready"])) or | ||
| ($next == ["gator:blocked"] and |
There was a problem hiding this comment.
gator-agent
Warning · GATOR-ccb017f6-01 · Require selected suite results before reusing a blocked review
Summary. On a maintainer-authored PR, the App can now reuse a clean review recorded as blocked on test dispatch once the branch-required checks are green. The CI guard only sees checks in the branch rules and accepts skipped checks. A selected suite such as Kubernetes HA under test:e2e-kubernetes can still be missing or unsuccessful when the App submits approval.
Fix. Require successful execution on the reviewed head for every selected, applicable suite before reusing the blocked review. Preserve legitimate skips for inapplicable jobs.
Verify. Cover a clean blocked review with green branch-required checks. Approval must be withheld when a selected suite lacks a successful result on that head, and allowed once every applicable suite passes.
Agent context
- Location:
.agents/agents/gator/bin/gh:303 - The new branch makes the existing required-check filter sufficient for a disposition the guard previously rejected.
Signed-off-by: John Myers <johntmyers@users.noreply.github.com>
Summary
Separate code-review eligibility from CI readiness so workflow approval delays do not stall initial or follow-up reviews. Required CI and actual applicable test-suite execution still gate PR approval and all-clear.
Related Issue
Closes #6274.
Changes
Release Notes
Testing
Passed the feedback-ledger, same-SHA/App-approval guard, workflow-approval helper, review-team, and findings-validator suites. Markdown lint, YAML parsing, shell syntax, and diff whitespace checks passed. Added guard regression cases for a clean test-dispatch-blocked review after CI passes and rejection for pending/failing/missing CI, other blockers, maintainer decisions, and outstanding findings. Guidance checks cover continued review and the current-head CI/test gate.
Commit hooks were skipped under the operator's earlier authorization; focused checks ran separately. Existing watchers were not changed during implementation.
Checklist