Mark configuration setting closure as sending #1224
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.54) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.54 · 101 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.277
Sensitive Paths
sensitive_paths
0.054
Real PR Conversation Timeline
1 comments
"Review active on #1224"
general
weight: 0.35
akbashev
Motivation:
Configuring cluster system on main actor (whoever needs this) using configuration closure init leads to compiler error
Sending value of non-Sendable type '(inout ClusterSystemSettings) -> Void' risks causing data races.Modifications:
As library already been updated to Swift 6 and ClusterSystemSettings is not used outside configuration closure — feels like marking closure as sending is more suitable than using Sendable conformance.
Result:
Additional information
There are other same type closures in the system, but as they're not exposed to outside world — will be fixed during refactoring.