Skip to content

feat(scheduling): add strict FIFO lanes - #18

Closed
psteinroe wants to merge 15 commits into
feat/soft-concurrencyfrom
feat/fifo
Closed

psteinroe wants to merge 15 commits into
feat/soft-concurrencyfrom
feat/fifo

Conversation

@psteinroe

Copy link
Copy Markdown
Owner

Add opt-in strict FIFO processing with one persistent owner per (queue, task). FIFO tasks ignore priority and retain ownership across retries, sleeps, child waits, and recovery until a guarded terminal transition releases the lane.

Future executions that have never started do not block runnable work. FIFO is mutually exclusive with soft task/group concurrency at both the type and database levels.

This also fixes live-queue refill behavior in the concurrent mapper so newly available work cannot deadlock behind an active task.

Stacked on #17.

Closes #12

@psteinroe
psteinroe force-pushed the feat/soft-concurrency branch from 534b688 to 7e3838b Compare September 15, 2026 05:02
@psteinroe
psteinroe removed this pull request from stack #25 September 15, 2026 11:41
@psteinroe
psteinroe force-pushed the feat/soft-concurrency branch from 7e3838b to fe8c04a Compare September 15, 2026 11:49
@psteinroe

Copy link
Copy Markdown
Owner Author

Closing because the strict FIFO design has been intentionally replaced with PostgreSQL-style best-effort ordering by priority, run time, creation time, and ID.

@psteinroe psteinroe closed this Sep 15, 2026
@psteinroe
psteinroe deleted the feat/fifo branch September 15, 2026 11:55
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.

1 participant