live-tip-20260606183709-scheduler-concurrency-limit: Cap concurrent scheduler jobs and avoid over-subscription #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task/live-tip-20260606183709-scheduler-concurrency-limit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Assigned idea
scheduler concurrency: Edit task/instruction.md and set this task slug to live-tip-20260606183709-scheduler-concurrency-limit. Tune the scheduler to enforce a configurable max concurrency and verify queued jobs run in bounded batches instead of unlimited parallel fanout.
Approach: Edit task/instruction.md and set this task slug to live-tip-20260606183709-scheduler-concurrency-limit. Tune the scheduler to enforce a configurable max concurrency and verify queued jobs run in bounded batches instead of unlimited parallel fanout.
Verification: {"file":"src/scheduler/runner.ts","assertion":"The implementation must include a
maxConcurrentJobs(or equivalent) configuration that gates execution before dispatching tasks."}{"file":"test/scheduler/concurrency.test.ts","assertion":"Add a test that submits more than max jobs and asserts only max jobs are in-flight before completion."}
Risk: Live smoke generated task; validate by PR diff and gate result.
Required smoke edit: update task/instruction.md with live-tip-20260606183709-scheduler-concurrency-limit.
Agent context
Task slug: live-tip-20260606183709-scheduler-concurrency-limit
Branch: task/live-tip-20260606183709-scheduler-concurrency-limit
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.