fix(queue): preserve pending payloads during shutdown (CL22)

This commit is contained in:
Boki 2026-10-28 13:48:28 -04:00
parent 5400dba47e
commit 3fc0a272d8
6 changed files with 266 additions and 87 deletions

View file

@ -3750,7 +3750,7 @@
"epic": "E13",
"priority": "P1",
"severity": "High",
"status": "in_progress",
"status": "done",
"dependencies": [],
"decision_dependencies": [],
"task_file": "backlog/tasks/CL22.md",
@ -3760,7 +3760,9 @@
"completed_commit": null,
"blocker": null,
"release_gates": [],
"completion_evidence": "architecture-cleanup-execution.md"
"completion_evidence": "architecture-cleanup-execution.md",
"integration_state": "accepted",
"validation": "Queue library tsc build passed; independent root queue-lifecycle and cache-ownership suites passed (see /tmp/stock-bot-cl22-root.log). Scoped lint/format passed. Pending payload ownership, drain behavior, and connection cleanup covered without service mutation."
},
{
"id": "CL23",
@ -3793,7 +3795,7 @@
"complexity": "M",
"assignment": null,
"write_locks": ["CL24"],
"completed_commit": null,
"completed_commit": "5400dba47ee4fbd0f1aa0f12a358864df6bb7a38",
"blocker": null,
"release_gates": [],
"completion_evidence": "architecture-cleanup-execution.md",
@ -10383,7 +10385,7 @@
],
"work_policy": "Root integrates/commits reviewed tasks; agents own disjoint explicit files in the root integration worktree. Only root builds shared outputs and runs combined gates. No isolated native agent build claim.",
"first_wave": ["CL22", "CL23", "CL24"],
"completed": 1,
"last_verification": "Root reviewed route compatibility, removed demo-only consumers and real App rendering. Focused home/navigation tests passed; scoped lint/format passed. Final browser gate pending combined source."
"completed": 2,
"last_verification": "Queue library tsc build passed; independent root queue-lifecycle and cache-ownership suites passed (see /tmp/stock-bot-cl22-root.log). Scoped lint/format passed. Pending payload ownership, drain behavior, and connection cleanup covered without service mutation."
}
}