feat(docker): isolate workloads behind a companion supervisor - #2965
Conversation
|
🌿 Preview your docs: https://nvidia-preview-pr-2965.docs.buildwithfern.com/openshell |
3f387e4 to
9f08093
Compare
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
0236ea1 to
7f9fa25
Compare
7f9fa25 to
e3b8a72
Compare
2026bdc to
f3fd9d9
Compare
d992755 to
f6bc10a
Compare
f6bc10a to
c63a604
Compare
|
Label |
c63a604 to
c3a22d3
Compare
Maintainer Convergence DecisionThe autonomous Warning budget is exhausted, and a specific maintainer decision is required before review can proceed. The current author-only delta adjusts mediated-network E2E expectations and introduces no new Critical defect, but it does not resolve the two durable obligations from the prior review. Root-cause findings:
Scope growth:
Reviewer-quality signals:
Maintainer action: @NVIDIA/openshell-maintainers, please confirm that Gator metadata
|
Maintainer Convergence DecisionThanks @drew. I checked the new mediated-network E2E updates against the current #2945 stacked base and the downstream RFC 0012 driver layers. The critical-only review found no newly introduced Critical defect, but these test-only commits do not resolve or waive the two durable obligations from the prior review. Root-cause findings:
Scope growth:
Reviewer-quality signals:
Maintainer action: @NVIDIA/openshell-maintainers, please confirm that Gator metadata
|
Maintainer Convergence DecisionThanks @drew. I checked the new sandbox CA runtime-path update against the current #2945 stacked base and the downstream RFC 0012 driver layers. The critical-only review found no newly introduced Critical defect, but this focused path change does not resolve or waive the two durable obligations from the prior review. Root-cause findings:
Scope growth:
Reviewer-quality signals:
Maintainer action: @NVIDIA/openshell-maintainers, please confirm that Gator metadata
|
Maintainer Convergence DecisionThanks @drew. I checked the supervisor network update against the current #2945 stacked base and the downstream RFC 0012 driver layers. Moving the supervisor from host networking to the driver-owned bridge introduces no new Critical defect, but it does not resolve or waive the two durable obligations from the prior review. Root-cause findings:
Scope growth:
Reviewer-quality signals:
Maintainer action: @NVIDIA/openshell-maintainers, please confirm that Gator metadata
|
Maintainer Convergence DecisionThanks @drew. I checked the current-head startup-recovery change against the current #2945 stacked base and the downstream RFC 0012 driver layers. Deferring supervisor recovery until the gateway can supply authentication introduces no new Critical defect, but it does not resolve or waive the two durable obligations from the prior review. Root-cause findings:
Scope growth:
Reviewer-quality signals:
Maintainer action: @NVIDIA/openshell-maintainers, please confirm that Gator metadata
|
Maintainer Convergence DecisionThanks @drew. I reviewed the five-commit author-only delta after Root-cause findings:
Scope growth:
Reviewer-quality signals:
Maintainer action: @NVIDIA/openshell-maintainers, please confirm that Gator metadata
|
johntmyers
left a comment
There was a problem hiding this comment.
gator-agent
PR Review Status
Thanks @drew. I reviewed the new generation-aware Docker start commit against the current #2945 stacked base and the full RFC 0012 stack. The rebase is patch-equivalent through the previously reconciled head, but the new marker check introduces one Critical startup-recovery regression. The two prior maintainer-decision obligations also remain carried and unwaived.
Action required: @drew, please initialize the Docker start-generation marker for normal/legacy running sandboxes, address or obtain maintainer waivers for GATOR-134c96ed-01 and GATOR-134c96ed-03, and push an updated head.
Blocking findings:
GATOR-3a8cf989-01: gateway restart cannot recover normally provisioned running Docker sandboxes because they have no start-generation marker.
Carried findings:
GATOR-134c96ed-01: workload mounts can still select predictably named OpenShell-managed supervisor volumes containing another sandbox's credentials.GATOR-134c96ed-03: the changed RFC still publishes schema-v1 keys and combined-runtime Docker guidance rejected by the schema-v2 split-runtime implementation.
Gator metadata
- Validation: Maintainer-authored Docker implementation layer in the accepted RFC 0012 isolation stack rooted at #2942, incrementally based on #2945 with downstream Kubernetes, Podman, and performance layers considered.
- Docs: Direct Fern references are updated;
GATOR-134c96ed-03remains carried for the incompatible RFC text. - Checks: Current-head Branch Checks and required E2E are running; Helm Lint, Trivy Changes, and GPU E2E are green.
- E2E:
test:e2eis applied and current-head Branch E2E is running; no/ok to testor workflow rerun is required in this cycle. - Head SHA:
3a8cf989522754867aeabad6384532214b7aa752 - Base SHA:
6b0457f8fbe755e6779fdba34e85c2cf9b17666d - Merge base SHA:
6b0457f8fbe755e6779fdba34e85c2cf9b17666d - Patch ID:
96c7cd63243b53c33c77eacbad7ac6dfe0f1ae7a - Gator payload:
8 - Review mode:
critical_only - Previous reviewed SHA:
169adfea3c5cca2446902ebc30f3e2ed83ce8281 - Review budget exhausted: yes
- Maintainer decision required: no — the newly introduced Critical requires author remediation directly; carried obligations remain unwaived
- Review telemetry: 1 proposal, 0 duplicates, 0 resolved/waived re-raises, 0 unchanged-code proposals, and 0 blockers lacking a reproducer; 3 prior finding-bearing rounds
- Next state:
gator:in-review
johntmyers
left a comment
There was a problem hiding this comment.
gator-agent
PR Review Status
Thanks @drew. I reviewed the session-rotation update against the current #2945 stacked base and the full RFC 0012 stack. The rebase is patch-equivalent through the prior reviewed head, but this commit leaves the missing-generation-marker recovery defect open and introduces a second Critical: a same-generation recovery with fresh authentication stops and restarts the canonical workload, so a crash-window retry can execute non-idempotent work twice.
Action required: @drew, please preserve same-generation recovery without re-executing the workload, initialize/adopt the generation marker for normally provisioned running sandboxes, address or obtain maintainer waivers for GATOR-134c96ed-01 and GATOR-134c96ed-03, and push an updated head.
Blocking findings:
GATOR-eca09e94-01: same-generation gateway recovery can re-execute the canonical workload process.
Carried findings:
GATOR-3a8cf989-01: normally provisioned running Docker sandboxes still have no start-generation marker, so gateway restart recovery fails before supervisor restoration.GATOR-134c96ed-01: workload mounts can select predictably named OpenShell-managed supervisor volumes containing another sandbox's credentials.GATOR-134c96ed-03: the changed RFC still publishes schema-v1 keys and combined-runtime Docker guidance rejected by the schema-v2 split-runtime implementation.
Gator metadata
- Validation: Maintainer-authored Docker implementation layer in the accepted RFC 0012 isolation stack rooted at #2942, incrementally based on #2945 with downstream Kubernetes, Podman, and performance layers considered.
- Docs: Direct Fern references are updated;
GATOR-134c96ed-03remains carried for incompatible RFC text. - Checks: Current-head Branch Checks and required E2E are running; Helm Lint, Trivy Changes, and GPU E2E are green.
- E2E:
test:e2eis applied and the current-head Branch E2E workflow is running; no additional/ok to testor workflow rerun is required in this cycle. - Head SHA:
eca09e94c93577977d538141d0cdf8c588ab3d81 - Base SHA:
0caeda261ed0321a11662ab3fd4e066cf1540352 - Merge base SHA:
0caeda261ed0321a11662ab3fd4e066cf1540352 - Patch ID:
e915a7c8dd54dd9eb716dd0f5e211bc68f8a058e - Gator payload:
8 - Review mode:
critical_only - Previous reviewed SHA:
3a8cf989522754867aeabad6384532214b7aa752 - Review budget exhausted: yes
- Maintainer decision required: no — the new Critical and the prior recovery Critical require focused author remediation; two older obligations remain unwaived.
- Review telemetry: 1 proposal, 0 duplicates, 0 resolved/waived re-raises, 0 unchanged-code proposals, and 0 blockers lacking a reproducer; 4 finding-bearing rounds before this head.
- Next state:
gator:in-review
Maintainer Convergence DecisionThanks @drew. I reviewed the two-commit author-only delta against the current #2945 stacked base and the full RFC 0012 stack. The critical-only reviewer proposed no new Critical. The generation-marker recovery defect is fixed, and removing the unrelated RFC file from this incremental PR resolves the configuration-RFC obligation. Two durable obligations remain unwaived: the supported mount path can still expose another sandbox's supervisor credentials, and stopping the old supervisor during gateway recovery still terminates the workload boundary instead of preserving it for session replacement. Root-cause findings:
Resolved findings:
Scope growth:
Reviewer-quality signals:
Maintainer action: @NVIDIA/openshell-maintainers, please confirm that Gator metadata
|
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Maintainer Convergence DecisionThanks @drew. I checked the rebased Docker layer against the current #2945 stacked base and the full RFC 0012 isolation stack. Removing the unrelated RFC 0003 edit resolves Root-cause findings:
Resolved obligation:
Scope growth:
Maintainer action: @NVIDIA/openshell-maintainers, please confirm that Gator metadata
|
Monitoring CompleteMonitoring is complete because this PR has merged. Final status: the PR merged while Gator was in I removed the active Gator metadata
|
Summary
Adopt RFC 0012 in the Docker driver. The workload container runs
openshell-sandboxwith Docker networking disabled; a supervisor companion container owns policy and mediated TCP and DNS access.The driver provisions a private Unix socket between the containers. The OpenShell Sandbox Protocol authenticates the connection with a pinned TLS server identity and a launch-scoped sandbox JWT.
Related Issue
Part of #1737.
Changes
network_mode=none.openshell-supervisoras a companion container on the Docker host network.Testing
mise run pre-commitcargo test -p openshell-driver-docker --lib(131 passed)Checklist
Stack