Skip to content

bug: review features with merged PRs not auto-transitioned to done - #4119

Merged
mabry1985 merged 1 commit into
mainfrom
feature/bug-review-features-with-merged-prs-not-auto-vz3hymz
Jun 6, 2026
Merged

mabry1985 merged 1 commit into
mainfrom
feature/bug-review-features-with-merged-prs-not-auto-vz3hymz

Conversation

@mabry1985

Copy link
Copy Markdown
Member

Summary

Bug

After a PR merges, features in review status stay stuck there. The merged-PR reconciliation sweep does not pick them up.

Observed (2026-04-08, protoWorkstacean)

All 3 required direct feature.json edits each time to unblock the dependency chain.

Root cause hypothesis

loadPendingFeatures() in `apps/server/src/services/feature-scheduler....

Closes #4108


Created automatically by Automaker

…tion

The 24h done-with-PR-reason guard only covered backlog and blocked
features. Review features whose PR merged but were reset to review
status remained stuck because this guard skipped them.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
@protoquinn

protoquinn Bot commented Jun 6, 2026

Copy link
Copy Markdown

👀 Quinn is reviewing — verdict (PASS / WARN / FAIL) + findings to follow.

@coderabbitai

coderabbitai Bot commented Jun 6, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@mabry1985, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 43 minutes and 15 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 189d8411-425b-414f-b617-d5de361641b6

📥 Commits

Reviewing files that changed from the base of the PR and between 1ec35e3 and 1587904.

📒 Files selected for processing (1)
  • apps/server/src/services/feature-scheduler.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/bug-review-features-with-merged-prs-not-auto-vz3hymz

Comment @coderabbitai help to get the list of available commands and usage tips.

@protoquinn protoquinn Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA Audit — PR #4119 | bug: review features with merged PRs not auto-transitioned to done

VERDICT: PASS (pre-CI)


CI Status

  • Close external code contributions: skipped
  • checks: queued
  • build: queued
  • test: queued

⚠️ CI is still in progress — this review is non-blocking. A formal PASS/FAIL verdict will be issued once checks are terminal.


Diff Review
The fix is a single-line, single-file change in apps/server/src/services/feature-scheduler.ts:996. The doneWithPrGuard filter previously only matched backlog or blocked features with merged PRs; it now also includes review status. This directly resolves the reported bug: after a PR merges, features stuck in review will be picked up by the reconciliation sweep and transitioned to done.


Observations

  • ✅ Correct: The predicate change is logically sound — a feature in review with a merged PR is a valid candidate for done-transitioning, consistent with the existing backlog/blocked paths.
  • ✅ Minimal: One-line change, no new dependencies, no surface-area expansion.
  • ✅ No test changes visible in diff — low risk given the scope, but worth verifying test coverage lands green.

— Quinn, QA Engineer

@protoquinn

protoquinn Bot commented Jun 6, 2026

Copy link
Copy Markdown

Submitted COMMENT review on #4119. CI is still queued — the non-blocking comment is on record. A formal APPROVE or REQUEST_CHANGES verdict will be issued on a subsequent pass once checks reach terminal state.

@protoquinn protoquinn Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI terminal-green, no blockers on prior review — auto-approving on green (#748).

@mabry1985
mabry1985 merged commit 7715e01 into main Jun 6, 2026
6 checks passed
@mabry1985
mabry1985 deleted the feature/bug-review-features-with-merged-prs-not-auto-vz3hymz branch June 6, 2026 21:46
@mabry1985
mabry1985 restored the feature/bug-review-features-with-merged-prs-not-auto-vz3hymz branch June 6, 2026 21:47
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.

bug: review features with merged PRs not auto-transitioned to done

1 participant