Skip to content

feat(task-board): re-run a whole selection, not one card at a time - #5771

Merged
pedrofrxncx merged 1 commit into
mainfrom
claude/feat/task-board-bulk-rerun
Aug 5, 2026
Merged

feat(task-board): re-run a whole selection, not one card at a time#5771
pedrofrxncx merged 1 commit into
mainfrom
claude/feat/task-board-bulk-rerun

Conversation

@pedrofrxncx

@pedrofrxncx pedrofrxncx commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

#5768 gave every Super-Agent card a Re-run, but only one at a time. The board
that needs it (demo-storefront: 63 items, all delegated, 46 parked) is exactly
the one where clicking 46 cards is not a recovery path.

Re-run now sits in the selection bar next to Auto-fix, gated on the same
predicate as the card button — delegated to the Super Agent and not Done —
required of every selected card, so the action never silently skips part of a
selection. RerunDialog takes a list instead of one item (one card passes a
single-element array), with plural copy and the takeover warning stated
unconditionally for a selection, since the board cannot tell a streaming run
from a wedged one for any of them.

Confirm fires TASK_BOARD_ITEM_RERUN per id, the same fire-and-forget shape as
the bar's other bulk actions, and clears the selection. No bulk tool variant:
one error surfaces (paywall/quota) rather than one per item — worth revisiting
if N grows.

Testing

  • bun run --cwd=apps/web check clean
  • bun test apps/web/src/layouts/task-board/ — 48 pass (the 4 failures are an untracked local ci-fix/ copy dir, unrelated)
  • bun run fmt, bun run lint — 0 errors

Existing hasUnfinishedRun unit test still covers the takeover predicate; the bulk gate is the same expression as the card's showRerun.

Follow-ups

  • A bulk TASK_BOARD_ITEM_RERUN variant + per-item error surfacing, if N gets large enough that N round-trips or a swallowed mid-batch quota error bites.

Summary by cubic

Add bulk Re-run to the task board so you can re-run a whole selection of Super Agent tasks at once. This speeds up recovery on large boards and avoids clicking each card.

  • New Features
    • Added Re-run to the selection bar next to Auto-fix. Shown only when all selected cards are delegated to the Super Agent and not Done, so nothing is skipped.
    • Updated RerunDialog to accept multiple items with plural copy; for multi-select, it warns that any open runs will be stopped.
    • Confirm triggers TASK_BOARD_ITEM_RERUN for each selected id and then clears the selection; errors surface once, consistent with other bulk actions.

Written for commit 4294a76. Summary will update on new commits.

Review in cubic

#5768 gave every Super-Agent card a Re-run, but only one at a time. The board
that needs it (demo-storefront: 63 items, all delegated, 46 parked) is exactly
the one where clicking 46 cards is not a recovery path.

Re-run now sits in the selection bar next to Auto-fix, gated on the same
predicate as the card button — delegated to the Super Agent and not Done —
required of *every* selected card, so the action never silently skips part of a
selection. `RerunDialog` takes a list instead of one item (one card passes a
single-element array), with plural copy and the takeover warning stated
unconditionally for a selection, since the board cannot tell a streaming run
from a wedged one for any of them.

Confirm fires TASK_BOARD_ITEM_RERUN per id, the same fire-and-forget shape as
the bar's other bulk actions, and clears the selection. No bulk tool variant:
one error surfaces (paywall/quota) rather than one per item — worth revisiting
if N grows.
@pedrofrxncx
pedrofrxncx enabled auto-merge (squash) August 5, 2026 20:08
@pedrofrxncx
pedrofrxncx merged commit 5e182f1 into main Aug 5, 2026
25 checks passed
@pedrofrxncx
pedrofrxncx deleted the claude/feat/task-board-bulk-rerun branch August 5, 2026 20:15
decocms Bot pushed a commit that referenced this pull request Aug 5, 2026
PR: #5771 feat(task-board): re-run a whole selection, not one card at a time
Bump type: minor

- decocms (apps/api/package.json): 4.184.1 -> 4.185.0
- @decocms/native (apps/native/package.json): 4.184.1 -> 4.185.0

Deploy-Scope: web
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