Skip to content

fix(classifier): prioritize pending checks over waiting for review - #22

Merged
DanielArndt merged 1 commit into
mainfrom
fix/pending-checks-priority
Nov 16, 2026
Merged

DanielArndt merged 1 commit into
mainfrom
fix/pending-checks-priority

Conversation

@DanielArndt

Copy link
Copy Markdown
Owner

Summary

  • Classify authored and assigned PRs with unfinished required checks as Pending Checks, even when a review is still outstanding.
  • Show Pending Checks alongside Awaiting Review or Approved reason pills, preserving workflow-approval and assignment pills.
  • Check explicitly required contexts before accepting a successful or absent status rollup, so required checks that have not reported yet remain pending.
  • Keep failed required checks and other actionable issues in Action Required; pending optional checks do not hide outstanding reviews after required checks pass.
  • Update the category documentation and add regression coverage for running and missing checks, legacy status contexts, assigned PRs, and optional checks.

Verification

  • xvfb-run -a make test — all suites pass, including 122 classifier assertions and native preferences verification.
  • npm ci && make lint — passes on the rebased branch.
  • git diff --check — passes.
  • Independent code review found no security concerns or logic errors.
  • Classifier exercised against a fetched live PR payload with a running required integration check and an outstanding review; it returns PENDING_CHECKS with Pending Checks and Awaiting Review reasons.

npm ci reports three moderate vulnerabilities in the existing development dependencies; this change does not modify dependencies.

@DanielArndt
DanielArndt enabled auto-merge (squash) November 16, 2026 14:25
@DanielArndt
DanielArndt merged commit 5fa0db9 into main Nov 16, 2026
8 checks passed
@DanielArndt
DanielArndt deleted the fix/pending-checks-priority branch November 16, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant