Skip to content

feat: per-queue job browser#16

Merged
eclectic-coding merged 3 commits into
mainfrom
feat/per-queue-job-browser
May 26, 2026
Merged

feat: per-queue job browser#16
eclectic-coding merged 3 commits into
mainfrom
feat/per-queue-job-browser

Conversation

@eclectic-coding
Copy link
Copy Markdown
Owner

Summary

  • Per-queue job browser — queue names and sizes on the Queues index are now links to GET /queues/:id, which shows a paginated list of ready jobs for that queue with individual Discard buttons and a "Discard All Ready (N)" header action; pause/resume controls are present on the show page so operators never need to leave the queue context
  • Refactor: pause/resume → Queues::PausesController#create/destroy — replaced non-standard pause/resume member actions with a nested singular resource (resource :pause), giving standard CRUD action names and a consistent URL (/queues/:queue_id/pause for both verbs); redirect_back_or_to keeps the user on the show page when toggling from there
  • Refactor: set_ids before_action in FailedJobs::SelectionsController — eliminated the duplicated ids assignment across create and destroy

Test plan

  • Visit /queues — queue names and sizes are links
  • Click a queue name — lands on /queues/:id showing only that queue's ready jobs
  • Discard a single job from the queue show page — job disappears; redirects to filtered jobs list
  • "Discard All Ready" — confirms and removes all ready jobs for that queue
  • Pause/resume from the queue show page — badge updates; stays in queue context
  • Pause/resume from the queues index — still works
  • bundle exec rake passes (159 examples, 0 failures)

🤖 Generated with Claude Code

eclectic-coding and others added 3 commits May 25, 2026 21:16
… its ready jobs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…esController#create/destroy

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…roller

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eclectic-coding eclectic-coding merged commit 18c2587 into main May 26, 2026
5 checks passed
@eclectic-coding eclectic-coding deleted the feat/per-queue-job-browser branch May 26, 2026 01:22
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