Skip to content

feat: failed job trend chart#68

Merged
eclectic-coding merged 2 commits into
mainfrom
feat/failed-job-trend-chart
May 27, 2026
Merged

feat: failed job trend chart#68
eclectic-coding merged 2 commits into
mainfrom
feat/failed-job-trend-chart

Conversation

@eclectic-coding
Copy link
Copy Markdown
Owner

Closes #55

Summary

  • Adds failure_sparkline to DashboardStats — 12 hourly buckets of failed execution counts via a single pluck(:created_at) query, same Ruby-side bucketing pattern as the throughput and depth sparklines
  • New "Failures — Last 12 Hours" card on the dashboard with red bars (sqd-sparkline__bar--failure), header total count, and empty state; positioned after the Queue Depth chart
  • 3 new dashboard specs; full suite at 301 examples, 0 failures, 100% coverage

Test plan

  • Visit /jobs — "Failures — Last 12 Hours" card appears between Queue Depth and the quick-links section
  • With no recent failures — empty state reads "No failures in the last 12 hours"
  • With failed jobs — red bars render proportionally; tooltip shows hour label and count

🤖 Generated with Claude Code

eclectic-coding and others added 2 commits May 27, 2026 15:00
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 887f2d9 into main May 27, 2026
7 checks passed
@eclectic-coding eclectic-coding deleted the feat/failed-job-trend-chart branch May 27, 2026 19:01
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: failed job trend chart

1 participant