fix(kanban): count board list entries through read-only DB paths - #83337
Open
alexgunsberg wants to merge 3 commits into
Open
fix(kanban): count board list entries through read-only DB paths#83337alexgunsberg wants to merge 3 commits into
alexgunsberg wants to merge 3 commits into
Conversation
added 3 commits
August 10, 2026 12:32
Keep named boards on physical paths so worker pins cannot collapse the registry, but still treat an override outside boards/<slug>/ as a legitimate default-board DB relocation.
This was referenced Aug 10, 2026
Contributor
fix(kanban): count board list entries through read-only DB paths
|
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
db_pathmode=roinstead of the migration/write initializerHERMES_KANBAN_DBpinning every row to one databaseRoot cause
hermes kanban boards listcalledkb.connect_closing(), which initializes/migrates the schema. Delegated child contexts correctly reject that mutation, but the helper swallowed the exception and rendered populated boards as empty. A worker DB pin could also make every row count the same database.Verification
uv run --with pytest pytest tests/hermes_cli/test_kanban_boards.py -q— 23 passeduv run --with ruff ruff check hermes_cli/kanban.py tests/hermes_cli/test_kanban_boards.py— passedgit diff --check— passed