Skip to content

feat: error frequency report#67

Merged
eclectic-coding merged 4 commits into
mainfrom
feat/error-frequency-report
May 27, 2026
Merged

feat: error frequency report#67
eclectic-coding merged 4 commits into
mainfrom
feat/error-frequency-report

Conversation

@eclectic-coding
Copy link
Copy Markdown
Owner

Closes #54

Summary

  • Adds ErrorFrequencyReport service that groups all failed jobs by error class + message prefix, counts occurrences, and captures a sample backtrace per group
  • New FailedJobs::ErrorsController#index at GET /jobs/failed_jobs/errors renders the report sorted by count descending
  • Expandable <details> element on each row reveals the first 10 backtrace lines; messages are truncated to 120 characters
  • "Error Summary" button added to the Failed Jobs page header to navigate to the report
  • 11 new request specs; full suite remains at 298 examples, 0 failures, 100% coverage

Test plan

  • Visit /jobs/failed_jobs with failed jobs present — "Error Summary" button appears in the header
  • Click "Error Summary" — page shows rows grouped by error class with counts
  • Click a message summary — backtrace expands inline
  • Visit with no failed jobs — empty state renders

🤖 Generated with Claude Code

eclectic-coding and others added 4 commits May 27, 2026 14:50
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eclectic-coding eclectic-coding merged commit 66eb974 into main May 27, 2026
7 checks passed
@eclectic-coding eclectic-coding deleted the feat/error-frequency-report branch May 27, 2026 18:53
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.

feat: error frequency report

1 participant