Update the Ray Sandboxing REP with the design as built #80
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.37) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 237 lines diff across 2 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.327
Real PR Conversation Timeline
1 comments
"Review active on #80"
general
weight: 0.35
andrewsykim
Why
The Ray Sandboxing REP (#69) describes the gVisor design as proposed. Since then the implementation changed several of its parts, and running it at scale (a 352-CPU NVIDIA Vera node with 64 KiB pages, and CoreWeave and EKS clusters) drove more design changes that are now in open PRs. This updates the REP so it describes the design as it stands.
What changed in the REP
GVisorSandboxBackend), bundle paths, onerunsc runlaunch process per sandbox, container images cached as EROFS files, file transfer throughrunsc exec, cgroup limits that fail closed, and sandboxes that stop with their owner, with reclaim of what they leave.- Warm pools in
SandboxRuntime: fixed-size slots, refilled on delete (ray-project/ray#67077).- The warm pool store, which a database of permits can back. It is an index, not the claim authority. The open problem of exact claims is listed as future work (ray-project/ray#67728).
- Multi-sandbox actors: one owner lock per process instead of two open files per sandbox (ray-project/ray#67731).
- runsc's root directory (ray-project/ray#67729, google/gvisor#16902, #16903).
- The start-up path, and why bursts slow down: pivot_root(2) walks every host thread (google/gvisor#16901).
- Sizing guidance, and the arm64 fixes (google/gvisor#16814, #16815).
Checkpoint and restore stay in their own REP (#77). This PR doesn't touch the follow-on line that #77 edits, so the two don't conflict.
Notes