Description
Problem
An open epic PR keeps the working state and the line 🔨 N of M issues merged · #X starts next while nothing is running and its only open sub-PR needs a person. The epic title keeps a working circle (◔/◑) and never shows ⚠️.
Observed on epic PR #3563 (body edit history):
- 2026-11-16 05:10–08:01 UTC:
🔨 10 of 21 issues merged · #3552 starts nextwhile sub-PR [3551 by Claude Opus 5.5] Plugin slash commands: prompt commands on issues and pull requests #3580 was⚠️⑥(Ultrafix had exhausted its cycles at 04:09). - 2026-11-16 08:07–09:11 UTC: the same line while [3551 by Claude Opus 5.5] Plugin slash commands: prompt commands on issues and pull requests #3580 was
✅⑧and waiting for a human merge. - 2026-11-16 23:00–23:57 UTC:
🔨 15 of 21 issues merged · #3557 starts nextwhile [3556 by Claude Opus 5.5] Official plugin: Linear (start work from a ticket, keep the ticket in sync) #3588 was⚠️⑥; issue Official plugin: Jira Cloud (start work from a ticket, keep the ticket in sync) #3557 had still not started two hours later. - Of the epic's 20 title renames none is
⚠️, including 9.5 hours on 2026-11-15 when [3548 by Claude Opus 5.5] Plugin handlers: SDK types, scoped ProPR client, outbound HTTP, plugin state and the core-import lint rule #3573 sat at⚠️⑥.
Expected
As documented in docs/docs/features/pr-status.md (Epic pull requests): the epic is needs_attention when nothing runs and a sub-PR needs you or is ready and waits to be merged into the epic branch, e.g. ⚠️ … #3580 (issue #3551) waits to be merged into the epic branch. "#X starts next" is right only when the queue can really start #X now.
Acceptance criteria
- With no running work and an open sub-PR in
needs_attention, the epic isneeds_attentionnaming that sub-PR, for sequential, parallel and graph queues. - With no running work and an open sub-PR that is
ready, the epic isneeds_attentionwith the "waits to be merged" reason. - A pending issue makes the epic
working("starts next") only when the queue can dispatch it now: its prerequisites are merged, the queue is not waiting for an unmerged sub-PR and has a free slot. - The epic title slot follows the same state (
⚠️in the cases above). - Regression tests reproduce the ◕ 20/20 [Epic] Plugin system: manifest, handlers, commands and official plugins #3563 situations (sub-PR at
⚠️ with pending issues behind it; sub-PR at ✅ waiting for merge) and fail on the current code.
Implementation
The state is decided in packages/core/src/services/pullRequestStatus/pullRequestStatus.ts (epic branch, around the epic.nextIssueQueued && !epic.queuePaused check, which is evaluated before the child needs_attention / ready checks) and nextIssueQueued is computed in pullRequestStatusEpicFacts.ts. Make nextIssueQueued mean "dispatchable now" for every queue mode (the graph and parallel modes currently count any pending issue), or evaluate child attention/ready first when the next issue cannot start. Keep the documented precedence otherwise. Update docs/docs/features/pr-status.md only if wording there is wrong.
Notes
ProPR runs on SQLite only: do not add code or tests for other databases. Do not change how the queue itself dispatches issues; this is a status computation fix.
Activity
propr-dev commentedon Nov 17, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53589/claude-opus-5-5-epic-pr-status-show-needs-20261117-0116-9vt3589-epic-0-9-y3wissue-3589-20261117-0116-claude-opus-5-5-9vt🔍 Track Task Execution