feat(kanban): add max_in_progress config to cap concurrent running tasks (#22981)#28420
Merged
Conversation
Salvages #22981 by @SimbaKingjoe. Adds 'kanban.max_in_progress' config that caps simultaneously running tasks. When the board already has N running, dispatcher skips spawning so slow workers (local LLMs, resource-constrained hosts) don't pile up and time out. Threads through dispatch_once(max_in_progress=) and gateway dispatcher config parsing with validation (warns on invalid/below-1 values).
Contributor
🔎 Lint report:
|
r266-tech
added a commit
to r266-tech/hermes-agent
that referenced
this pull request
May 26, 2026
Catches drift from NousResearch#28420 (feat(kanban): add max_in_progress config, merged 2026-05-19) — three dispatcher-reference surfaces describe kanban.failure_limit but not the new kanban.max_in_progress knob: - website/docs/user-guide/features/kanban.md (Dispatcher bullet) - AGENTS.md (Kanban one-pager) - skills/autonomous-ai-agents/hermes-agent/SKILL.md (Kanban bullet) Behavior documented per gateway/run.py:4784-4820 (validate_kanban_cfg): - unset = unlimited (default) - positive int = cap simultaneously-running tasks - non-integer or < 1 = logged invalid and ignored (so 0 does NOT pause spawning — this is an anti-footgun callout in all three places) No code change. Reference docs only.
1 task
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Salvages #22981 by @SimbaKingjoe.
Adds
kanban.max_in_progressconfig knob — caps simultaneously running tasks. When the board already has N running, dispatcher skips spawning more so slow workers (local LLMs, resource-constrained hosts) finish what they have before more pile up and time out.max_in_progresskwarg ondispatch_once()kanban.max_in_progressfrom config with validation (warns on invalid/below-1 values)Original branch was stale; applied substantive change manually onto current main. Authorship preserved via rebase merge.