fix: scan all kanban boards for active workers - #72750
Open
the24thLetter wants to merge 2 commits into
Open
the24thLetter wants to merge 2 commits into
the24thLetter wants to merge 2 commits into
Conversation
the24thLetter
force-pushed
the
agent/scan-all-kanban-boards-active-workers
branch
from
July 30, 2026 11:19
4b99ccc to
14db1a9
Compare
Collaborator
|
Thanks for the focused fix. The premise is present on current Automated hermes-sweeper review. |
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.
Summary
GET /api/plugins/kanban/workers/activeis called without aboardparameter.task_runsrow with a PID still counts without requiringtasks.current_run_id.HERMES_KANBAN_DBaliases do not report the same worker multiple times.Root cause
The gateway dispatcher enumerates all boards, but the dashboard endpoint resolved an omitted
boardparameter to only the current board. A worker running on another board was therefore invisible and the endpoint could incorrectly returncount=0.Scope
This is a narrow reimplementation of the worker-visibility fix from #33923 on current
main. It intentionally excludes the unrelated ledger, review-gate, scripts, generated assets, PID fallback, and diagnostic changes from that PR.Validation
Added focused coverage for:
tasks.current_run_idboardis omittedHERMES_KANBAN_DBThe rebased endpoint and test additions pass Python AST syntax validation. Repository CI is awaiting maintainer approval to run for this fork-originated PR.