← Back to Pull requests

Name a silent Suspect Server in a full listing's error, and narrow when a Docker volume blocks a deploy #3191

Closed
unknown closed this pull request without merging on Oct 23, 2026 05:28 UTC
View on GitHub
unknown unknown commented on Oct 23, 2026 05:11 UTC
Author

Follow-up to #3093 (#2889), addressing two of CodeRabbit's comments there (1, 3). The other comment was answered there with Incus evidence.

Summary

 Client::service_containers (used by copies_on, service_copies)
-  Suspect Machine silent → Err("target Machine RPC timed out")
+  Suspect Machine silent → Err("Machine <name> did not answer: target Machine RPC timed out"), details.machine_id

This is the same naming listed_copies already gives a silent Up Machine.

docs/user/services/scaling.md: a Docker-volume Service fails only when no answering Server holds the volume. A known holder that answers still deploys, because VolumePlan::locality returns Located before it looks at silent Servers.

Stable promise: no wire or format change. Only the message text and an extra machine_id detail change, and those are already used on the sibling path.

Evidence

  • Before: the new a_full_listing_names_a_suspect_machine_that_never_answers fails with left: "target Machine RPC timed out", right: "Machine machine-2 did not answer: …".

  • After: the silent tests pass 41/41, and fmt and clippy -D warnings are clean.

    Merge Danger

    Door: two-way

    Blast Radius: error text

    Diff: 170 lines (+127 / -43) across 2 files Reviewer: nick-potts Review duration: 17m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.58) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.58 · 170 lines diff across 2 files
    0.58
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.308
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.058
    Real PR Conversation Timeline
    1 comments
    "Review active on #3191"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 58.4% (MEDIUM) · Higher = larger blast radius
    58.4%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 25.2% · Safe to merge
    25.2%
    Repository