Files
windmill/backend/windmill-queue
8cdb3425a2 feat: admit concurrency-limited jobs in order by default, per tag and priority (#12241)
* feat: admit concurrency-limited jobs in order behind an instance setting

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: never refuse admission to a job that already holds a slot

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: state the backlog cost and ignored priority in the setting description

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep the ordering helpers crate-private with a trusted-caller contract

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: refill every free slot from the front of the line in order

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: give each in-order wake helper its own doc comment

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: name time windows among the jobs that hold back the line in order

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* perf: read a concurrency key's line from an index in order

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: take a job's place in line when it is first pulled, not when queued

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: pin the slot-holder exemption and describe the ordering guarantee precisely

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: order a concurrency key's jobs per tag, by priority then place

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: describe in-order lines per tag and priority in the setting

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: let a job just woken fill its slot instead of waking past it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: read only the front of each line when waking in order

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: admit concurrency-limited jobs in order by default

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep in-order wake and head check bounded past canceled waiters

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: never let a job gone from the queue hold a concurrency line

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: delete the concurrency key of a job removed without running

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep a finished job's ended concurrency key when deleting jobs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjsYvw1LYaHBvj7gVXedY2

* fix: skip rows locked elsewhere when waking in order, which could deadlock

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjsYvw1LYaHBvj7gVXedY2

* chore: update ee-repo-ref to 0443bfec5d1ff9971133ea41b67ecde4c350d0e3

This commit updates the EE repository reference after PR #958 was merged in windmill-ee-private.

Previous ee-repo-ref: 95df6fffef58527429697f82ee9609d64b9831c4

New ee-repo-ref: 0443bfec5d1ff9971133ea41b67ecde4c350d0e3

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-06 10:44:57 +00:00
..