Fix flaky ICE check wait in test_close_awaits_pending_ice_checks #857
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.29) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.29 · 83 lines diff across 1 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
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.265
Real PR Conversation Timeline
1 comments
"Review active on #857"
general
weight: 0.35
andimarafioti
test_close_awaits_pending_ice_checkspolls for 1 s for a pending aioice connectivity check. Both peers run on the same host, so the check often finishes in a few milliseconds and the poll never sees it. The test then fails withaioice did not start a connectivity check. It failed 5 out of 5 times onmainon my machine, and passed once extra network interfaces slowed the check down.The test now holds each STUN request until its
finallyblock, so a check is always still pending whenclose()runs. Nothing insrc/changes.Checked: 30 of 30 passes in separate runs, the whole
test_webrtc.pyfile passes, and the full suite, ruff and mypy are clean.