riverqueue / riverqueue/riverui

Feature Request: ability to apply to all jobs in a view from the UI

Open
#590 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
236
Forks
39
Avg merge
3h 40m
Merged PRs (30d)
23

Description

Use case: I queue up a 10,000 tiny jobs and notice a bug that I need to resolve before the "big backfill" takes place. I pause the queue, and begin clearing out the erroneous jobs. The web UI can only handle 200 at a time, and even that takes forever. I've taken to automating the process with a JS bookmarklet, or in really, really large jobs a backend subtool that'll purge the job queue.

I know it's non-trivial, but I'd love it if there were a way to "Select All" and let the backend sort it out, similar to how Gmail does it:

  1. hit the "Select All" button
  2. a special secondary dialog pops up for "there are N total jobs in this queue. select everything?"
  3. some special parameter passed back to the UI that confirms "yes, I mean everything"
  4. hit button to apply (retry/delete/cancel/etc)
  5. dialog that says "applying, this may take awhile ..." and then the backend does its thing.

Thanks for reading, and as always, thanks this fantastic tool.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the web UI's job selection and bulk-action entry points; the issue does not name specific files or tests. Define the select-all confirmation, long-running backend operation, and progress or completion feedback, then verify that retry, delete, and cancel can apply to every job in the view.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.