Skip to content

feat(jobs): merge durable queue into status APIs - #33

Merged
Zacgoose merged 1 commit into
mainfrom
dev
Aug 12, 2026
Merged

feat(jobs): merge durable queue into status APIs#33
Zacgoose merged 1 commit into
mainfrom
dev

Conversation

@Zacgoose

Copy link
Copy Markdown
Contributor

Add a new JobQueueStatusReader that builds cached, table-backed queue snapshots and merges them with local JobManager data for summaries, run views, and job lists. Wire it into /API/jobs endpoints and worker/queue bridges, and expose split queued metrics (local vs durable) so health/status no longer underreport large fan-out backlogs.

Also add durable queue maintenance paths (list, remove task rows, reprioritize unclaimed rows) plus safer cancel semantics in orchestration with status-guarded pending-task cancels to avoid race-driven counter corruption. Includes focused tests for the new reader, queue store maintenance APIs, and cancel guard behavior.

Add a new JobQueueStatusReader that builds cached, table-backed queue snapshots and merges them with local JobManager data for summaries, run views, and job lists. Wire it into /API/jobs endpoints and worker/queue bridges, and expose split queued metrics (local vs durable) so health/status no longer underreport large fan-out backlogs.

Also add durable queue maintenance paths (list, remove task rows, reprioritize unclaimed rows) plus safer cancel semantics in orchestration with status-guarded pending-task cancels to avoid race-driven counter corruption. Includes focused tests for the new reader, queue store maintenance APIs, and cancel guard behavior.
@Zacgoose
Zacgoose requested a review from JohnDuprey August 12, 2026 16:51
@Zacgoose
Zacgoose merged commit e9787cc into main Aug 12, 2026
7 checks passed
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.

2 participants