You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Epic queue: an issue behind a skipped predecessor is reported "ready" ahead of unfinished earlier issues; /issues lacks skipped state and dependencies #3619
Issue 3557 was in flight and 3558 waiting on it, yet 3560 is ready: the schedule treats a skipped prerequisite as satisfied without looking further up the chain (packages/core/src/services/taskPlanning/epicQueueSchedule.ts). If the head stopped being in flight without settling (for example became blocked), ready.slice(0, slots) could start 3560 before 3558.
Separately, GET /api/planner/drafts/{id}/issues for the same draft shows 3559 as status:"pending" with no skipped state and depends_on_issues: [] for every issue, while the queue shows the chain. That route also returns a bare array without paging parameters but an object {issues,total,…} with them; page=-1 returns total: 0 and limit=0 returns hasMore: true.
Expected / acceptance criteria
When a skipped issue "satisfies its dependents", a dependent is ready only if the skipped issue's own prerequisites are satisfied (transitively); otherwise it is waiting and waitingOn names the unfinished ancestor. In the example 3560 is waiting on 3558.
A sequential queue never starts an issue while an earlier, non-skipped issue in publication order is unfinished.
/issues reports the same skipped state and dependency lists as the execution queue; invalid page/limit are 400; the response shape is the same with and without paging parameters (keep the bare-array form only if an existing client depends on it, and say so).
Tests for the transitive case in sequential and graph modes, including the head becoming blocked.
Implementation
packages/core/src/services/taskPlanning/epicQueueSchedule.ts and the planner draft issues route in packages/api/routes.
Notes
ProPR runs on SQLite only: do not add code or tests for other databases. The Studio display of skipped issues is handled by a separate UI issue; expose the data it needs here.
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-53619/claude-opus-5-5-epic-queue-an-issue-behin-20261117-0219-ipi3616-epic-0-9-d8bissue-3619-20261117-0219-claude-opus-5-5-ipi🔍 Track Task Execution