Skip to content

fix(board): leave archived tasks out of agent board listings - #690

Merged
artempartos merged 1 commit into
developfrom
artempartos/fix-workflows-count-archived
Nov 11, 2026
Merged

artempartos merged 1 commit into
developfrom
artempartos/fix-workflows-count-archived

Conversation

@artempartos

Copy link
Copy Markdown
Contributor

Why

The board page, the board API and the column counts all hide archived tasks. The tools agents use to read the board did not:

  • board_list_tasks (workflow step sessions) returned archived tasks mixed in with active ones and had no way to filter them out.
  • list_board_tasks (personal MCP) returned both unless the caller passed archived: false.

A workflow step that plans from the board (for example, picking the next task to start) therefore treated archived cards as live work, unless its instructions told it to skip them. Inside the same session, board_get_board_info reported column counts without archived tasks while board_list_tasks returned them.

What changes

  • Both tools list active tasks only by default.
  • New include_archived: true adds archived tasks to the listing. Each row's archived field tells the two apart (the personal tool's rows now carry it too).
  • list_board_tasks no longer takes archived. include_archived replaces it. An old archived: true call ("archived only") now gets active tasks, so the CHANGELOG entry calls this out.

Verification

  • test/services/internal_tools/board_read_tools_test.rb and test/integration/personal_mcp_board_test.rb: default leaves archived out, include_archived: true lists both with the right archived flag, and the step tool advertises the flag in its schema.
  • Ran locally against a private Postgres: these two files plus the tool registry, MCP controller, personal MCP and changelog tests (209 runs, all green). Rubocop is clean on the changed files.
  • Full suite: CI.

🤖 Generated with Claude Code

The board, its API and the column counts all hide archived tasks, but
board_list_tasks (workflow steps) returned them with no way to filter,
and personal-MCP list_board_tasks returned them unless asked not to. A
planner step reading the board took archived cards as live work.

Both now list active tasks only; include_archived: true adds archived
ones. The personal tool's archived filter is replaced by that flag, and
its rows now carry `archived` so the two kinds can be told apart.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
@artempartos
artempartos merged commit 38f106a into develop Nov 11, 2026
17 checks passed
NOX73 added a commit that referenced this pull request Nov 11, 2026
…s-0-1-0

* origin/develop:
  feat(coder): clone GitLab, Bitbucket and Azure DevOps repos in coder_prepare_repo (#703)
  fix(agents): show each runtime's own logo everywhere (#704)
  feat(teams): assign cards to a team and run triggers as a team (#701)
  feat(agents): collect the Copilot CLI transcript as a session log (#700)
  fix(agents): keep Grok and Antigravity conversations in the terminal scrollback (#698)
  feat(billing): redesign the Billing tab around active and previous subscriptions (#646)
  feat(web): switch the UI, admin, public pages and emails to Inter (#699)
  chore(deps): weekly dependency batch — aws-sdk-core 3.267 retry fix, prism 2, Mantine 9.7.5, runner Go 1.27.4 (#697)
  fix(board): leave archived tasks out of agent board listings (#690)
  feat(agents): add GitHub Copilot CLI as an agent runtime (#684)
  feat(runners): the callback proxy — the proxy sidecar, the host runner relay and the gateway proxy route (task #216, 8b) (#677)

Signed-off-by: Rozhnov Alexandr <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant