app_rpt: Tell the peer to stay down when a dialplan timeout drops the link #1311
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.42) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 230 lines diff across 2 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.326
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #1311"
general
weight: 0.35
greptile-apps[bot]
TIMEOUT(absolute) softhangs the inbound channel while Rpt() is still running. ast_write() drops frames once that hangup is pending, so !!DISCONNECT!! never reaches the caller. The caller treats the hangup as a failed link and redials.
When the only softhangup flag is AST_SOFTHANGUP_TIMEOUT, clear the deadline, queue !!DISCONNECT!!, and stop retries. The existing text flush sends that text before the channel goes down. A link-off command and a network drop are unchanged.
AI Use Disclosure (ASL003)
Check exactly ONE of the first two boxes.
Assisted-by:trailer, or tools are listed below.Tools used (if material):
Contributor Attestation
Check ALL FOUR boxes.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Bug Fixes
Improved handling of timed-out inbound node connections: eligible connections now disconnect cleanly without repeated retries.
* Other hangup causes and excluded connection types continue to follow their existing behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->