Skip to content

Add retry and discard actions for failed jobs#7

Merged
eclectic-coding merged 1 commit into
mainfrom
feature/failed-job-actions
May 18, 2026
Merged

Add retry and discard actions for failed jobs#7
eclectic-coding merged 1 commit into
mainfrom
feature/failed-job-actions

Conversation

@eclectic-coding
Copy link
Copy Markdown
Owner

Summary

  • POST /failed_jobs/:id/retry — re-enqueues a single failed job via FailedExecution#retry
  • DELETE /failed_jobs/:id — discards (destroys) a single failed job via Execution#discard
  • POST /failed_jobs/retry_all — bulk retry all failed jobs
  • POST /failed_jobs/discard_all — bulk discard all failed jobs
  • Page header with Retry All / Discard All buttons; per-row Retry / Discard buttons in the table
  • Request specs covering all four actions (12 examples total, all passing)
  • README roadmap section documents the full feature backlog

Test plan

  • CI lint and test matrix passes
  • Failed jobs page shows Retry / Discard buttons per row
  • Retry All / Discard All bulk buttons appear when failed jobs exist
  • Retrying a job removes it from the failed list and re-enqueues it
  • Discarding a job removes it from the failed list permanently
  • Flash notice appears after each action

🤖 Generated with Claude Code

- POST /failed_jobs/:id/retry calls FailedExecution#retry (re-enqueues the job)
- DELETE /failed_jobs/:id calls Execution#discard (destroys job + execution)
- POST /failed_jobs/retry_all and discard_all for bulk operations
- Page header with Retry All / Discard All buttons; per-row Retry / Discard buttons
- Request specs covering all four actions plus the index
- Disable CSRF protection in test env via rails_helper
- README roadmap section; CHANGELOG updated

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eclectic-coding eclectic-coding merged commit ab51ee2 into main May 18, 2026
5 checks passed
@eclectic-coding eclectic-coding deleted the feature/failed-job-actions branch May 18, 2026 17:07
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