Fix graceful shutdown, cancellation and other stuff #132
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 124 lines diff across 1 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.289
Real PR Conversation Timeline
1 comments
"Review active on #132"
general
weight: 0.35
ptoffy
- It was incorrectly executed in conjunction with the sending of
COM_QUITwhen the connection was closed- Now it is implemented just like in
valkey-swift- It is now also handled correctly during the handshake and queries
Taska command is running on gets cancelled, and let the channel handler correctly drain all incoming packets for that command, to avoid corrupting the sessionCOM_QUERYpromise completion fromMySQLRowSequencecompletion- Basically before this fix
MySQLConnection.queryreturned theMySQLRowSequenceto the user only when the server finished sending the resultset, now thePendingCommandgets succeeded after the server has sent all column metadata and before receiving the rows, so theMySQLRowSequencecorrectly receives the rows as they comeCOM_QUITif the channel is still active