Repository navigation
Conversation
mr-miles
force-pushed
the
try/policy-revalidation
branch
7 times, most recently
from
November 11, 2026 16:53
81143b1 to
1a0661f
Compare
mr-miles
force-pushed
the
try/policy-revalidation
branch
4 times, most recently
from
November 18, 2026 13:03
1c3d0b1 to
0c1ef36
Compare
OPENSHELL_VM_SHARED_SUPERVISOR=true runs one openshell-supervisor --mode=shared process for every sandbox instead of one per sandbox. Off (the default), nothing changes. The gateway serves the shared supervisor's assignment stream only for its in-process Kubernetes driver, so the driver serves it itself, with openshell-supervisor-control's controller as a one-member pool: - the stream is on <socket root>/@host.sock and accepts only the driver's own uid and a token the driver mints and renews in a file; - each launch assigns the generation's gateway-issued launch credentials, and the supervisor listens on that generation's runtime-initiated Unix control socket while it hosts it, so the guest side is unchanged and the gateway sees the same per-sandbox sessions; - stopping a sandbox asks the supervisor to let go of it and treats the control socket's removal as done. It needs a supervisor that dials a unix: assignment endpoint and serves a sandbox on its own socket (fork branch feat/shared-host-unix/mr-miles, not upstream); with the current pin every shared launch fails, so leave it off until the pin carries that change. There is no failover without a gateway-signed takeover grant: if the shared supervisor exits, its VMs fail and the next launch starts a new one. Supervisor identity, the additional destination CA and an upstream proxy are refused with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pin the vendored driver's OpenShell git dependencies and the embedded runtime to the `patched` branch of mr-miles/OpenShell at 4a1528b1, so the Release workflow builds them from one commit. That branch is the v0.1.11 release plus stacks not yet upstream: - the L7 fix: percent-encoded path bytes are forwarded as sent, and S3 paths are signed single-encoded; - the shared supervisor host over Unix sockets, which the driver's OPENSHELL_VM_SHARED_SUPERVISOR needs; - ai-openshell/openshell#6056 and #6057 (driver-only; the vendored driver carries its own merge of them). Three-way merge the upstream driver changes since f16795b: - #5117: driver_config is decoded with proto_struct::from_struct, which keeps protobuf integers as integers. - #6023: the counting test allocator moved to openshell-supervisor-network, so allocation_tracking and its feature are gone. Not taken: #5914's launched mode (`serve` and `preflight`, the table on stdin and the gateway's Configure call). This driver runs as an external service the gateway reaches by socket_path, which v0.1.11 still supports. Re-lock: v0.1.11 requires libc 0.2.191, smallvec and kube 5.2.0. Not for merging. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Three-way merge the driver half of #6056/#6057, which cut per-launch VM bookkeeping and are not yet upstream, into the vendored crate: - write a launch's overlay files in one debugfs run (RootfsImageBatch); - hash the guest runtime identity at build time (build.rs); - re-hash the cached host supervisor only when the file changes; - resolve a cached digest-pinned bootstrap image without a preparation worker, which here also spares the launcher's exec of the driver. Adapted to the fork: no mount manifest is written (bind mounts are refused and the guest init reads none), and the worker is skipped only for a name with a registry host. Those never consult a local engine here, so the fast path probes none. write_rootfs_image_file is dropped: its only upstream caller is the libkrun runtime, which is not vendored. Kept off main: it arrives with a pin once the PRs land upstream. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mr-miles
force-pushed
the
try/policy-revalidation
branch
from
December 1, 2026 23:24
ac7bac5 to
2bd3f95
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pins the vendored driver's OpenShell git dependencies and the embedded runtime to the
patchedbranch of mr-miles/OpenShell at4a1528b, so the Release workflow (workflow_dispatch) builds them all from one commit. That branch is thev0.1.11release plus:fix/l7-preserve-encoded-path-bytes/mr-miles);feat/shared-host-unix/mr-miles), whichOPENSHELL_VM_SHARED_SUPERVISORneeds;Commits on top of
feat/shared-supervisor(#18's branch, which goes tomainon its own):UPSTREAM.env, the vendoredCargo.toml/Cargo.lock, the README, and what v0.1.11 forces on the vendored driver:from_structfordriver_config(#5117) and the removal ofallocation_tracking(#6023). v0.1.11's launched mode (serve/Configure, #5914) is not taken: this driver is an externalsocket_pathservice, which v0.1.11 still supports.Run a gateway built from
4a1528bor thev0.1.11release; the stack changes no gateway protocol. Not for merging.🤖 Generated with Claude Code