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
Context: ROADMAP.md → Admission queue with deferred pickup Related:#331 (closed bug—this is the feature successor)
Component
API or orchestration
Describe the feature
When admission is at capacity, persist tasks in a durable queue instead of failing them (see #331 live epic failure). Automatically re-attempt admission and continue processing in FIFO order with optional priority lanes as concurrency becomes available.
Must preserve: cancel semantics, idempotency semantics.
Must expose: queue position and ETA in task status / bgagent status.
Use case
#331 demonstrated mass failure when fan-out releases more children than the per-user concurrency cap. Hard-failing subtasks wrecks entire epics (#247). Users expect queueing, not 429-style task death.
Proposed solution
New state or sub-status: QUEUED / SUBMITTED with admission_pending: true.
Durable queue (DynamoDB GSI or SQS) polled by admission worker.
createTaskCore returns 201 with queue position when capped—not terminal failure.
Cancel removes from queue; idempotency keys dedupe.
Context: ROADMAP.md → Admission queue with deferred pickup
Related: #331 (closed bug—this is the feature successor)
Component
API or orchestration
Describe the feature
When admission is at capacity, persist tasks in a durable queue instead of failing them (see #331 live epic failure). Automatically re-attempt admission and continue processing in FIFO order with optional priority lanes as concurrency becomes available.
Must preserve: cancel semantics, idempotency semantics.
Must expose: queue position and ETA in task status /
bgagent status.Use case
#331 demonstrated mass failure when fan-out releases more children than the per-user concurrency cap. Hard-failing subtasks wrecks entire epics (#247). Users expect queueing, not
429-style task death.Proposed solution
QUEUED/SUBMITTEDwithadmission_pending: true.createTaskCorereturns 201 with queue position when capped—not terminal failure.queue_position, estimated wait.Other information
Successor to closed Fan-out orchestration mass-fails against the per-user concurrency cap (no queue/retry) #331—link in issue body when filing.
Design context:
docs/design/ORCHESTRATOR.md.This might be a breaking change