You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(triage): address PR review feedback on effort gating
- Add regex guard for non-numeric effort values (fail closed to triaged)
- Add test for missing-effort and non-numeric-effort fallback paths
- Fix schema description to match triage.md effort scale labels
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Hector Martinez <hemartin@redhat.com>
"gh api repos/test-org/test-repo/issues/42/labels -f labels[]=triaged --silent"
204
+
197
205
run_test "sufficient-feature-gets-triaged" \
198
206
'{"action":"sufficient","reasoning":"all clear","clarity_scores":{"symptom":0.9,"cause":0.85,"reproduction":0.9,"impact":0.8,"overall":0.87},"triage_summary":{"title":"Add dark mode","severity":"medium","category":"feature","problem":"No dark mode","root_cause_hypothesis":"Not implemented","reproduction_steps":["step 1"],"environment":"Linux","impact":"All users","recommended_fix":"Add theme toggle","proposed_test_case":"test_dark_mode","effort":2.0},"comment":"## Triage Summary\n\nThis is a feature."}' \
199
207
"gh api repos/test-org/test-repo/issues/42/labels -f labels[]=triaged --silent"
0 commit comments