-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow job management (retry, destroy) through the Web UI #256
Comments
* Add deleting jobs from UI. refs #256 * Improve deleting jobs * Move deleting jobs to own controller
Thank you @morgoth for jumping into #265 🙏 I wanted to share some further thoughts/learnings from reviewing that:
|
I'm imagining the use case for "retry through the Web UI" being for failed jobs. By the time it gets to to good_job as a failure, ActiveJob has necessarily given up on it, yes? So if "retry through the Web UI" is limited to failed jobs, is there less concern with collision like that? I am interested in this feature! As far as "Please share examples from other adapters", here is what resque looks like. There is a tab listing just "failed jobs". There is a button to retry all jobs in list; or they can be retried individually. It somehow does keep track of whether a given job was already "retried" or not --which seems potentially tricky to do in good_job architecture? The UI does not keep track of whether the retry succeeded or not (that would be nice). If the retry failed, it would show up a second time in the list, as a separate retried job. I don't actually love the UI, just here as an example. I do love the ability to manually retry jobs that are not otherwise going to be retried, ActiveJob/resque have given up on them. |
Thanks @jrochkind for sharing that example and your preferences. I'm in strong agreement. I think this feature is ripe for implementation right now. Especially Retry:
I think a similar strategy should be taken for Delete. Some other lifecycle ideas:
|
Closing this because the core has been achieved. Please make additional requests/discussion in new Issues 👍 |
Follow-up to #50 and reconsidered features by #255. Please share examples from other adapters.
The text was updated successfully, but these errors were encountered: