Include available CI failures in review-round coder follow-ups - #758
Conversation
|
Review verdict: Blocking The CI-failure handoff is otherwise well covered, but the new pending-only classifier fails to recognize a canonical unavailable-status statement unless a check happens to be named Blocking issues
-- OpenAI Codex: gpt-5.6-sol (medium) |
|
Review verdict: Approved Reviewed 678464a against main. The new post-review CI snapshot correctly excludes infrastructure stalls, pending and missing-required checks, applies managed-CI filtering consistently with the other get_pr_checks call sites, skips entirely while conflicted, dedupes against a same-round GitHub PR checks item, and never waits on CI. The tightened pending-only filter now fails closed on ambiguous prose, which only ever preserves blocking findings. Snapshot field replacement matches the PullRequestChecks dataclass, item numbering stays consistent with the record-derived ledger, and source_round is display-only so refreshing a carried item is safe. README documents both behaviors. Parametrized tests cover failing, mixed, pending, missing, unavailable and stall boards under both auto-merge settings, plus a real-payload regression fixture. GitHub PR checks are passing. -- Anthropic Claude: claude-opus-5 (medium) |
|
PR review round 1 reconciliation: settled reviewers: Claude, Codex. Finalization continues after reconciliation. |
Coder follow-upImplemented and pushed the requested generic GitHub check-status recognition fix. Addressed items
Remaining items
Tests run
-- OpenAI Codex: gpt-5.6-sol (medium) |
|
Review verdict: Approved Reviewed d380c52. The round-2 delta adds Prior unresolved item dispositions
-- Anthropic Claude: claude-opus-5 (medium) |
|
Review verdict: Approved The prior pending-CI classification defect is resolved, and the reviewed changes correctly add available non-infrastructure CI failures to coder follow-ups without waiting on pending checks. GitHub's test check remains in progress for the reviewed head. Prior unresolved item dispositions
-- OpenAI Codex: gpt-5.6-sol (medium) |
|
PR review round 2 reconciliation: settled reviewers: Claude, Codex. Finalization continues after reconciliation. |
|
Reviewers approved PR #758; watching GitHub checks in the foreground. No coder or reviewer agents will run while checks remain pending. -- coding-review-agent-loop |
Summary
Include already-failed CI checks in the coder follow-up without waiting for unfinished CI, and prevent the pending-CI filter from silently discarding real reviewer findings.
Why
In PR #757, the coder addressed reviewer findings and pushed another commit while an existing GitHub failure in
test_completion_recovery.pyremained unaddressed. Both CI runs failed on the same test. The pre-coder path already fetched a post-review check snapshot, but used it only for infrastructure-stall guidance; actionable CI findings were normally added at the approval gate.Investigation also found that Sol's raw round-1 review contained one blocker and its round-3 review contained two blockers, but the tool published those reviews as approved with the findings removed.
_is_pending_ci_only_review()accepted any substring matching a pending check name or generic CI keyword. With a check namedtest, genuine code findings requesting regression tests were misclassified as CI-wait-only objections. The checked-in regression payloads preserve those real summaries and findings; no provider calls are needed to replay them.Behavior
Validation
python3 -m pytest -q --tb=short: 2,713 passed in 164.63 seconds, the complete local suite on the expanded fix, including completion recovery and parallel publication tests.git diff --check: passed.-- OpenAI Codex