feat(dashboard): allow failed task lookback up to 30 days #160
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.40) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 306 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.343
Real PR Conversation Timeline
1 comments
"Review active on #160"
general
weight: 0.35
coderabbitai[bot]
Summary
The failed tasks card on the dashboard only offers 12h, 1d, 2d and 3d. Teams that look at failures weekly or after a long weekend can't see older ones, even though failed tasks are kept for 30 days by default.
task_issue_summary.lookback_hourssetting.hoursquery ofGET /api/tasks/failed/recent, the setting definition, andTaskIssueConfig. They now shareTASK_ISSUE_LOOKBACK_MAX_HOURSinmodels.py.Testing
TaskIssueConfigchange, which otherwise madeGET /api/configreturn 500 after saving 30d.pytestinagent/: 218 passed.nuxt generatebuilds.- The API returns exactly the expected tasks for each window, and
hours=721answers 422.- In the dashboard, 7d shows up to the 5 day failure, 30d up to the 20 day failure (not 40d), and switching back to 12h shows only the 2h failure. The title follows the selection.
- The selection survives a page reload.
- The orphaned tasks card has no selector and still lists a 10 day old orphan.
- Checked at desktop and tablet widths.
Note
GET /api/tasks/failed/recentstill defaults tolimit=50, and the dashboard doesn't override it. With a 30 day window, more than 50 unresolved failures are cut off. I left that unchanged here.🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
Expanded the task-issue lookback period to include options of up to 30 days, alongside shorter hourly and daily intervals.
* The default lookback remains 24 hours. You can configure a period up to 720 hours; values above that limit are rejected.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->