fix: default release, large IDs, max_age in days, and error JSON #18
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 235 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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
Diff Size
diff_size
0.327
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #18"
general
weight: 0.35
fonta-rh
Summary
N.N) without a GA date, so the default no longer resolves togcp-hcp-mainand returns empty job data.fields: keep large integers exact, so filtered Prow run IDs can be passed toget_job_run_summary.get_job_runs:prow_idandtimestampare strings in Sippy, so the reshape intoJobRunRowfailed and the tool returned the raw, untrimmed payload. Fixed the types and moved the fixtures to the live shape.search_ci_logs: accept day values formax_age(7dbecomes168h), and return an invalid-parameter error for counts that overflow and for other values with a day unit (1d12h,1.5d).InvalidParamquoted the parameter name inside a JSON string, and%qescapes like\x01are not JSON.Merge order: #18, then #19, then #20. This PR does not depend on the others and does not conflict with them.
Fixes #15
Test plan
make test,make lint,make smoke(same results asmain), plus new unit tests for each fixget_job_reportnow returns 5.1 jobs;get_job_runsreturns the trimmed rows with the exact stringprow_id;max_age: 1dworks and1d12hgives a 400<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Implementation details
FilterFieldsdecodes numbers asjson.Numberand leaves input unchanged if trailing data follows the JSON value.max_agevalues are converted to hours. Values above the Go-duration-safe limit return an invalid-parameter result.N.Nreleases first, then falls back to the full release list if none match.<!-- end of auto-generated comment: release notes by coderabbit.ai -->