* feat: add inherited low priority for background flows and scripts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep a low flow priority over step priorities and align the -1 boundary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: note the rolling-upgrade ordering and the renamed queue index
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor: order low priority by stored values instead of a coalesce index
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep a runnable's own priority when its caller has none
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: do not pass a flow step's default priority on to the jobs it starts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat: add prometheus metric queue_running_count
Adds a new Prometheus metric queue_running_count that tracks the number
of currently running jobs per tag, similar to the existing queue_count
metric but filtered for running=true instead of running=false.
Changes:
- Added get_queue_running_counts() function in windmill-common/src/queue.rs
- Added QUEUE_RUNNING_COUNT Prometheus metric in monitor.rs
- Added /workers/queue_running_counts API endpoint
- Updated OpenAPI specification
- Added SQLx query cache entry
Requested by @rubenfiszel
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* Remove database insertion for queue_running_count metrics
Keep Prometheus metrics and API endpoint functionality while removing
the database INSERT statements as requested.
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>
* sqlx
* improve logic
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>