Report only the moves off a Drain's own Server (#2852) #3164
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.45) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 420 lines diff across 5 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.362
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3164"
general
weight: 0.35
nick-potts
Fixes #2852.
Summary
A Drain converges each of its Services, and a convergence moves every copy off every Server whose services role is off. With two standalone Drains at once, each Drain's convergence of
webmoved both Servers' copies, and each Drain reported all of those moves as its own.A Drain now reports only the moves off its own Server. It still waits for every old copy its convergence retires, so nothing it started is left unwatched.
Review round 1 (Opus) shaped two details:
NothingToMoveconvergence.Not changed:
convergestops at its first failure, whichever Server that copy is on, so aFailedrow can name another Server's failure. That was already so on main.DESIGN.md bets
Stable promise: additive only. The JSON report keeps its shape and lists fewer moves.
Evidence
Unit test
drain::tests::a_drain_reports_only_the_moves_off_its_own_server:Incus, 3 Machines, standalone.
webhasreplicas=3, with one copy on each Machine. Then I ranployz --json server drain machine-1 & ployz server drain machine-2 & wait.The
draintests (52) pass, andcargo clippy -p ployz --all-targetsis clean.Merge Danger
Door: two-way.
Blast Radius: narrow. Only a Drain's report changes, and only when another Drain or role change makes its convergence move copies off other Servers.