ateworker-gvisor: simplify container cleanup #4199
All Vouch review confidence checks passed
Residual risk 0.05 = Change Risk (0.44) × (1 − Review Confidence (0.89)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.44 · 230 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.84 · 2 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
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.326
Real PR Conversation Timeline
4 items
This wait can go away after Substrate's gVisor version includes https://github.com/gvisor/gvisor/pull/17781, saving some time on the checkpoint path. That's not the case yet, so this PR isn't the right time to remove it, but please add a comment here stating that this wait should be removed once https://github.com/gvisor/gvisor/pull/17781 is in Substrate's gVisor version.
Changes Requested
Requested changes.
Done.
EtiennePerot
sfunkenhauser
Run and Restore failures, Terminate, checkpoint, and crash teardown all clean up with teardownContainers, without stopping containers first. The runsc delete -force it runs skips containers that don't exist, and kills and waits for every process in those that do, so tracking created containers and the separate kill and wait calls were redundant.
Fixes #4198
AI use: AI-assisted, I reviewed and tested it.