Skip to content

feat: failed jobs search/queue filter, scoped bulk actions, blocked reason#17

Merged
eclectic-coding merged 2 commits into
mainfrom
feature/high-value-improvements
May 19, 2026
Merged

feat: failed jobs search/queue filter, scoped bulk actions, blocked reason#17
eclectic-coding merged 2 commits into
mainfrom
feature/high-value-improvements

Conversation

@eclectic-coding
Copy link
Copy Markdown
Owner

Summary

  • Failed jobs search + queue filter: FailedJobsController now accepts ?q= (class name substring) and ?queue= params; the index view gains a search form and clickable queue names that apply the filter, mirroring the jobs list UX
  • Scoped Retry All / Discard All: both bulk actions now apply to the active queue/search filter rather than all failed jobs; the redirect preserves filter params so the page lands back in the right filtered view; switched from discard_all_in_batches to discard_all_from_jobs to support scoping
  • Blocked job reason: the job detail page now shows a "Blocked Until" field (BlockedExecution#expires_at) when the job has a blocked execution

Test plan

  • 68 examples, 100% line coverage (bundle exec rspec)
  • RuboCop clean (bin/rubocop)
  • Manual: filter failed jobs by queue; Retry All / Discard All only affects that queue
  • Manual: search failed jobs by class name
  • Manual: navigate to a blocked job detail page and confirm "Blocked Until" appears

🤖 Generated with Claude Code

eclectic-coding and others added 2 commits May 19, 2026 09:08
…eason

- FailedJobsController: add queue and class name search filters; scope
  Retry All / Discard All to the active filter (uses discard_all_from_jobs
  instead of discard_all_in_batches so queue/search scoping works);
  redirect preserves filter params
- Failed jobs index: search form, clickable queue links, queue filter
  indicator — mirrors the jobs list UX
- Jobs show: surface BlockedExecution#expires_at as "Blocked Until"
  when the job has a blocked execution
- Tests: 68 examples, 100% coverage

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (3500506) to head (0106517).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #17   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          143       153   +10     
=========================================
+ Hits           143       153   +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@eclectic-coding eclectic-coding merged commit 53c2b19 into main May 19, 2026
7 checks passed
@eclectic-coding eclectic-coding deleted the feature/high-value-improvements branch May 19, 2026 13:25
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