Skip to content

feat(pr_wait_ci): short-circuit on empty status-check rollup#420

Merged
bakeb7j0 merged 1 commit into
kahuna/607-betafrom
feature/416-pr-wait-ci-short-circuit
May 6, 2026
Merged

feat(pr_wait_ci): short-circuit on empty status-check rollup#420
bakeb7j0 merged 1 commit into
kahuna/607-betafrom
feature/416-pr-wait-ci-short-circuit

Conversation

@bakeb7j0
Copy link
Copy Markdown
Contributor

@bakeb7j0 bakeb7j0 commented May 6, 2026

Implements pr_wait_ci empty-rollup short-circuit per mcp-server-sdlc#416.

Probes once at t=0 before polling. Empty rollup → returns immediately with { status: "no_checks_required", elapsed_sec, mergeable, blocker? } shape. Eliminates the 30-min hangs we saw in Plan #581 and #607's wave-1a (kahuna branches have no required CI).

Closes #416

Wave 4a / Flight 2 of Plan #607 (Beta). Sequenced after sdlc#414 due to docs/tools.md conflict; rebased clean.

When the head ref has no required status checks, return at t=0 with
{ status: 'no_checks_required', elapsed_sec, mergeable, blocker? }
instead of polling to timeout. Mergeable PRs return mergeable=true with
no blocker; obstructed PRs (draft/closed/conflicts/...) return
mergeable=false with a typed blocker.

Polling-loop behavior for non-empty rollups is unchanged.

Closes #416
@bakeb7j0 bakeb7j0 merged commit 4d45454 into kahuna/607-beta May 6, 2026
1 check passed
@bakeb7j0 bakeb7j0 deleted the feature/416-pr-wait-ci-short-circuit branch May 6, 2026 23:49
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.

2 participants