Skip to content

feat: add bulk retry/discard with multi-select#6

Merged
Nuhasami merged 2 commits into
mainfrom
bulk-actions
Mar 18, 2026
Merged

feat: add bulk retry/discard with multi-select#6
Nuhasami merged 2 commits into
mainfrom
bulk-actions

Conversation

@Nuhasami

Copy link
Copy Markdown
Owner

Summary

  • Add multi-select for jobs using x (toggle) and X (select/deselect all),
    enabling bulk r retry and d discard operations
  • Show selection count and contextual keybinding hints in the footer when jobs
    are marked
  • Gracefully handle errors mid-bulk (per-job rescue) and report skipped/failed
    counts in the status message
  • Prune stale selections automatically when the job list refreshes

Motivation

During an incident with hundreds of failed jobs, retrying them one-by-one is
painful. This lets you select all (or a filtered subset) and retry/discard in
one action.

Test plan

  • x toggles mark on/off for the cursor job
  • X selects all visible jobs; pressing again deselects all
  • Esc clears selection
  • Switching views clears selection
  • r/d with marks performs bulk retry/discard
  • Non-failed jobs in selection are skipped with count reported
  • Errors during bulk operations are caught and reported
  • Stale marks are pruned after data reload

Press x to toggle select jobs, X to select/deselect all. When jobs
are selected, r and d operate on all marked jobs at once. Esc clears
selection. Non-failed jobs in the selection are skipped with a count.
Footer shows selection-specific shortcuts when marks are active.
@Nuhasami Nuhasami merged commit c95c726 into main Mar 18, 2026
4 checks passed
@Nuhasami Nuhasami deleted the bulk-actions branch March 18, 2026 12:42
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