多语言安全隔离,适配各类智能体场景
为OpenSandbox打分
给出您宝贵的评分:
相关产品
手机端可长按图片保存,分享到朋友圈 / 社群
使用 OpenSandbox,你可以:
OpenSandbox 为 AI 应用提供通用沙箱平台,支持多语言 SDK、统一 API,适配编码、GUI、模型评估、AI 代码执行、强化学习训练等场景。
用户评论 (0)
2026年03月24日
2026年03月03日
2026年03月19日
2026年03月14日
2026年03月02日
2026年03月25日
release-1.2.0-rc.2
2026年10月21日
Second release candidate on the 1.2.0 line, carrying everything merged since release-1.2.0-rc.1 — the headline is the Credential Vault (OSEP-0022) landing end to end for fast sandboxes: an egress-held vault with durable per-subject persistence and pause/resume transfer, the user-reachable server-routed vault API, and a pool-pinned MITM CA. Network policy follows the same egress-held pattern, and NetworkRule gains port-scoped rules in the classic profile — fast sandboxes reject them fail-closed until the fastlet nft path enforces them. Images publish now; SDK/CLI packages ship at the 1.2.0 stable bump. Please test and report issues.
Highlights
- Credential Vault (OSEP-0022) lands end to end for fast sandboxes: the egress sidecar holds the vault with durable per-subject files, sealed snapshot transfer for pause/resume, and stale-subject takeover on slot reuse (#2249 #2252 #2255 #2250); the server exposes the user-reachable
POST|GET|PATCH|DELETE /v1/sandboxes/{id}/credential-vaultAPI over the FastPath handler relay with credential values never appearing on any public read (#2263), and the MITM CA is pinned per pool so an egress restart no longer rotates the trust anchor under live sandboxes (#2251) - Network policy mirrors the vault: the recorded fast-sandbox policy becomes egress-held state with relay CRUD, durable persistence, and pause/resume snapshot transfer (#2309), and
NetworkRulegains port-scoped rules end to end in the classic profile — spec, sidecar nftables, server validation, and all five SDKs, while fast sandboxes rejectportsfail-closed for now — plus an operator-side TCP port floor that no user policy can open (#2212) - Lifecycle and diagnostics polish:
lifecycle.renewalPolicyreplaces the opaque renew extensions key (OSEP-0009) (#2296); the diagnostics context API reaches server, all five SDKs, and the CLI (#2292); execd fixes make start failures distinguishable, preserve session output byte-for-byte, and stop silent disk growth (#2303 #2318 #2295)
Server
- Implement the server side of the Credential Vault (OSEP-0022, fast-sandbox profile): the user-reachable
POST|GET|PATCH|DELETE /v1/sandboxes/{id}/credential-vaultAPI pushes complete vault revisions over the FastPathInvokeHandlerActionhandler relay and treats the relay response as the synchronous egress-validated ack — the CRD never carries vault material, and every public read is sanitized server-side; PATCH composes in memory (delete → replace → add, each name resolving at most once) withexpectedRevisionas the cross-replica backstop, non-fsb backends proxy the sidecar's/credential-vaultsurface, and the fsbcredentialProxycreate-time rejection is lifted (#2263) - Bake the pinned MITM CA into server-created SandboxTemplates (OSEP-0022): new
[kubernetes] template_mitm_ca_secret/template_mitm_ca_secret_keyconfig (default off) emitsspec.egressMitmCertificate— the certificate entry only, never the private key — on every server-created template; the Secret must exist in each template namespace (ops-runbook distribution), and a missed copy fails the build observably (#2288) - Add
lifecycle.renewalPolicy(OSEP-0009): the renew-on-access opt-in moves from the opaqueextensions["access.renew.extend.seconds"]create key to a structuredrenewalPolicy.extendSeconds(300–86400), mirroring theidlePolicypattern; the legacy key is deprecated (supported throughout 1.x, removed in 2.0), setting both is accepted only when the parsed values match, the value normalizes into the existing Docker label / Kubernetes annotation so pre-upgrade sandboxes keep renewing, and fast sandbox rejects it with 400 rather than silently accepting a no-op (#2296) - Implement the diagnostics context endpoint (OSEP contract from rc.1):
GET /v1/sandboxes/{sandboxId}/diagnostics/contextreturns the sandbox ID, lifecycle state, backend type, and backend-defined identifiers for Docker, Kubernetes, and Fast Sandbox without connecting to execd — Kubernetes context stays available before a Pod is allocated, and extension backends that don't implement it return 501 (#2292) - Forward the still-encoded path through the sandbox proxy: Starlette bound the
{full_path:path}route from the percent-decoded path and the proxy pasted that value back into the upstream URL, so a decoded?started a query,#a fragment,%2Fbecame a separator,%25and non-UTF-8 escapes were rewritten, and%2E%2Esegments were resolved — the proxy now takes the client's still-encoded tail from the raw path (validating it decodes to the routed path, with a re-encode fallback) and reads the query from the raw query string; backends receive request targets byte-for-byte, matching the ingress gateway, and the%2E%2Eprefix-escape on Docker host-mapped endpoints is closed (#2228) - Report BatchSandbox expiry while the pod is still Running: a past
spec.expireTimewas still reported asRunning(Ready pod with IP), so wall-clock billing kept growing after the configured timeout; expiry now checks before the ready states and returnsTerminated/SANDBOX_EXPIREDwithlast_transition_atset to theexpireTimeitself (#2238) - Reject gVisor snapshots that would silently drop writes:
docker commitunder gVisor's default--overlay2=root:selfcan reportREADYwhile restoring none of the sandbox's writes (only the opaque/.gvisor.filestore.*entry is visible); snapshot preflight now resolves the container's runtime and refuses gVisor unless the effective args include--overlay2=none, and create fails closed when the filesystem diff is filestore-only (#2241) - Apply
[docker]security profiles andsecure_runtimeto the execd cache container: it ignoredapparmor_profile/seccomp_profile/docker_runtime, so on a host whose default seccomp profile blocks the execd image, everyPOST /sandboxesfailed 503 with no configuration escape (#2254) - Make concurrent Docker metadata patches safe: the store's read-modify-write was unlocked and every write shared one temporary name, so two concurrent
PATCH /metadatarequests for a sandbox raced into a 500 (FileNotFoundErroron rename) or silently dropped the other's key; a store-wide lock plus per-write temp names serialize patches (last write wins per key), a failed write no longer leaves its temp file behind, and the endpoint contract is now documented per runtime — Kubernetes patches write back the whole label set it read, fsb patches send only their own keys fenced by UID and generation (#2267 #2281) - Resolve proxy endpoints off the event loop: HTTP/WebSocket proxy handlers called the synchronous
get_endpointdirectly — a Docker socket call per proxied request on Docker, an apiserver read on Kubernetes cache misses — blocking the loop for every other request and stream; a slow Docker daemon (e.g. during an image pull) was enough to freeze the server; the lookup now runs viaasyncio.to_threadwith tenant context preserved (#2268) - Apply the renew cooldown when the Redis consumer is enabled: proxy renews skipped
min_interval_secondsentirely (every proxied request ran aget_sandbox+ expiration renew) and queue intents were only throttled per ingress replica, so N replicas renewed up to N times per interval; the cooldown now applies to every renew source and starts only after a successful renew (#2276 #2279)
SDKs
Code changes below ride the 1.2.0 stable release — rc ships no SDK packages.
- Add the Credential Vault client contract to all five SDKs (OSEP-0022): template-backed sandboxes route vault calls through the server on the same template-origin signal as network policy (
OPEN-SANDBOX-ORIGIN: templateor the localcreateFromTemplateflag), while sidecar-direct adapters stay untouched; Python'sSandbox.credential_vaultnow returns the vault service for both profiles, and Go gainsSandbox-level vault methods branching on the same signal (#2263) - Add
lifecycle.renewalPolicyto all five SDKs (OSEP-0009): a typed create field with client-side fail-fast validation (extendSeconds300–86400) wired through the create converters, replacing the opaque extensions key (#2296) - Implement diagnostics across the SDK surface (with #2292):
contextis exposed through both the manager and sandbox facades in all five languages, and JavaScript, Go, and C# gain public logs/events APIs matching the existing Python/JVM surface (custom factories keep working — the new diagnostics service is optional) - Support port-scoped egress rules in all five SDKs (#2212):
NetworkRule.ports(TCP 1–65535, at most 256 per rule,targetnow optional) with client-side validation mirroring the server (range, duplicates, cap, domain+ports rejected, netmask-CIDR+ports rejected); JavaScript encodes the target-or-ports invariant as a union type, Python normalizes a blank wire target on read-back
Python
- Stop propagating a cancelled endpoint fetch to waiters: the shared-fetch endpoint cache set the fetching caller's
CancelledErroron the shared future, so concurrent waiters — e.g.TaskGroupsiblings — raisedCancelledErrorthough nothing cancelled them; waiters now re-resolve (cached endpoint, newer in-flight fetch, or their own), while the cancelled caller still raises as before (#2277) - Forward
credential_proxythrough sandbox pools:PoolCreationSpec.credential_proxywas dropped by both sync and async creation paths, so warmup and direct-create sandboxes silently lost the requested credential-proxy configuration; custom factories stay compatible (the keyword is omitted when unset) (#2283) - Regenerate the lifecycle client to drop stale hardcoded defaults (
timeout_seconds: 2,wake_on_access: true→ UNSET) left behind by the spec change in #2212; wire behavior is unchanged — the server applies the same defaults (#2280)
Go
- Authenticate proxied data-plane requests with the API key: proxy mode sent the tenant API key — a credential that can create, pause, and delete every sandbox of the tenant — into the untrusted sandbox as
X-EXECD-ACCESS-TOKEN(and as egress auth) while omitting theOPEN-SANDBOX-API-KEYheader the server middleware reads, so multi-tenant proxy requests failed 401 and surfaced as readiness timeouts; the tenant key now rides the server header and is never smuggled into the sandbox or egress sidecar, endpoint-supplied and caller-supplied proxy keys win regardless of casing, and direct mode stays key-free (#2274)
Controller
- Fix task-executor treating an empty exit file as exit code 0: the shim creates the exit file before writing it, and
Inspectignored the parse error — a shim killed in between (or a failed write, e.g. full disk) reported a failed or interrupted task asSucceeded; an invalid or empty file now falls through to the pid check (Runningwhile alive,ProcessCrashedonce gone) (#2270)
Execd
- Preserve bash session output line endings:
run_in_sessionstdout events dropped\n/\rbytes, so blank lines were unrecoverable and concatenating a run's events did not reconstruct its output; event text now carries its original line ending (blank lines surface as events containing only the ending), aligning the session stream with the foreground/commandcontract — consumers should concatenate event text per run instead of treating each event as a newline-free line (#2318) - Report
exit_codeon command errors: a command that ran and exited non-zero and a command whose process never started (e.g.fork/exec: argument list too long) reported the same error event, so clients reading the exit status fromevaluecould report a start failure as success; the new optionalerror.exit_codeis present only when the process ran and finished non-zero (-1on signal termination) (#2303) - Serve
bindsmount points through the isolated session files API: the merged-view router only registered overlay mounts, sosession.filesfailed withErrPathOutsideOverlayson the same bind destinations thatsession.runcould read; each bind now registers a routed view (dest → source, read-only binds reject writes, bind views shadow overlays on prefix ties) (#2299) - Truncate command output files before unlink: forked children (daemons) legitimately outlive commands while holding the output fd, so an unlinked file kept consuming disk as invisible
(deleted)growth until the last holder exited; every existing deletion point now truncates to zero first, and background output is only touched at janitor deletion time so the retention window stays readable (#2295) - Omit invalid upper-usage metrics on scan errors: a failed filesystem scan emitted a misleading
execd.isolation.upper.usage_bytesof 0 while sessions and data still existed; invalid readings are now omitted (a valid empty upper still reports 0), and quota admission fails closed whenupper_max_bytes > 0and a scan fails instead of silently bypassing accounting (#2257) - Avoid redundant JDK MITM CA imports: sandboxes with several installed JDKs often share one trust store, but each JDK re-ran the keytool import (~6.2 s for four JDKs); initialization is now deduplicated by resolved trust-store path with certificate-content comparison, cutting the stage to ~0.6 s while still replacing rotated certificates (#2310)
- Default PTY sessions to
TERM=xterm-256colorwhen the resolved user environment has no usableTERM, so interactive programs get colors; an explicitTERMalways wins (#2313)
Networking
egress
The OSEP-0022 vault items concern the fast-sandbox profile's credential-vault surface; the OSEP-0023 follow-ups remain scoped to the default-off experimental revision runtime.
- Add the egress-held vault for fast sandboxes (OSEP-0022), landing in stages: the internal
/vault/{sandboxUid}relay surface with create-only POST (409 on duplicate, atomic across server replicas), full-revision PUT withexpectedRevisionand anexpectedIncarnationprecondition so a stale writer can never land on a reset's successor, value-including GET, and DELETE that keeps the policy (#2249); durable per-subject persistence — one file per subject under a Pod-scoped volume (optional tmpfs), the same commit protocol as policy files so acked means durable and applied, incarnation-fenced reload, and purge on unbind (#2252); and the superseded fastlet-proxy vault route removed with its pending-push cache (#2247) - Carry the vault across pause/resume (OSEP-0022 "Vault Lifecycle"):
VAULT_EXPORTcopies the vault file into the snapshot bundle strictly before runtime teardown and seals the subject (all vault ops answer 409 while paused; enforcement continues), andVAULT_IMPORTis the only authorized incarnation transfer — the bundle re-stamps with the restored fence beforedata-plane-ready, validated against the current policy before any durable effect; a genuine export failure leaves the subject unsealed and fails the pause checkpoint, so teardown never runs without a bundle and the egress-local vault survives for the retry (#2255); avaultTransfercapability signal lets an egress without vault persistence skip the transfer entirely — the checkpoint proceeds without the vault (pre-transfer semantics) instead of failing (#2290) - Define stale-subject takeover on slot reuse: the fast-sandbox dispatch key is the slot IP and slots are reused, so a
SET_BINDINGcan claim a key still held by a dead-but-registered subject — egress now treats that as authoritative, tearing down the stale subject's nft rules, DNS refcount, MITM redirect, and vault slice under the registry lock before registering the successor deny-first; traffic is never dispatched to stale rules, late unloads stay fence-guarded no-ops, and every failure path leaves each subject either fully registered or fully evicted (#2250) - Pin the fast-sandbox MITM CA (OSEP-0022 "MITM Trust Anchor"): the pool-pinned, versioned CA is seeded from a read-only secret mount into the mitmdump confdir (idempotent, fail-closed on an unloadable pair), replacing generate-on-start — an egress restart no longer rotates the CA and silently invalidates every live sandbox's TLS trust; a missing or mismatched CA refuses only the MITM addon (policy enforcement unaffected) with
mitmCaFingerprint/mitmCaDownsurfaced on/healthzand the actions status, so a template↔pool Secret mispairing is visible at a glance (#2251) - Align the fast-sandbox network policy with the vault pattern: the recorded policy becomes egress-held state — a
/policy/{sandboxUid}relay surface with revision preconditions (unknown subject 404, incarnation mismatch 412, sealed 409), durable per-subject files using the same commit protocol,POLICY_EXPORT/POLICY_IMPORTsnapshot transfer mirroring the vault, and, after an egress restart, the committed file superseding the replayed create-time binding input (#2309) - Support port-scoped egress rules end to end (classic profile):
NetworkRule.ports(TCP 1–65535, ≤256 per rule) makestargetoptional — port-only rules, or ports combined with an IP/CIDR; domain+portsis rejected since domain rules evaluate at the DNS proxy layer; deny-before-allow precedence holds across scoping, and a PATCH merge-key bug that let a second port-only rule evict the first is fixed; an operator-shippedreachable.ports.capwhitelist is enforced as an always-deny ahead of every user rule so evendefaultAction: allowcannot open a non-whitelisted port; the fast-sandbox route rejectsportswith 400 until the fastlet nft path can enforce them (fail-closed, documented) (#2212) - Add static TLS passthrough selectors to the experimental live-revision runtime:
OPENSANDBOX_EGRESS_MITMPROXY_PASSTHROUGH_HOSTSis a bounded exact/wildcard host array applied at ClientHello with 443-overlap rejection; existing nonempty nativeignore_hosts/allow_hostsnow reject startup in live mode — migrate static TLS bypass entries to the array (legacy mode unchanged, no public interceptionMode added) (#2229) - Emit TLS admission counters: one best-effort event per final ClientHello admission feeds
egress.mitm.tls.connections_totalwith closedmode/decision/reasonlabels — it measures admission decisions, not handshakes or requests, and is explicitly not security evidence (#2265) - Add the installation-only subject revision IPC foundation (OSEP-0023 Phase 4): an authenticated v2 Unix-socket channel routes target-bound revision transactions to independent, admission-disabled installation receivers with frozen request bytes and lost-reply reconciliation; no production caller yet (#2284)
- Ship
egress-trace, a read-only admission viewer inside the egress image: live policy state, nft sets and DNS leases with TTLs, real outbound connections annotated with their admission verdict, and aprobe <domain>subcommand separating policy denial from resolver failure; no sidecar behavior change, and decrypted L7 contents are deliberately never shown (#2230)
Misc
- Console: land the third of five planned console PRs — admin and platform ops, with
/api/admin/sandboxesaggregation, per-tenant detail proxying, a pools API (documented as not tenant-isolated), and admin global sandbox list / pools / overview KPIs in the web UI (#2131); preserve empty successful upstream responses in the BFF proxy instead of failing JSON decode on 200/201/205 (#2271) - CLI: add
osb terminal <sandbox-id>, attaching the local terminal to a real PTY inside the sandbox over the execd PTY WebSocket — raw mode withSIGWINCH-driven resize, replay on reconnect, remote exit code propagation, and support for both direct and server-proxy connection modes (interactive TTY, POSIX) (#2313); report out-of-range duration inputs as Click validation errors instead of uncaughtOverflowError/ValueError(#2272) - OSEPs: OSEP-0022 revised — the vault rides the action binding as an AES-256-GCM-sealed revision on one control channel, with the per-pool pinned CA as the MITM trust anchor (#2174); the planned OpenSandbox runtime driver ask is withdrawn (the firecracker driver ships as-is; deny-first timing replaces the pre-create healthz probe) (#2259); MITM CA namespace distribution becomes an ops-runbook deployment prerequisite instead of a resident sync controller (#2282)
- Examples: add an all-in-one Docker image for the DeerFlow example bundling the OpenSandbox server (host Docker runtime) and the DeerFlow backend, for one-command workshop starts without a local Python toolchain (#2262)
- Docs: reflow hard-wrapped markdown prose into single-line paragraphs across 148 files (~7.4k collapsed fragments, rendering unchanged) and codify the prose style rule in
AGENTS.md(#2285) - Tests/CI: cache Go modules for the five Kubernetes nightly e2e jobs (
setup-gosilently skipped its cache without a rootgo.sum, re-downloading the full module graph nightly) (#2306); close the credential-vault happy path in the fast-sandbox smoke — relay CRUD, injection through the real mitm for every auth type, rotation, restart durability, and purge (#2256); dump every fastlet Pod container's logs (including egress) on pause/resume verify failure (#2290) - release: bump platform version to
1.2.0-rc.2across charts and image references
Upgrade & Compatibility
- Breaking: bash-session stdout event text now includes its original line endings, and blank lines appear as events — consumers must concatenate event text per run to recover exact output instead of treating each event as a newline-free line (#2318)
- Behavior change: a BatchSandbox past its
spec.expireTimenow reportsTerminated/SANDBOX_EXPIREDinstead ofRunning, even while the pod is still Ready — callers that treatRunningas alive should check expiry (#2238) - Behavior change: Docker-backed snapshots of gVisor containers without
--overlay2=noneare rejected withSNAPSHOT::UNSUPPORTED_RUNTIME(409) instead of publishing a silently incomplete image (#2241) - Behavior change (experimental egress live mode only): nonempty native
ignore_hosts/allow_hostsnow reject startup — migrate static TLS bypass entries toOPENSANDBOX_EGRESS_MITMPROXY_PASSTHROUGH_HOSTS(#2229) - Deprecation: the
extensions["access.renew.extend.seconds"]create key is deprecated in favor oflifecycle.renewalPolicy.extendSeconds— supported throughout 1.x, removed in 2.0; setting both is accepted only when values match (#2296) - Behavior change: execd upper-directory quota admission fails closed when
upper_max_bytes > 0and a usage scan fails (previously the quota check was silently bypassed) (#2257) - Images:
opensandbox/<component>:release-1.2.0-rc.2(all three registries) - Packages: unchanged — SDK/CLI artifacts publish at the
1.2.0stable release - Charts: render from this tag (
helm template ./manifests/charts/opensandbox) - Kubernetes: supported range v1.21 – v1.34 (charts declare
kubeVersion: ">=1.21.1-0") - Skew: server ↔ CLI/SDK same line supported; ±1 minor warns
👥 Contributors
Thanks to these contributors ❤️
- @Aling33
- @BootstrapperSBL
- @JasonBuildAI
- @Jun516
- @Pangjiping
- @acodercat
- @alex-feel
- @comqx
- @hardness1020
- @hpliStartAgain
- @ninan-nn
- @pingkui
Artifacts
- Images:
opensandbox/<component>:release-1.2.0-rc.2(Docker Hub / GHCR / ACR)
Installation
# Platform (Kubernetes) — render the chart at this tag and apply
git clone https://github.com/opensandbox-group/OpenSandbox
cd OpenSandbox
git checkout release-1.2.0-rc.2
helm dependency build manifests/charts/opensandbox # package file:// sub-charts (not committed)
# the default render needs required values (server env / api key) and the
# ingress gateway — see docs/deployment before applying
helm template ./manifests/charts/opensandbox | kubectl apply -f -
# or point your GitOps platform (Argo / Flux) at the repo path + tagVerify what you installed against the BOM: see Release Verification.
详细ChangeLogrelease-1.2.0-rc.1
2026年10月15日
First release candidate on the 1.2.0 line, carrying everything merged since release-1.1.1 — the headline is OSEP-0024: auto-pause and wake-on-access for fast sandboxes, landing end to end. Images publish now; SDK/CLI packages ship at the 1.2.0 stable bump. Please test and report issues.
Highlights
- Auto-pause and wake-on-access for fast sandboxes (OSEP-0024) lands end to end: ingress activity tracking and the wake path, the server-side idle sweeper, the opt-in
lifecycle.idlePolicycreate field, and the wake-retry contract in all five SDKs — off by default, additive only (#2156 #2180 #2192 #2198 #2218) - Egress sidecar (experimental, opt-in): live credential-bound Vault admission, HTTP/2 support with bounded drain, atomic policy-file persistence, and runtime fault containment (#2176 #2201 #2182 #2162 #2172)
- SDK reliability: file uploads and downloads are no longer aborted at the 30-second request timeout in any of the five SDKs; execd now reports sandbox-scoped CPU/memory and OOM kills (#2165 #2186 #2196 #2206 #2191 #2200)
Server
- Implement the server side of OSEP-0024 auto-pause for fast sandboxes: the lifecycle create field
lifecycle.idlePolicy(idleTimeoutSeconds30–86400,onIdle: pause,wakeOnAccess, optionalactiveProbe) validates with pydantic bounds and persists as the reservedsandbox.opensandbox.io/idle-policySandbox CR annotation (annotation-write failure stays fail-safe — the sandbox is created unpolicied); an idle sweeper enumerates opted-in fsb sandboxes from the informer cache, checks activity in Redis (monotonic-max writes, missing-key tombstones can only delay a pause), takes a per-sandbox pause lock with re-verify under lock, and issues an idempotent FastPathPauseSandbox; a declaredactiveProbeexecutes through the ingress gateway and a busy answer records ordinary activity; anOpenSandbox-Skip-Activity: skipsentinel suppresses the observation for one request and is stripped on both gateway and server-proxy hops (#2192 #2181) - Configure idle-pause under the new lifecycle-automation umbrella:
[idle_pause]becomes[automation.idle_pause]and the redundantredis.enabledgate is removed —redis.dsnis required (validated at load) whenenabled = true, failing loudly instead of silently not starting the sweeper;configuration.mdis rewritten for conciseness and now documentsingress.secure_accessand the missing env-var overrides (#2215) - Default BatchSandbox pods to
restartPolicy: Never: a kubelet in-place container restart recreated the main container from its image — wiping the writable layer and in-memory state — while the sandbox kept reportingSucceed; restarting is never a meaningful recovery for a sandbox, so the honest default is no restart, which also makes the controller's terminal-failure path reachable. An explicitrestartPolicyin the template still wins, the Windows profile keeps forcingAlways(multi-phase installation relies on it), and pool mode is unchanged (#2128) - Treat
pasta/slirp4netns/noneas container-runtime network modes and pass them straight through, making podman's kernel-level networking selectable — on Windows 11 + WSL2 where netavark breaks bridge mode,pastawas the only working network and previously failed create with a 400 asking for a user-defined Docker network;networkPolicyis now rejected for these modes since there is no bridge for the egress sidecar to attach to (previously silently accepted fornone) (#2203) - Parse Docker timestamps whose fractional second is not 3 or 6 digits: Docker writes RFC3339Nano (trailing zeros dropped), Python 3.10's
fromisoformatrejects 5-digit fractions, and the helper fell back todatetime.now()— socreatedAtandstatus.lastTransitionAtsilently reported the current time; the fraction is now zero-padded to 6 digits (#2220)
SDKs
Code changes below ride the 1.2.0 stable release — rc ships no SDK packages.
- Add the OSEP-0024 SDK contract to all five languages: a typed
lifecycle.idlePolicycreate field (IdlePolicy/ActivityProbemodels with client-side fail-fast validation mirroring the server: timeout 30–86400 s,onIdle: "pause"pairing, probe path/timeout bounds; wired through both standard and template create) and the wake-retry contract — on a503carrying the gateway-ownedOpenSandbox-Wake: expiredmarker (its presence proves the request was parked and never forwarded, making any-method retry safe), the SDK resends afterRetry-Afterunder a bounded budget (default 5 attempts / 60 s, per-client knobs), exhaustion raises a typed wake-timeout exception carrying attempts and waited time, the server-side resume is never canceled, bare503handling is unchanged, and SSE/streaming transports bypass wake retry (#2198 #2218) - Stop capping file uploads and downloads at the request timeout (30 s default) in all four remaining SDKs — the whole-call timeout (
http.Client.Timeout, OkHttpcallTimeout,AbortController,HttpClient.Timeout) covered sending the request body and reading the response, so any large or slow transfer failed mid-flight even while healthy; transfers now run on a dedicated client with no whole-call deadline that still bounds the wait for response headers, so a stalled transfer still fails instead of hanging (#2165 #2186 #2196 #2206) - Suppress
sandbox.createclient metrics for client-pool warmup creates in Go, Python, and JavaScript, aligning with Kotlin: warmup traffic (hardcodedskipHealthCheck, hundreds of ms) previously mixed into user-facing create-latency metrics and dragged p50/p99 down; direct-create from pool acquire and user-facing creates keep reporting (#2199)
Python
- Clean up cancelled async pool startup: cancelling
SandboxPoolAsync.start()mid-await left the instance stuck inSTARTING, where a subsequentstart()silently returned and startup-owned resources skipped cleanup; cancellation now reuses the reconciliation cleanup path, moves toSTOPPED, and re-raises so the caller can retry (#2209) - Stop reporting failed file replacements as successful: the ordinary filesystem adapters caught and discarded the generated client's
JSONDecodeError, so an empty or non-JSON HTTP 400/500 fromreplace_contents()returned success and an agent could keep building on an unapplied edit; the catch is removed and the documentedSandboxExceptionfailure contract is restored (isolated-session adapters keep their empty-body compatibility catch) (#2222)
Go
- Strip all
OPEN-SANDBOX-*/OPENSANDBOX-*headers and every configured authentication header (includingX-EXECD-ACCESS-TOKEN,X-API-Key, and customWithAuthHeadernames) on cross-origin redirects, comparing each destination against the initial request's scheme, host, and effective port so credentials cannot reappear on later foreign-origin hops; applied across lifecycle, execd, egress, file transfers, SSE, and creation metrics while preserving customCheckRedirectpolicies (#2178)
Controller
- Retain a BatchSandbox until cleanup completes: a deleted sandbox could disappear from the lifecycle API (GET 404) while its owned pod still ran, letting a replacement sandbox write the same persistent directory before the old writer exited; deletion now uses foreground cascading deletion alongside the existing task-cleanup and pool-release finalizers, and TTL reconciliation stops once deletion is accepted —
DELETEstill returns 204 when accepted, queries reportStoppingduring managed cleanup, and 404 arrives only after the runtime is gone; all five SDKs'killdocs and logs describe the accepted-deletion semantics (#2154)
Execd
- Report OOM kills via cgroupfs polling: kernel-side evidence was out of reach from inside a sandbox (no
CAP_SYSLOG, no/dev/kmsg), so OOM events were unobservable; execd now polls the sandbox cgroup every 5 s and diffs the kernel OOM kill counter (memory.eventson v2, best-effort on v1) — the hierarchical counters cover nested cgroups like bwrap isolated sessions — exportingexecd.system.oom.killswith alocal/descendantlevel attribute plus structured warn logs with best-effort victim attribution; the watcher runs independently of OTLP export and needs no capabilities (#2191) - Report sandbox-scoped CPU/memory metrics:
GET /metricsand theexecd.system.cpu.usage/execd.system.memory.usage_bytesgauges read/procthrough gopsutil, which inside a container describes the host — dashboards showed host-wide memory and CPU; when the sandbox cgroup carries configured limits, usage now comes from the sandbox's own cgroup (cpu.stat/cpu.max,memory.current/memory.max, v1 fallback, hybrid hosts prefer v1), with the previous host view kept for unlimitied guests such as fast-sandbox microVMs; the wire format is unchanged (#2200) - Percent-encode quotes and backslashes in
Content-Disposition: a filename containing"or\produced a quoted-string no standard parser accepts (mime.ParseMediaTyperejected it and clients got no filename at all); such names now route through the samefilename*=UTF-8''encoding as non-ASCII names (#2161) - Parse the
Rangeheader before setting download headers: a malformed range answered 416 with the file'sContent-DispositionandContent-Lengthstill attached, truncating the JSON body or dropping it entirely — surfacing in the Python SDK as a connection error instead of a 416SandboxApiException; the error response is now a clean JSON 416, and 200/206 responses are unchanged (#2216)
Networking
egress
All items below concern the default-off OSEP-0023 experimental revision runtime; legacy and DNS-only deployments are unchanged.
- Add experimental live credential-bound Vault admission: Vault mutations flow through the revision transaction and install the private authenticated snapshot before publishing the public result; bound HTTPS connections are admitted and header credentials injected only after exact request matching with SNI/HTTP/1 authority agreement (ECH-extension ClientHellos stay opaque), with per-request credential rotation, fencing of removed bindings on existing connections, and transport retirement at the drain deadline; scope is exact-host HTTPS on 443 with HTTP/1.1 and inline header credentials (#2176)
- Acknowledge live Policy revisions before publication: the Policy API and automatic
deny.always/allow.alwaysreloads now commit in order — optional file persistence, nft application, exact receiver acknowledgement or reconciled readback, then proxy publication and API success — with fail-closed recovery when the receiver fails after nft has taken effect, and 30-second drain deadlines on policy-only updates that never extend across later revisions (#2182) - Add experimental HTTP/2 admission and bounded drain: snapshots bind atomically to actual client stream IDs at requestheaders, post-fence requests get
REFUSED_STREAMbefore reaching origin, GOAWAY waits for outstanding output obligations while expiry uses abnormal closure, and a once-only mitmdump exit fallback covers unverifiable cleanup ownership; the adapter is pinned to CPython 3.10/3.11 and rejects configured chained upstream proxies (#2201) - Contain runtime recovery faults in the sidecar network namespace: an unexpected MITM exit now triggers an independent, read-back-verified IPv4/IPv6 fence pinned to the original namespace for the process lifetime — blocking all input/output/forward traffic including existing connections and loopback — with
QuarantineConfirmedreported only after real rule readback; normal successful mutations never introduce a fence (#2172) - Persist experimental revision policy files atomically: writes go through a same-directory temporary inode with fsync + rename + directory fsync, restores put back the exact previous bytes (or synchronized absence), and unsupported storage — file bind mounts, read-only or symlinked paths, hardlinks, unsafe ownership, unsupported SELinux/IMA metadata — is rejected before the original is touched; operators must provide an existing egress-owned, exclusively written directory mount (#2162)
- Classify nft apply effects before policy recovery: local construction, pre-start cancellation, and start failures are Unchanged (state preserved, retry allowed after restore), successful execution is Committed, and every post-start or unclassified error is Unknown — closing writer admission and latching recovery before best-effort restoration; the missing-table fallback retains both errors and never downgrades an Unknown result (#2167)
ingress
- Implement OSEP-0024 activity tracking and wake-on-access: with
--activity-enabled, every routed request records a monotonic activity timestamp to Redis — fire-and-forget, never on the hot path — with per-replica write coalescing, Lua monotonic-max updates so out-of-order writes never regress the newest observation, and pipeline batching; with--wake-enabled, a request routed to a paused fast sandbox is parked instead of answered 503: oneResumeSandboxper replica per sandbox under a checkpoint-fenced singleflight, a bounded parking lot and budget (overflow/timeouts answer 503 +Retry-Afterwhile the restore continues, never canceled), and stale-route re-entry replayed on a fresh route only when safely replayable; with both flags unset, behavior is byte-identical to today (#2156) - Complete OSEP-0024 wake hardening: post-forward stale-route replay is restricted to idempotent methods with reproducible bodies (a forwarded
POSTis never silently re-executed); the pre-forward wake-timeout answer carries the OSEP-defined marker (503+Retry-After: 1+OpenSandbox-Wake: expired+ asandbox_wake_timeoutbody naming the sandbox), stripped from every upstream response so a sandbox cannot forge provenance; a separate restore permit (--wake-restore-max, held to flight terminal) bounds concurrent restores independently of the parking lot; and wake now requires the per-sandboxlifecycle.idlePolicyopt-in read strictly from the Sandbox CR annotation — missing or malformed means no policy and today's permanent 503, never an implicit opt-in;gateway.wake.*chart values wire the flags and add read-only RBAC only when enabled (#2180)
Fast Sandbox
- Make sandbox deletion reliable: deletion now sends a fenced Fastlet delete before any runtime-absence check, so a missing registry entry, transport failure, or empty inspect response is no longer treated as proof the sandbox is gone (which could orphan the microVM while the CR disappeared); the Fastlet records a per-identity tombstone so a delayed create cannot revive a deleted sandbox, and the cleanup finalizer is persisted at CR creation (#2214)
- Make create placement recover faster: after proven rejections FastPath refreshes its candidate list within a bounded budget (excluding Fastlets already tried) and waits up to 2 s for assignment status to catch up before switching, and a process-local create tracker stops a deleted or replaced Fastlet pod from blocking the new assignment's projection or racing pod-loss recovery — the first-create happy path is unchanged (#2214)
- Batch guest NAT updates: new guest-VM slots prepare dedicated DNAT/SNAT chains and restore replaces only those chains in one
iptables-restore --noflushbatch, so reapplying the same guest address no longer accumulates rules, with a newfast_sandbox_network_guest_apply_stage_latency_secondsmetric separating the apply stages (#2214)
Misc
- Console: land the first slice of a new optional web console — a FastAPI BFF with httpOnly sessions and tenant/admin login proxying the lifecycle
/sandboxesAPI (with aruntimeSummaryon list/get), plus a React SPA covering tenant overview, sandbox list/create/detail, renew/delete, and the endpoint; first of five planned console PRs, with the admin UI to follow (#2129) - CLI: coerce config-file values to their declared types so a numeric
api_keyno longer silently resolves to null (breaking every command with aValidationError) and a numericdefaults.timeoutno longer crashessandbox create(#2169); keep output writable on non-UTF-8 streams — GBK/cp1252/C-locale users could not run anyosbcommand because emoji rendering raisedUnicodeEncodeError, often after the work was already done; streams now escape unencodable characters and YAML output is re-dumped escaped to stay valid (#2187); write installed skills where each tool actually reads them — theclaudetarget now writes.claude/skills/<name>/SKILL.md(the previous flat file was silently never loaded), and globalcline/copilottargets write~/.cline/rules/opensandbox-<name>.mdand~/.copilot/copilot-instructions.md; previously installed inert files are not migrated (#2194 #2208) - Fast-sandbox integration environment: drive the verify stages through the published
osbCLI instead of rawcurl(template build, sandbox create/kill, endpoint fetch, pause/resume, snapshot create/get/list/delete/restore, renew), withserver_apikept only for calls the CLI does not expose (networkpolicy replace PUT, RFC 7396 merge-patch, the snapshot re-entry code fence, gateway probes) (#2171); add an opt-inIDLE_PAUSE=1profile that deploys ephemeral Redis, enables the[automation.idle_pause]sweeper and gateway activity/wake values, and verifies the full auto-pause → wake-on-access loop onup, plus an SDK e2e suite and a nightly KVM workflow job (#2202) - Docs: accept and document OSEP-0024 — the proposal itself (#2152) plus an architecture page and user guide covering enablement, the
idlePolicyfield reference, the activity-probe contract, SDK wake-retry behavior, and an interactive diagram (#2217); unify component telemetry metrics from seven scattered locations into one reference atdocs/guides/telemetry.md(#2205); refresh the network architecture pages with restyled SVG diagrams, a condensed egress page, and the network-isolation guide relocation (#2210); align CONTRIBUTING with the code (Go 1.25, Gin — not Beego) (#2175), dedupeAGENTS.mdrules and state the architecture-vs-guides placement rule once (#2211), and fix the "shared Fastlet egress profile" misnomer to "shared egress process per Fastlet pod" with a note that gRPC ends at FastPath (#2225) - Tests/CI: align the node-agent log-collection e2e assertion with execd's preserved trailing newline (#2164); make the umbrella release workflow dispatch-only by dropping the weekly scheduled dry-run (#2223)
- release: bump platform version to
1.2.0-rc.1across charts and image references
Upgrade & Compatibility
- Behavior change: BatchSandbox pods now default to
restartPolicy: Never(implicitAlways→Never) — deployments that relied on the implicit default and want restarts must setrestartPolicy: Alwaysexplicitly in theirbatchsandbox_template_file(a startup warning will note the trade-off) (#2128) - Behavior change: deleted sandboxes stay queryable in
Stoppinguntil runtime cleanup completes, and only then return 404 — clients sharing a persistent directory should wait for the 404 before starting a replacement (#2154) - Behavior change: execd CPU/memory metrics report sandbox-scoped values when the sandbox cgroup has limits configured (previously host-wide);
GET /metricsfield semantics and OTel metric names are unchanged, but dashboards will shift (#2200) - Behavior change:
networkPolicyis rejected for Docker network modesnone/pasta/slirp4netns— previously accepted silently fornone(#2203) - Images:
opensandbox/<component>:release-1.2.0-rc.1(all three registries) - Packages: unchanged — SDK/CLI artifacts publish at the
1.2.0stable release - Charts: render from this tag (
helm template ./manifests/charts/opensandbox) - Kubernetes: supported range v1.21 – v1.34 (charts declare
kubeVersion: ">=1.21.1-0") - Skew: server ↔ CLI/SDK same line supported; ±1 minor warns
👥 Contributors
Thanks to these contributors ❤️
- @Dev-next-gen
- @GodBlf
- @JasonBuildAI
- @Jinzhengxu
- @Jun516
- @Pangjiping
- @acodercat
- @comqx
- @hpliStartAgain
- @kittimzhe
- @mengdehong
- @ranjianghong526-hash
- @ratishjain12
- @zw11591-sketch
Artifacts
- Images:
opensandbox/<component>:release-1.2.0-rc.1(Docker Hub / GHCR / ACR)
Installation
# Platform (Kubernetes) — render the chart at this tag and apply
git clone https://github.com/opensandbox-group/OpenSandbox
cd OpenSandbox
git checkout release-1.2.0-rc.1
helm dependency build manifests/charts/opensandbox # package file:// sub-charts (not committed)
# the default render needs required values (server env / api key) and the
# ingress gateway — see docs/deployment before applying
helm template ./manifests/charts/opensandbox | kubectl apply -f -
# or point your GitOps platform (Argo / Flux) at the repo path + tagVerify what you installed against the BOM: see
Release Verification.
release-1.1.1
2026年10月09日
Stable cut of the 1.1.1 patch line: fixes the broken 1.1.0 server wheel — hatchling's VCS-exclude filtering silently dropped the committed FastPath gRPC stubs from the PyPI package, so every 1.1.0 install of opensandbox-server failed at import time; PyPI is immutable, so the fix ships on this line (#1959). SDK/CLI/server packages publish at 1.1.1 (1.1.1-rc.1 shipped images only). Everyone on 1.1.0 should upgrade. Baseline for every section below: release-1.1.0.
Highlights
- Fixes the
1.1.0server wheel: FastPath stubs now ship in the package and installs import cleanly; SDK/CLI/server packages publish at1.1.1(#1959) - Identity-bound filesystem operations: execd executes file APIs as an explicit Linux UID/GID, with
FilesWithIdentity/files_with_identityin all five SDKs; isolated sessions gain multiple independent overlay mounts (#2070 #2093 #2094 #2095 #2096 #2097 #2032) - Server hardening: snapshot creation submits the runtime object before persisting so early reads can't map to
Failed, proxied backend failures map to 502/504 instead of a generic 500, and diagnostics work for pooled sandboxes (#2098 #2077 #2084 #2104)
Server
- Implement pause/resume for the agent-sandbox provider by bridging to
spec.operatingMode(Running/Suspended) onagents.x-k8s.io/v1beta1, with state derivation (Paused/Pausing/Resuming/Terminated) and 409 on invalid transitions; both endpoints previously returned "not supported" (#1975) - Isolate tenants that share one Kubernetes namespace: creates stamp
opensandbox.io/tenant, and list/get/delete/pause/resume/proxy hide other tenants' labeled sandboxes as 404 while unlabeled legacy sandboxes stay visible until expiry; also addskubernetes.insecure_skip_tls_verifyfor ServiceAccount CA mismatches (#1973) - Heal the silent renew-intent drop after a server restart in multi-tenant mode: the resolver now falls back to a cluster-wide label lookup with a 403 circuit breaker and structured warnings, trusts an ingress-observed namespace from the intent payload when verifiable, and single-tenant deployments never resolve beyond the configured namespace (#1819)
- Add
[docker] publish_hostto publish bridge-mode sandbox ports on one host address (default0.0.0.0unchanged) — with127.0.0.1or the Docker bridge gateway, the tokenless execd port no longer lands on public interfaces (#1954) - Add a typed, admin-only
[egress.upstream_proxy]config section (URL + optional authorization, validated at load) that injects the sidecar's chained upstream CONNECT proxy on both Docker and Kubernetes, with fail-closed 400s when the requestednetworkPolicyis incompatible; secret values are no longer echoed in config-validation errors (#1999), plusca_cert_path(Docker) andca_secret_name(Kubernetes) sohttps://proxies signed by a private CA are trusted without replacing the system trust store — the PEM augments/etc/ssl/certsin the sidecar (#2030) - Make snapshot creation race-free for early readers on k8s/fsb:
POST /sandboxes/{id}/snapshotsnow creates the runtime object (SandboxSnapshot CR / fsb submit) before persisting theCreatingrow and returns without queueing a worker, so read-time sync can no longer map a not-yet-created object toFailed— including on other HA replicas; recovery resubmits stuck rows inline (#2098), fixing the window where a client polling right after create flipped the row to a permanentFailed(#2077) - Map proxied backend failures to meaningful statuses: read/write timeouts return 504
BACKEND_TIMEOUT, mid-response resets and protocol errors return 502BACKEND_RESPONSE_FAILED, keeping 502BACKEND_CONNECTION_FAILEDfor connect failures — a sandbox that dies mid-request no longer looks like a server bug (#2084) - Find pool-allocated pods for k8s diagnostics: pooled BatchSandboxes don't carry the
opensandbox.io/idpod label, so every logs/events/inspect call returned 404; the lookup now falls back to the pods listed in the workload'salloc-statusannotation (#2104) - Remove auto-created Docker volumes when create fails before the provisioning block runs (image pull, credential/upstream-proxy checks, Windows prerequisites, OSSFS prep) — a mistyped image name no longer leaks the PVC it triggered (#2103)
- Report deleting pooled/task-mode BatchSandboxes as
Stopping/DELETING:metadata.deletionTimestampnow wins over runtime status publication, so a sandbox whose pods go not-ready during finalization no longer flips back toPending/CREATING(#2122) - Stop Docker metadata PATCHes from resurrecting deleted keys:
patch()now starts from the override file (asget()does) instead of re-merging container labels, so{"env": null}stays deleted and an emptied override file doesn't restore the original labels (#2065) - Accept
envon template create and bake it into the fast-sandbox golden image (/etc/sandbox-init.env, inheriting the source image's OCIConfig.Env), closing the gap whereSandboxTemplate.spec.envsexisted but the lifecycle API rejected it; supported across all SDKs (#1984) - Wake Kubernetes creation waits on informer watch events instead of fixed 1-second polling, cutting prewarmed-pool create latency from ~1 s to tens of milliseconds while keeping the polling fallback (#1996)
- Ship the committed FastPath gRPC stubs in the server wheel by force-including them past hatchling's VCS excludes, and smoke-import the built wheel in the release workflow before publishing — this is the
1.1.0install-time breakage fix (#1959) - Fix the Fast Sandbox snapshot CR plural (
sandboxsnapshots) in Helm RBAC and the fsb snapshot runtime, wheresandboxesnapshotscould fail list/watch with missing RBAC (#1972) - Propagate the underlying FastPath error message through the 429 capacity mapping (keeping status and
Retry-After, adding acausefield) so admission/runtime failures like a broken KVM device are no longer masked as pool exhaustion, and warn-log the raw error before mapping (#2001) - Clarify the renewal contract:
renew-expirationmay shorten, preserve, or extend expiration (any future target is valid) andmax_sandbox_timeout_secondscaps only creation, not renewal or total lifetime — documentation and SDK references aligned, with regression coverage across Docker, Kubernetes, and FastSandbox (#2087) - Fix Docker edges: reject a repeated pause of an already-paused sandbox with the documented 409 instead of surfacing Docker's "already paused" as 500 (#2023), and clear Docker masked/read-only system paths only for sandboxes that opt into the isolation extension so nested Bubblewrap can mount a private procfs (#1982)
SDKs
- Add identity-bound filesystem operations end to end: execd gains additive
/v1/filesystem/{uid}/{gid}routes backed by a per-request worker process running with explicit credentials and account-derived supplementary groups (fail-closed, existing routes unchanged), and every sandbox SDK exposes it — Pythonfiles_with_identity, JavaScriptfilesWithIdentity, KotlinfilesWithIdentity, C#FilesWithIdentity, GoFilesWithIdentity— so Linux checks the selected user's permissions during actual access; identity selection belongs in the trusted backend, this enforces filesystem permissions and is not a tenant boundary (#2070 #2093 #2094 #2095 #2096 #2097) - Expose multiple independent overlay mounts per isolated session across the API and all five SDKs:
CreateIsolatedSessionRequest.overlays({path, mode, persist}) with separate host-tracked or ephemeral tmpfs uppers,workspacekept as sugar, andSessionStateechoing the canonical list — completing the internal foundation from #2021 (#2032) - Add
commands.setEnvfor persistent runtime env injection in all five sandbox SDKs (Python async/sync, JavaScript, Kotlin/Java, Go, C#): appendsKEY=VALUEto the sandbox env file with runtime-exact serialization, local key/NUL validation, and a loud failure whenEXECD_ENVSis unset (#2013) - Systematic cross-language audit cleanup across sandbox, code-interpreter, and MCP SDKs: Go retry backoff collapsing to zero delay and dropped session
cwd, Python isolated-session ignoringencodingand readiness budgets reporting stale errors, JS resume sharing and killing the source sandbox's transport, Kotlin codes runs dropping every SSE-framed event and never settingexitCode, C# create failing on fresh-sandbox 404 and NREs on empty bodies, and MCP per-call closes tearing down the server-wide shared transport — each fixed with regression tests (#2020) - Support
envon template create across all five SDKs, matching the server-side golden-image baking (#1984) - Align background command stream completion across languages: with execd's fixed completion delay removed, background result collection in Go, Kotlin, and C# now returns on startup acknowledgement like Python and JavaScript instead of waiting for EOF and inferring exit code 0 — query command status for the eventual outcome; foreground calls still read to EOF for older servers (#1825)
Python
- Raise on error responses from
create_sessionanddelete_session: both passed the parsed model to the error handler (which needs the raw status), so 400/404/500 returnedNoneas success and unknown statuses raised with a bogusstatus_code=200— the CLI could print "Deleted session" for a session that never existed (#2066) - Expose
follow_redirectsonConnectionConfig/ConnectionConfigSync, propagated to all handwritten async/sync httpx clients including SSE clients and generated-client wrappers (#1123) - Keep the last real endpoint error when the readiness deadline expires mid-request: the budget no longer records its own
SandboxReadyTimeoutExceptionaslast_error, so causes likeKUBERNETES::POD_IP_NOT_AVAILABLEaren't masked as a plain timeout (#2121) - Authenticate Code Interpreter requests in server-proxy mode: context creation and streamed execution now attach the API key like sandbox file requests, fixing 401s from the same proxy (#2125)
- Serialize
SandboxPoolSync.shutdown()teardown: concurrent shutdown (or shutdown racingstart()) could close the warmup event loop twice; teardown is now idempotent under a dedicated lock (#2041) - Orphan the shared warmup event loop instead of closing it over an in-flight warmup: when the bounded drain wait ends with warmups still running, shutdown leaves the loop alive so the in-flight warmup finishes and cleans up its sandbox, instead of destroying the pending task and skipping cleanup (#2142)
- MCP: map expected OpenSandbox validations to MCP 2.x
ToolErrorso clients get the actionable message instead of a generic "Error executing tool" (#2108)
JavaScript
- Treat empty-body non-2xx responses as errors: openapi-fetch sets no
errorforContent-Length: 0/204/HEAD responses, so an empty 404/502/503 from a gateway madedeleteSandbox,pauseSandbox, and file deletes look successful in both the sandbox and code-interpreter packages (#2101)
Kotlin
- Identity-bound filesystem operations via
sandbox.filesWithIdentity(uid, gid)— see the cross-SDK entry above (#2095)
C#
- Identity-bound filesystem operations via
sandbox.FilesWithIdentity(uid, gid)— see the cross-SDK entry above (#2096)
Go
- Identity-bound filesystem operations via
sandbox.FilesWithIdentity(uid, gid)— see the cross-SDK entry above (#2097) - Document previously uncovered surfaces: file operations, volume mounts (
host/pvc/ossfs), the full template workflow,WaitUntilReadywith custom health checks, andSandboxManager(#2024)
Controller
- Add OpenTelemetry allocator-path metrics on the
opensandbox/controllermeter: pool-allocation schedule, alloc-state persist, and alloc-result sync duration histograms with namespace/pool/success attributes, exported over OTLP (#2014) - Prepare the pool-assign surface for custom extension: the
Predicateinterface and predicate methods underpoolassignare now exported — the package remains underkubernetes/internal/, so external Go modules cannot import it yet (#2037) - Auto-replace BatchSandbox pods stuck in provisioning failures during initial startup: never-Ready pods waiting in
ImagePullBackOff/ErrImagePullare deleted after a threshold so the scheduler can escape a broken node (a full disk had left one production fleet with 114 stuck sandboxes), with a per-sandbox, per-generation replacement budget and aPodRecoveryLimitReachedwarning; permanently broken images are skipped (#1961) - Support custom snapshot image URI templates:
--snapshot-image-uri-template/controller.snapshot.imageURITemplatename rootfs and QEMU VM-state targets with snapshot/sandbox/container/namespace metadata anddate/dateInZonehelpers, validated (invalid refs, duplicate targets) before Job creation; empty keeps existing naming (#2004) - Fix the free-pod predicate admitting pods on a non-empty IP alone: the task scheduler bound tasks to pods Kubernetes marked
NotReady(still starting or restarting), the assignment POST failed with no retry, and a healthy sibling was skipped; readiness is now required like every other predicate (#2138) - Keep the last-known task status when a status query fails during release: a single timed-out
/getTasksno longer marks areleasingtask as gone, which skippedSet(nil), skipped the postStop hook, and let the controller drop the cleanup finalizer or return the pod to the pool while the task still ran (#2067) - Skip pause dispatch for an already-
PausedBatchSandbox: renewing a paused sandbox bumped its generation and re-triggeredhandlePause, which needs a running source pod and drove the sandbox toFailed/PauseFailed(#2082) - Fix an image-committer deadlock where pausing the QEMU container via cgroup v2 freeze never completes (KVM worker kernel threads never reach
frozen), by skipping the redundant freeze for the QEMU container already paused over QMP and committing with--pause=false(#1986)
Execd
- Execute ordinary filesystem operations under an explicit Linux identity: additive
/v1/filesystem/{uid}/{gid}routes spawn a per-request worker process with the selected uid/gid and account-derived supplementary groups, fail-closed on unsupported platforms; existing routes keep their current identity — the SDK-facing follow-ups ship in the same release (#2070) - Expose the public isolated-session overlays API (validation, canonical merge with legacy
workspace, per-overlay allocator assignment) — details and SDK support under SDKs (#2032) - Give overlay sessions a durable cleanup identity outside their removable subtree (
<upper_root>/.execd-cleanup/<session-id>): startup recovery removes only exact matching directories, and partial deletion or lost records are retried within the process or across restarts instead of orphaning upper dirs (#2107) - Let children of a finished background command keep running: the post-
Waitcontext cancel no longer SIGKILLs the whole process group, so a backgroundednohup ./server &survives its script — cancellation and timeouts still kill the group (#2074) - Kill the whole process group when a bash session run times out: only bash itself was killed, so
(sleep 2; …)children kept the run hanging past its deadline (#2079) - Preserve
\n/\rbytes in foreground/commandstdout/stderr event text, so concatenated events reconstruct the command's line endings including blank lines and a trailing unterminated fragment; the Python SDK's display-orientedExecution.textand stderr summary no longer insert extra blank lines when CRLF arrives across events, while rawlogs.stdout/logs.stderrkeep their original text (#2033) - Remove the per-run bash session script file (
execd_bash_*.sh), which retained a copy of every session environment variable — secrets included — readable by any later command as the same user (#2076) - Clamp the HTTP
Rangeend before computing length:bytes=0-9223372036854775807overflowed into a negative length and answered 206 with a brokenContent-Range/Content-Lengthand no body, on both regular and isolated-session downloads (#2089) - Remove the fixed one-second delay after command completion, cutting median terminal-event-to-return latency from ~1000 ms to sub-millisecond while retaining output flushing and heartbeat cleanup (#1825)
- Stop logging every stdout/stderr chunk at info level, which accounted for 99.8% of execd log volume on output-heavy workloads (#1906)
Networking
egress
- Continue the credential-bound TLS interception foundation (OSEP-0023) [EXPERIMENTAL] across the line: generation-pinned live revision-session callbacks held under the mitmproxy lifecycle lock (#2036), credential-free ClientHello classification of ECH/SNI/static pass-through with
needs_registryadmission requests (#2046), a bounded connection-admission registry that denies on exhaustion instead of downgrading to opaque pass-through (#2062) and flags admissions uncovered by selector cutovers (#2072), request admission pinned to one immutable snapshot with no old-credential fallback and permanent fences for removed hosts (#2088), bounded request-handle lifecycles with a global budget and paginated inspection (#2091), monotonic retirement deadlines for uncovered connections (#2100), joint Receiver/TLS-Registry publication with prepare/commit/abort retry semantics (#2106) wired into the authenticated revision IPC via an internal InstallationReceiver (#2120), revision-backed Vault mutation transactions with exact-attempt reconciliation and readiness fencing (#2124), frozen effective-policy revision candidates revalidating every binding including HTTP-only ones (#2139), guarded revision recovery and readiness publication with exact bootstrap identity and quarantined uncertain outcomes (#2151), and cross-language IPC recovery coverage against the production endpoint (#2136) — groundwork only; public Vault writes still 503 under the gate and selective TLS stays disabled - Extend the chained upstream CONNECT proxy: trust
https://proxies signed by a private CA via an append-styleOPENSANDBOX_EGRESS_MITMPROXY_UPSTREAM_EXTRA_CAbundle that augments the system trust store for all upstream TLS verification, configured from the server'sca_cert_path/ca_secret_name(#2030); support the chained proxy under the fast-sandbox profile with profile-wide endpoint drops so sandbox workloads cannot reach the upstream proxy directly, infrastructure DNS seeding resolved concurrently through dnsproxy upstreams and the Pod resolver, and atomic nft table seeding with drop elements permanent across daemon downtime (#2003) - Add an opt-in chained upstream CONNECT proxy to the transparent mitmproxy path (
OPENSANDBOX_EGRESS_UPSTREAM_PROXY/_AUTH), routing sandbox egress through corporate forward proxies with SNI/Host-consistent CONNECT authority, fail-closed startup validation, and no behavior change when unset (#1816) - Roll back the persisted policy file when an nft apply fails, so a restart never loads a policy the caller was told had failed — potentially looser than the one actually running (#2075)
- Tolerate nested percent-encoded slashes in the credential proxy path guard: the single-layer
%2frelaxation now applies at any decode depth, sopipdownloads from internal PyPI proxies no longer fail with 403request path contains ambiguous segmentswhile Credential Vault is active; dot-segments, backslashes at every depth, and non-converging decodes are still rejected (#2153) - Continue the earlier credential-bound groundwork: bootstrap authenticated revision sessions on sidecar launch and restart behind an internal gate (#1948), stage unpublished Credential Vault mutation candidates with acknowledge-before-publish commit semantics (#1980), serialize
/policyand Vault writes behind a shared mutation barrier (#1991), stage always-rule reloads before publishing (#1997), retain exact attempt identity across indeterminate coordinator outcomes (#2007), and add post-bootstrap revision updates with exact-attempt reconciliation (#2017)
ingress
- Fail at chart render time when
providerType=fast-sandboxis set without a secure-access key ring: the gateway previously passedhelm templateand then CrashLoopBackOff'd onFastPath routing requires --secure-access-keys; the deployment guide now also documents the gateway as required on Kubernetes (sandbox Pods are ClusterIP-only) and installed before the server (#2047) - Support per-request opt-out of access renew intents via an
OpenSandbox-Access-Renew: skipheader, suppressed before throttle state is touched and stripped on both the gateway and the server proxy paths — for health probes and other heartbeat-style traffic (#1966)
Fast Sandbox
- Bump the pinned fast-sandbox source twice more:
83139ccmakes the Firecracker runtime require XFS with reflink at startup (#2123);b702fbepreserves the guest gateway MAC across snapshot restores with a committed-cache recheck before delivery retry and ARP-cache regression coverage, and the vendored CRD bundle drops theboxliteruntime enum that upstream removed (#2145); the earlier2b5e840pin drops the node-side guest kernel asset (kernelPathbecomes optional), adds snapshot CPU-template compatibility admission, and rebinds jailed/dev/kvmto host device numbers before restore (#2028), with the intermediatefb87a53bumping the builder's default guest kernel to 6.18.36 (#1992) andf45bc60dropping CRD CEL validations for older API servers, making P2P optional, and letting template guests inherit the source image's OCI env (#1989) - Create the shared system namespace in the
basechart (fastSandbox.namespaces.createSystem, defaulttrue,helm.sh/resource-policy: keep): the fast-sandbox control-plane ServiceAccounts previously assumed the namespace was bootstrapped later, breaking the documented base-first install order and every rendered-manifest/GitOps flow (#2044) - Chart: add controller tolerations, a
sandboxtemplateBuilderPodSpecPodSpec-fragment ConfigMap merged into golden-image build pods, afastletProxyImageoverride so the injected sidecar no longer has to come from docker.io, and agent/janitor runtime resources for tainted or registry-restricted clusters (#1968) - Replace MinIO with RustFS in the integration environment (#2009)
Misc
- CLI: add template and snapshot management (
osb template create|get|list|delete,osb snapshot ..., plus--template/--snapshot-idonsandbox create) (#2002), kubectl-style-f/--filerequest files forsandbox createandtemplate createcovering the full wire format with strict unknown-field rejection (#2019), fixsandbox metrics --watchfailing on execd's raw SSE field names (#1970), exit non-zero when a foreground command's SSE stream ends without a completion or error event instead of reporting success (#2099), and reject failed or unconfirmed background starts before printing success metadata (#2109), and editosb config setvalues through a real TOML parser instead of string concatenation, preserving comments and layout with correct escaping so quoted or multiline values no longer corrupt the config (#2146) - Charts: correct chart metadata, unify image tag defaults on
release-<appVersion>fallbacks, makeimagePullPolicyconfigurable, keep the dataplane Namespace onhelm.sh/resource-policy: keep, and rewrite the deployment guide around the umbrella release flow with an explicit install order (#2006) - Docs: publish fast-sandbox performance pages with measured create/snapshot/restore figures (#1951 #1992) and refresh the README performance claims with ACK measurements (#2086 #2115), add an ACK deployment guide and an upstream-proxy operations guide (#2048 #2045), restructure the server, operator, execd, and node-agent architecture pages around verified design decisions with redrawn diagrams (#2058 #2064 #2069 #2137), add an interactive fast-sandbox integration architecture diagram (#2034 #2127), document execd implementation-compatibility boundaries (#2050), multi-runtime Kubernetes deployments (#1684), rclone volume mounts (#2071), snapshot durability after abnormal termination (#2111), sandbox expiration semantics (#2087), and
apply_patchin sandboxes (#2110), add GitHub Copilot CLI, DeerFlow, and scheduled pool-resize examples (#2053 #2011 #2141), sharpen the README intro (#1960), repair links broken by the docs restructure (#1957), mark OSEP-0016 as implemented (#1955), remove the unmaintained NullClaw example (#2016), pin the Compose example to a release image with the proxy fixes (#2073), and refresh the roadmap (#2135) - Security/dependency bumps: fast-uri, undici, and containerd CVEs (#2057), PyJWT (critical), oauthlib, brace-expansion, and fast-uri (#2102), and urllib3, source-map-js, and vue (#2117)
- node-agent/CI: add a nightly full-stack log-collection e2e on Kind proving real sandbox stdout reaches the file sink and finalizes on deletion (#2143), narrow the fast-sandbox integration trigger scope (#2054), and harden the integration scripts' error handling so subshell failures can't tear down the shared environment (#2068)
- Fast-sandbox tooling: add a self-hosted KVM integration-test workflow (#1978 #1985), a helper that provisions preallocated reflink-XFS state disks for Firecracker (#1995), a realistic golden-image test workload (#1983), and a reproducible Kubernetes rootfs resume benchmark (#2113)
- Tests and housekeeping: cover upstream-proxy compatibility against real mitmdump with Vault/proxy credential isolation (#2043) and Authorization on streamed uploads (#1940); harden the Python pool-lifecycle stress tests (#2026 #2144) and fix task-manager test races (#2060 #2061); make the PauseResume e2e status tamper work on pre-1.24 kubectl (#2085); sweep low-value and duplicate tests across the Go and Python suites with no production changes (#2126); apply a zero-behavior-change node-agent cleanup (#2140) and remove dead CLI code (#2018); drop the unused
.pre-commit-config.yaml(#2049); fix a dead docs link (#2118) and a test license-header owner (#1976); and prepare and pin the1.1.1-rc.1pre-release (#2035 #2042) - release: bump platform version to
1.1.1across charts and image references
Upgrade & Compatibility
- The
1.1.0server package on PyPI is broken at import time and cannot be replaced (PyPI is immutable) — upgrade to this line; see #1959 - Behavior change: the HTTP proxy maps backend read/write timeouts to 504 and mid-response failures to 502 with typed error codes instead of a generic 500; SDK default retry configs differ for the new 504 — the Go SDK's
DefaultRetryConfigretries 504 like 502/503, while Python's default retries 502/503 only (#2084) - Behavior change: children left behind by a finished background command keep running after it exits, matching the foreground path; cancellation and timeouts still kill the group (#2074)
- Behavior change: snapshot creation on k8s/fsb submits the runtime object before persisting and recovery resubmits inline; polling clients no longer observe a spurious permanent
Failed(#2098) - Behavior change: background command result collection in Go, Kotlin, and C# returns on startup acknowledgement and no longer infers exit code 0 — query command status for the eventual outcome (#1825)
- Behavior change: in multi-tenant mode, another tenant's labeled sandboxes in a shared namespace now resolve as 404; unlabeled legacy sandboxes stay visible until expiry (#1973)
- Chart: the
basechart now creates the sharedfastSandbox.namespaces.systemnamespace by default — setfastSandbox.namespaces.createSystem=falseif you manage it externally (#2044); the ingress gateway is required on Kubernetes deployments and must be installed before the server, and fast-sandbox mode requires a secure-access key ring at render time (#2047 #2048) - Fast-sandbox operators: restores never boot a kernel and direct boot requires an explicit operator
kernelPathpin (#2028); the Firecracker runtime now requires XFS with reflink at startup — use the provided reflink-XFS state-disk helper on nodes that lack it (#2123); the vendored CRD drops the removedboxliteruntime enum (#2145); the integration environment readsRUSTFS_*/RC_IMAGEinstead ofMINIO_*/MC_IMAGEwith no legacy alias (#2009) - Images:
opensandbox/<component>:release-1.1.1(all three registries) - Packages: server / CLI / SDKs all at
1.1.1 - Charts: render from this tag (
helm template ./manifests/charts/opensandbox) - Kubernetes: supported range v1.21 – v1.34 (charts declare
kubeVersion: ">=1.21.1-0") - Skew: server ↔ CLI/SDK same line supported; ±1 minor warns
👥 Contributors
Thanks to these contributors ❤️
- @Coder-Sang
- @GodBlf
- @Gujiassh
- @Harbor404
- @Pangjiping
- @Spground
- @SuperSgdk
- @TuGou-a
- @YxinMiracle
- @acodercat
- @alahaiyo
- @comqx
- @cwj2001
- @dcaminos
- @drakeo338
- @gau1991
- @hittyt
- @hpliStartAgain
- @JasonBuildAI
- @jianpingpei
- @jiawen7777
- @jwx0925
- @ju123123
- @kinfey
- @kittimzhe
- @lorenzozanee
- @lux-liang
- @mengdehong
- @MincongZhou
- @mpu
- @ninan-nn
- @riversiderig-serves
- @ruirui6946
- @skyser2003
- @y4ney
Artifacts
- BOM: docs/releases/1.1.1.yaml
- Images:
opensandbox/<component>:release-1.1.1(Docker Hub / GHCR / ACR) - Packages: PyPI ×5, npm ×2, Maven Central ×5, NuGet ×2 — all at
1.1.1 - Go module:
github.com/alibaba/OpenSandbox/sdks/sandbox/go@v1.1.1
Installation
# Platform (Kubernetes) — render the chart at this tag and apply
git clone https://github.com/opensandbox-group/OpenSandbox
cd OpenSandbox
git checkout release-1.1.1
helm dependency build manifests/charts/opensandbox # package file:// sub-charts (not committed)
# Before first install, configure the server API key and enable the ingress
# gateway (required on Kubernetes; the bare render disables it, and the server
# refuses to start with an empty api_key) — see the deployment guide:
# https://open-sandbox.ai/deployment/
helm template ./manifests/charts/opensandbox | kubectl apply -f -
# or point your GitOps platform (Argo / Flux) at the repo path + tag
# SDKs
pip install opensandbox==1.1.1 # Python
npm install @alibaba-group/opensandbox@1.1.1 # JavaScript
# Kotlin/JVM: implementation("com.alibaba.opensandbox:sandbox:1.1.1")
dotnet add package Alibaba.OpenSandbox --version 1.1.1
go get github.com/alibaba/OpenSandbox/sdks/sandbox/go@v1.1.1
# Run the server locally
uvx opensandbox-server==1.1.1Verify what you installed against the BOM: see
Release Verification.
release-1.1.1-rc.1
2026年09月28日
First release candidate on the 1.1.1 patch line, cut to fix the broken 1.1.0 server wheel: hatchling's VCS-exclude filtering silently dropped the committed FastPath gRPC stubs from the PyPI package, so every 1.1.0 install of opensandbox-server failed at import time — PyPI is immutable, so the patched line is 1.1.1 (#1959). Beyond that fix, this rc carries everything merged since release-1.1.0: agent-sandbox pause/resume, shared-namespace tenant isolation, watch-driven create latency, commands.setEnv and a systematic audit cleanup across all five SDKs, upstream-proxy chaining for egress, and two fast-sandbox pin bumps. Baseline for every section is release-1.1.0. rc releases publish images but hold packages — SDK/CLI artifacts ship at the 1.1.1 stable bump. Please test and report issues.
Highlights
- Fixes the
1.1.0server wheel: FastPath stubs now ship in the package and installs import cleanly (#1959) - Server: pause/resume on the agent-sandbox provider, tenant isolation for sandboxes sharing a Kubernetes namespace, and pool creates woken by watch events instead of 1-second polling (#1975 #1973 #1996)
- SDKs:
commands.setEnvruntime env injection in all five languages, plus a systematic cross-language audit cleanup fixing dozens of correctness bugs (#2013 #2020)
Server
- Implement pause/resume for the agent-sandbox provider by bridging to
spec.operatingMode(Running/Suspended) onagents.x-k8s.io/v1beta1, with state derivation (Paused/Pausing/Resuming/Terminated), resourceVersion preconditions, and 409 on invalid transitions; both endpoints previously returned "not supported" (#1975) - Isolate tenants that share one Kubernetes namespace: creates stamp
opensandbox.io/tenant, and list/get/delete/pause/resume/proxy hide other tenants' labeled sandboxes as 404 while unlabeled legacy sandboxes stay visible until expiry; also addskubernetes.insecure_skip_tls_verifyfor ServiceAccount CA mismatches (#1973) - Heal the silent renew-intent drop after a server restart in multi-tenant mode: the resolver now falls back to a cluster-wide label lookup with a 403 circuit breaker and structured warnings, trusts an ingress-observed namespace from the intent payload when verifiable, and single-tenant deployments never resolve beyond the configured namespace (#1819)
- Add
[docker] publish_hostto publish bridge-mode sandbox ports on one host address (default0.0.0.0unchanged) — with127.0.0.1or the Docker bridge gateway, the tokenless execd port no longer lands on public interfaces (#1954) - Add a typed, admin-only
[egress.upstream_proxy]config section (URL + optional authorization, validated at load) that injects the sidecar's chained upstream CONNECT proxy on both Docker and Kubernetes, with fail-closed 400s when the requestednetworkPolicyis incompatible; secret values are no longer echoed in config-validation errors (#1999) - Accept
envon template create and bake it into the fast-sandbox golden image (/etc/sandbox-init.env, inheriting the source image's OCIConfig.Env), closing the gap whereSandboxTemplate.spec.envsexisted but the lifecycle API rejected it; supported across all SDKs (#1984) - Wake Kubernetes creation waits on informer watch events instead of fixed 1-second polling, cutting prewarmed-pool create latency from ~1 s to tens of milliseconds while keeping the polling fallback (#1996)
- Ship the committed FastPath gRPC stubs in the server wheel by force-including them past hatchling's VCS excludes, and smoke-import the built wheel in the release workflow before publishing — this is the
1.1.0install-time breakage fix (#1959) - Fix the Fast Sandbox snapshot CR plural (
sandboxsnapshots) in Helm RBAC and the fsb snapshot runtime, wheresandboxesnapshotscould fail list/watch with missing RBAC (#1972) - Propagate the underlying FastPath error message through the 429 capacity mapping (keeping status and
Retry-After, adding acausefield) so admission/runtime failures like a broken KVM device are no longer masked as pool exhaustion, and warn-log the raw error before mapping (#2001) - Fix Docker edges: reject a repeated pause of an already-paused sandbox with the documented 409 instead of surfacing Docker's "already paused" as 500 (#2023), and clear Docker masked/read-only system paths only for sandboxes that opt into the isolation extension so nested Bubblewrap can mount a private procfs (#1982)
SDKs
Code changes below ride the 1.1.1 stable release — rc ships no SDK packages.
- Add
commands.setEnvfor persistent runtime env injection in all five sandbox SDKs (Python async/sync, JavaScript, Kotlin/Java, Go, C#): appendsKEY=VALUEto the sandbox env file with runtime-exact serialization, local key/NUL validation, and a loud failure whenEXECD_ENVSis unset (#2013) - Systematic cross-language audit cleanup across sandbox, code-interpreter, and MCP SDKs: Go retry backoff collapsing to zero delay and dropped session
cwd, Python isolated-session ignoringencodingand readiness budgets reporting stale errors, JS resume sharing and killing the source sandbox's transport, Kotlin codes runs dropping every SSE-framed event and never settingexitCode, C# create failing on fresh-sandbox 404 and NREs on empty bodies, and MCP per-call closes tearing down the server-wide shared transport — each fixed with regression tests (#2020) - Support
envon template create across all five SDKs, matching the server-side golden-image baking (#1984) - Align background command stream completion across languages: with execd's fixed completion delay removed, background result collection in Go, Kotlin, and C# now returns on startup acknowledgement like Python and JavaScript instead of waiting for EOF and inferring exit code 0 — query command status for the eventual outcome; foreground calls still read to EOF for older servers (#1825)
Controller
- Fix an image-committer deadlock where pausing the QEMU container via cgroup v2 freeze never completes (KVM worker kernel threads never reach
frozen), by skipping the redundant freeze for the QEMU container already paused over QMP and committing with--pause=false(#1986)
Execd
- Remove the fixed one-second delay after command completion, cutting median terminal-event-to-return latency from ~1000 ms to sub-millisecond while retaining output flushing and heartbeat cleanup (#1825)
- Support multiple independent overlay mounts per session in the bwrap isolation layer (separate uppers for workspace vs system paths, nested shadowing, ephemeral tmpfs uppers); internal foundation with no public API change — the request-level
overlaysfield follows (#2021) - Stop logging every stdout/stderr chunk at info level, which accounted for 99.8% of execd log volume on output-heavy workloads (#1906)
Networking
egress
- Add an opt-in chained upstream CONNECT proxy to the transparent mitmproxy path (
OPENSANDBOX_EGRESS_UPSTREAM_PROXY/_AUTH), routing sandbox egress through corporate forward proxies with SNI/Host-consistent CONNECT authority, fail-closed startup validation, and no behavior change when unset (#1816) - Continue the credential-bound TLS interception foundation (OSEP-0023) [EXPERIMENTAL]: bootstrap authenticated revision sessions on sidecar launch and restart behind an internal gate (#1948), stage unpublished Credential Vault mutation candidates with acknowledge-before-publish commit semantics (#1980), serialize
/policyand Vault writes behind a shared mutation barrier (#1991), stage always-rule reloads before publishing (#1997), retain exact attempt identity across indeterminate coordinator outcomes (#2007), and add post-bootstrap revision updates with exact-attempt reconciliation (#2017) — groundwork only; public Vault writes still 503 under the gate and selective TLS stays disabled
ingress
- Support per-request opt-out of access renew intents via an
OpenSandbox-Access-Renew: skipheader, suppressed before throttle state is touched and stripped on both the gateway and the server proxy paths — for health probes and other heartbeat-style traffic (#1966)
Fast Sandbox
- Chart: add controller tolerations, a
sandboxtemplateBuilderPodSpecPodSpec-fragment ConfigMap merged into golden-image build pods, afastletProxyImageoverride so the injected sidecar no longer has to come from docker.io, and agent/janitor runtime resources for tainted or registry-restricted clusters (#1968) - Bump the pinned fast-sandbox source twice:
f45bc60drops CRD CEL validations for older API servers, makes P2P optional behind a peer-gateway seam, and lets template guests inherit the source image's OCI env (#1989);2b5e840drops the node-side guest kernel asset (kernelPathbecomes optional), adds snapshot CPU-template compatibility admission, and rebinds jailed/dev/kvmto host device numbers before restore (#2028); the intermediatefb87a53pin bumps the builder's default guest kernel to 6.18.36 (#1992)
Misc
- CLI: add template and snapshot management (
osb template create|get|list|delete,osb snapshot ..., plus--template/--snapshot-idonsandbox create) (#2002), kubectl-style-f/--filerequest files forsandbox createandtemplate createcovering the full wire format with strict unknown-field rejection (#2019), and fixsandbox metrics --watchfailing on execd's raw SSE field names (#1970) - Charts: correct chart metadata, unify image tag defaults on
release-<appVersion>fallbacks, makeimagePullPolicyconfigurable, keep the dataplane Namespace onhelm.sh/resource-policy: keep, and rewrite the deployment guide around the umbrella release flow with an explicit install order (#2006) - Fast-sandbox tooling: add a self-hosted KVM integration-test workflow (#1978 #1985), a helper that provisions preallocated reflink-XFS state disks for Firecracker (#1995), a realistic golden-image test workload (#1983), and replace MinIO with RustFS in the integration environment (#2009)
- Docs: publish fast-sandbox performance pages with measured create/snapshot/restore figures (#1951 #1992), sharpen the README intro and Features (#1960), repair links broken by the docs restructure (#1957), mark OSEP-0016 as implemented (#1955), add a DeerFlow integration example (#2011), and remove the unmaintained NullClaw example (#2016)
- release: bump platform version to
1.1.1-rc.1across charts and image references
Upgrade & Compatibility
- The
1.1.0server package on PyPI is broken at import time and cannot be replaced (PyPI is immutable) — upgrade to this line; see #1959 - Behavior change: background command result collection in Go, Kotlin, and C# returns on startup acknowledgement and no longer infers exit code 0 — query command status for the eventual outcome (#1825)
- Behavior change: in multi-tenant mode, another tenant's labeled sandboxes in a shared namespace now resolve as 404; unlabeled legacy sandboxes stay visible until expiry (#1973)
- Fast-sandbox operators: the
2b5e840pin removes the bundled node-side guest kernel — restores never boot a kernel and direct boot requires an explicit operatorkernelPathpin (#2028); the integration environment readsRUSTFS_*/RC_IMAGEinstead ofMINIO_*/MC_IMAGEwith no legacy alias (#2009) - Images:
opensandbox/<component>:release-1.1.1-rc.1(all three registries) - Packages: unchanged — SDK/CLI artifacts publish at the
1.1.1stable release - Charts: render from this tag (
helm template ./manifests/charts/opensandbox) - Kubernetes: supported range v1.21 – v1.34 (charts declare
kubeVersion: ">=1.21.1-0") - Skew: server ↔ CLI/SDK same line supported; ±1 minor warns
👥 Contributors
Thanks to these contributors ❤️
- @alahaiyo
- @comqx
- @cwj2001
- @dcaminos
- @gau1991
- @hittyt
- @hpliStartAgain
- @jianpingpei
- @jiawen7777
- @kittimzhe
- @mengdehong
- @mpu
- @Pangjiping
- @ruirui6946
- @TuGou-a
- @YxinMiracle
- @y4ney
Artifacts
- Images:
opensandbox/<component>:release-1.1.1-rc.1(Docker Hub / GHCR / ACR)
Installation
# Platform (Kubernetes) — render the chart at this tag and apply
git clone https://github.com/opensandbox-group/OpenSandbox
git checkout release-1.1.1-rc.1
helm dependency build manifests/charts/opensandbox # package file:// sub-charts (not committed)
helm template ./manifests/charts/opensandbox | kubectl apply -f -
# or point your GitOps platform (Argo / Flux) at the repo path + tagVerify what you installed against the BOM: see
Release Verification.
release-1.1.0
2026年09月21日
First stable release of the unified umbrella release line: one platform version — 1.1.0 — covers server, component images, charts, CLI, and every published SDK, cut from one commit and pinned in a signed BOM (versioning starts at 1.1.0; 1.0.0 was already consumed by legacy releases, so the line skips it by design per the umbrella governance OSEP). Everyone on a legacy per-component version should upgrade; legacy tag namespaces are frozen. Because this is the first umbrella cut, sections carry different baselines — the controller jumps from its May v0.2.0 release, ingress from July, the JavaScript/C#/Go SDKs from their July releases — so those sections list several months of changes at once.
Highlights
- First unified umbrella release: every artifact ships at
1.1.0from tagrelease-1.1.0, with a Sigstore-signed BOM as the digest authority - First release of the Fast Sandbox integration: a Firecracker microVM runtime behind the FastPath fleets backend, with pause/resume, ingress FastPath routing, and fsb template management in all five SDKs
- Snapshot persistence gains an opt-in PostgreSQL store with multi-process HA and a SQLite migration command, and sandboxes gain preStart/periodic lifecycle hooks
Server
- Add the FastPath fleets lifecycle backend: create, renew, delete, and status mapping served through FastPath v2, plus end-to-end fsb pause/resume with async 202 semantics and UID fencing (#1703 #1844)
- Converge snapshot status via a per-namespace watch instead of blocking polls, and add fast-sandbox snapshot support (#1846)
- Add an opt-in PostgreSQL snapshot store with pooled connections and CAS semantics, a one-shot
migrate-snapshotscommand for moving SQLite records, and multi-process HA coordination for snapshot create/recovery/delete on Kubernetes (#1653 #1670 #1724) - Transport sandbox lifecycle hooks (OSEP-0020): create requests accept
preStartandperiodichooks, validated and serialized into a reserved environment variable for Kubernetes workloads; the Docker provider rejects lifecycle requests for now (#1589 #1542) - Implement a stable, scoped diagnostics API over the existing log/event collectors with
logs:container|allandevents:runtime|lifecycle|allscopes, explicit warnings on partial scopes,400 DIAGNOSTICS_SCOPE_UNSUPPORTEDfor unknown scopes, and backward-compatible plain-text responses (#1553) - Export generic HTTP request metrics (request rate, error rate, latency) from the server over OTLP, complementing the SDK-reported create-duration histogram (#1561)
- Reject unsupported gVisor (
runsc) snapshots before persistence with409 SNAPSHOT::UNSUPPORTED_RUNTIME(#1720) - Support independent resource requests/limits for the Kubernetes egress sidecar via
[egress.resources](#1620), add[egress] otlp_endpointso the sidecar exports metrics to an OpenTelemetry collector on both runtimes (#1753), pause and resume the sidecar together with the sandbox (#1441), make the sidecar readiness wait configurable via[egress] timeout_seconds(#1522), and injectOPENSANDBOX_EGRESS_SANDBOX_IDserver-side so sidecar telemetry can no longer be spoofed by request env (#1381) - Honor
image.authin create requests for the agent-sandbox provider with per-sandbox pull secrets that are garbage-collected with the Sandbox CR (#1789) - Source OSEP-0011 secure-access signing keys from the
OPENSANDBOX_SECURE_ACCESS_KEYSenvironment variables or a Kubernetes Secret instead of plaintext chart values (#1445) - Make the reverse proxy's internal resolution configurable with
[proxy] resolve_internalfor deployments that cannot route to Docker bridge IPs (#1631) - Raise the
preStart.timeoutSecondslimit from 300 to 10800 seconds across the server API, execd, and SDKs (#1637) - Add Docker-runtime-wide
sandbox_envandsandbox_bindsconfiguration, giving Docker parity with the Kubernetes pod template for fleet-wide CA bundles, proxies, and mounts (#1303) - Breaking: migrate the agent-sandbox provider and ingress informer to
agents.x-k8s.io/v1beta1required by agent-sandbox v1.0.0, creating workloads withoperatingMode: Runningandservice: true; see Upgrade & Compatibility (#1763) - Support pool-only sandbox creation (
poolRefwithout entrypoint) instead of rejecting it with HTTP 400, scheduling the execd-start task per allocation (#1729), fail fast on exhausted namespace ResourceQuotas by surfacing the Sandbox CR's admission rejection (#1752), and surface pool back-pressure as HTTP 429KUBERNETES::POOL_CAPACITY_EXHAUSTEDwithRetry-Afterinstead of a generic readiness timeout (#1581) - Propagate template container
securityContextinto generated pods (#1564), honor the PVCreadOnlyflag on the volume source and not just the mount (#1246), allow mixed read-onlysubPathmounts from a shared PVC (#1440), rejectnetworkPolicycombined withextensions.poolRef(#1319), and patch PVC owner references through the supported strategic-merge path (#1538) - Make the informer-backed cache the only Kubernetes read path by removing the
informer_enabledflag, and expire stale informer entries when a watch stops delivering (#1926 #1534) - Reserve Docker host ports in-process between probing and container start, and retry container creation when the probed port conflicts at Docker bind time (#1666 #1715)
- Map completed agent-sandbox pods to terminal states (#1643), report
Failedwhen a pooled sandbox task fails (#1663), keep direct responses out of the informer cache (#1674), resolve agent-sandbox server-proxy endpoints fromstatus.podIPswith IPv6 bracketing (#1424), and use the public state in invalid-resume errors (#1586) - Handle websocket close semantics: map abnormal upstream closures and relay client closes with a legal status code (#1642 #1731)
- Fix HTTP proxy fidelity: preserve repeated response headers without duplicating Uvicorn's own (#1858 #1471), forward the query string unchanged (#1902), rewrite root-relative redirects to stay on the proxy path (#1516), release backend responses when clients abort mid-stream (#1488), stop leaking the ingress routing header on server-proxied endpoints (#1503), and generate unique OpenAPI operation IDs (#1634)
- Improve proxy diagnostics: identify backend connection failures (#1675) and describe transparent proxy responses in the spec (#1701)
- Preserve the egress auth token on internal proxy requests to port 18080 across Docker and Kubernetes (#1880)
- Route Compose proxying through host port mappings (#1698)
- Fix Docker runtime edges: skip a missing IPv6 sysctl in Kubernetes init (#1721), use the supported
no-new-privilegesseparator (#1383), detect Podman when resolving the Docker host IP (#1806), reject invalid (#1742) and non-finite (#1568) resource limits, and honor[docker].host_ipwhen the server itself runs in a container bound to loopback (#1918) - Define the missing
SandboxErrorCodes.INTERNAL_ERRORso PVC auto-create failures return a proper 500 (#1447), and report the deployed version consistently across the API, package metadata, and chart (#1439)
SDKs
- Default code-interpreter creation to a strict health check in every language:
CodeInterpreternow blocks until both execd and the Jupyter kernel gateway are verified ready (#1754) - Add sandbox lifecycle hook models (OSEP-0020) to the API spec and every SDK, with consistent validation aligned to the server's authoritative ranges (#1588 #1605)
- Wait for endpoint publication when connecting or creating, fixing connections that raced endpoint propagation (#1751 #1830)
- Resolve the execd and egress endpoints in parallel during create/connect/resume, roughly halving startup endpoint latency (#1531)
- Protect the tenant API key: JavaScript and C# no longer forward
OPEN-SANDBOX-API-KEYto execd/egress in direct data-plane mode (#1691) - Bound readiness polling sleeps across all SDKs (#1734 #1747 #1745 #1748 #1744)
- Reject invalid inputs: negative readiness polling intervals in Python and JavaScript (#1826), negative session and command timeouts in Python (#1726 #1733), negative log cursors in Go and JavaScript (#1835 #1836), and a negative code-interpreter polling interval in Go (#1885)
- Bring JavaScript, C#, and Go to parity with the Python and Kotlin SDKs: background runs in isolated sessions (#1456), execd-as-init request support (#1474), and pool allocation summaries (#1481)
- Add fsb (fast-sandbox) template management to every sandbox SDK (#1877 #1895 #1894 #1898 #1897)
- Fail fast on readiness auth errors in Python (#1782) and handle an unset
volume.hostsafely (#1659) - Document snapshots and isolated sessions in the Python, JavaScript, Kotlin, C#, and Go SDK references, and fix non-compiling README snippets in Kotlin and Go (#1863 #1854 #1870 #1856 #1876 #1888)
Python
- Align the client pool with Kotlin:
warmup_create_qps, staged readiness, leader-epoch fencing, and opt-in OpenTelemetry warmup tracing (#1889 #1697) - Preserve replacement endpoint fetches when an earlier cache fetch completes out of order (#1567), and keep pool cleanup running when
acquire()is cancelled mid-renewal (#1938) - Preserve Unicode separators in SSE data (#1444)
- Carry the API key on execd requests per
use_server_proxy(#1687) - MCP: constrain the SDK to MCP 1.x with a guard and migrate the sandbox server to the MCP 2.x API (#1725 #1737), add a
--use-server-proxyoption (#1509), and expose streamable HTTP host/port options (#1929)
JavaScript
- Add a client-side
SandboxPoolaligned with Kotlin: staged warmup, FIFO idle acquisition, lifecycle fencing, and optional Redis-backed distributed state (#1716 #1875) - Bound pool readiness checks and align pool warmup resources with Python (#1793 #1909), and always make the final warmup attempt when the initial delay is capped by the readiness deadline (#1927)
- Allow aborting
Sandbox.create()andSandbox.connect()viaAbortSignal, with background cleanup after cancellation (#1685) - Stop background SSE streams on the complete event (#1532), include response bodies in client error messages (#1496), drop readiness network hints (#1493), and escape the multipart filename on streamed uploads (#1862)
Kotlin
- Add structured exceptions for sandbox-not-found and capacity-exceeded outcomes plus a typed exception for proxy backend-connection failures (#1667 #1683)
- Send an empty egress array instead of null (#1630)
C#
- Add fsb (fast-sandbox) template CRUD to the sandbox SDK (#1898)
Go
- Merge
poolredisinto the parent Go module; the import path is unchanged (#1903) - Add a
SandboxPoolManagerwith fence/tombstone parity (#1525) - Release idle sandboxes with bounded concurrency and bound completion-driven pool reconcile (#1475 #1494)
- Stop capping SSE event lines at 4 MiB (#1881)
Controller
The controller section carries everything since the last standalone controller release (k8s/controller/v0.2.0, May 2026).
- Stabilize pool scheduling: a capacity predicate in pool-assign, a fix for pool scale expectations getting stuck, and scaling stabilization (#1143 #906 #1425)
- Add lifecycle hooks to the task schedule (#420) and emit Kubernetes events for BatchSandbox and Pool lifecycle (#1099)
- Support opt-in PVC deletion together with sandboxes via the Pool recycle strategy (#880)
- Add a containerd socket path flag to the controller (#859)
- Rework the image committer: a reusable
pkg/imagecommitterinterface with a containerd-native default implementation, source-registry authentication, self-signed/plain-HTTP transport policy, and an operator-controlled Job template overlay (#1431), plus pull secrets for authenticated registry proxies (#1300) - Add QEMU VMState pause/resume support in the Kubernetes runtime path (#1584)
- Sync Kata guests before snapshot commit and fall back to stopped snapshot containers (#1356)
- Sync SandboxSnapshot RBAC (#1088) and add the missing
pods/logpermission to the server ClusterRole (#1211) - Export low-cardinality Pool and BatchSandbox capacity gauges over OTLP/HTTP from the elected controller, computed from actual Pod specs (#1651)
- Helm: default the server deployment to one active replica (#1723), allow configuring the server Service type (#1628), expose the controller-runtime metrics endpoint in the controller chart (#1331), add scheduling/tolerations fields for the server and ingress-gateway Deployments (#1245 #1235), roll the server Deployment on
config.tomlchanges via a checksum annotation (#1473), renderimagePullSecretson the ingress-gateway Deployment (#1236), allow extra env vars on the ingress-gateway container (#1333), sync the missing Pool CRD strategy fields into the chart CRD (#1337), remove the deadnetworkPolicyblock (#1243), guard emptyextraVolumes/extraVolumeMountsrendering (#1244), fix thecontainerdSocketPathCrashLoopBackOff against controller v0.2.x and bump the umbrella chart to 0.2.2 (#1557), and source secure-access keys from a Secret (#1445) - Restructure all charts under
manifests/charts/(#1857) - Release stranded BatchSandbox finalizers when the referenced Pool is missing or terminating, and stop recreating an idle task scheduler after cleanup (#1657)
- Fail sandbox recovery when the executor status is unknown, fail the sandbox when the main container terminates without restart while the Pod stays
Running, and propagate terminal Pod failures to sandbox status (#1599 #1741 #1722) - Fix pool reconciliation: compare replica counts by value, trigger reconcile when
poolRefchanges, and stop attributing failures of already-deleting Pods (#1779 #1794 #1828) - Improve controller logging and performance (#919)
Execd
- Support native
argvcommand execution in/command(literal arguments without shell parsing, environment-aware executable resolution), wired through all five SDKs (#1760) - Add a runtime-init handshake:
POST /initapplies a one-shot RuntimeBinding (authoritative sandbox id, token hash, envs, lifecycle config, telemetry attributes) withGET /readyreporting readiness, moving identity out of image build time (#1871); fast-sandbox restores can rebind a restored runtime viapreserveRuntimeState(#1946) - Execute the runtime side of sandbox lifecycle hooks (OSEP-0020):
preStartgates the user entrypoint, non-overlappingperiodichooks run through the init-reaper-aware process path, with fail-closed TERM/KILL watchdogs and atomic lifecycle config persistence (#1587) - Fix
EXECD_ENVShandling with lossless dotenv-style round-tripping and apply the env file to bash session env and cwd expansion (#1893 #1868) - Drop the
fsyncfrom the task-create critical path that could stall sandbox startup for seconds on congested block devices (#1614) - Bound command output retention (#1710), clamp background log cursors to the end of the log (#1708), and avoid re-reading unfinished command output (#1746)
- Validate command
cwdagainst request-scoped environment variables (#1611), makebootstrap.shreadable by non-root workload users (#1619), and stop PTY creation from appending a success body after an error (#1603) - Reclaim stale overlay upper dirs at startup (#1784)
- Skip credential switches for same-identity uid/gid requests (#1809)
- Surface NSS trust prerequisites (#1712)
- Shorten the default SSE drain timeout (#1840)
Networking
egress
- Fleet profile [EXPERIMENTAL]: multi-sandbox egress control plane with per-subject credential vaults, shared MITM data plane with per-subject DNAT and subject-aware active vault, DoH-443 blocking with a blocklist, per-sandbox netns OUTPUT rules with connection refresh, and a fastlet Sandbox Actions handler protocol replacing file observation (#1595 #1608 #1633 #1678)
- Credential-bound TLS interception foundation [EXPERIMENTAL]: host selector, request-weighted TLS shadow observations, and the revision snapshot pipeline (transaction receiver, coordinator, Unix transport, receiver endpoint, decision snapshots, validation, process-session provisioning, bootstrap, and outcome reconciliation, lifecycle wiring) — groundwork only, not enabled by default (#1775 #1777 #1791 #1800 #1812 #1834 #1839 #1845 #1850 #1867 #1892 #1915)
- Make Credential Vault create/patch/delete immediately visible to the next intercepted flow (replacing the 0.5s cache window), and add opt-in strict scope enforcement rejecting bindings without method/path matches or with host-wide
/*paths (#1755 #1762) - Support kernels without xtables compat and IPv6 transports with a native nftables redirect backend (
OPENSANDBOX_EGRESS_REDIRECT_BACKEND), and renew timed nft elements atomically (#1861 #1786) - Cut DNS read amplification in domain revalidation (#1808), revalidate observed domain addresses (#1804), log a warning on DNS denies (#1807), and shrink the DNS upstream ejection window so unhealthy resolvers recover faster (#1943)
- Drain webhooks during bounded Docker deletion so egress shutdown cannot hang sandbox deletion (#1827)
- Report the sidecar's own resource usage from its cgroup (#1411)
ingress
- Add fleets FastPath routing with tenant-scoped
(namespace, sandbox_id, port)resolution, HMAC-bound route scopes, and short-lived route caching (#1577) - Observe upstream network readiness with a bounded shadow assessment exposed at
/status.ok/network-readiness(#1693) - Add OpenTelemetry metrics instrumentation (OSEP-0010): request count/duration, routing resolution, proxy-type counters, and system CPU/memory plus active-connection gauges (#1181)
- Migrate the WebSocket proxy off the archived
gorilla/websockettocoder/websocketand fixConnectionheader token-list detection (#1822) - Verify route signatures with a constant-time comparison (#1417)
- Eliminate an SSE ping goroutine race and a proxy error leak (#1216)
- Serve only intentionally registered routes by replacing
http.DefaultServeMuxwith a dedicated mux (#1224) - Shared egress/ingress telemetry: honor
OTEL_SDK_DISABLED=trueandOTEL_METRICS_EXPORTER=noneand respect caller-chosen metric temporality (#1783)
Fast Sandbox
First release with fast-sandbox: an external, template-backed sandbox platform that provisions sandboxes as Firecracker microVMs from golden-image templates, exposed to clients through a FastPath v2 gRPC control plane (#1558 #1559). OpenSandbox's server, ingress, execd, and SDKs integrate with it as the fast-sandbox runtime provider. The upstream source this release builds against is pinned at manifests/third-party/fast-sandbox.commit (d51fa69, first pinned 1a420a22, #1899); from that commit the release builds the Firecracker-scope image family only — fsb-controller, fsb-fastlet, fsb-fastlet-proxy, fsb-janitor, fsb-firecracker-runtime, fsb-sandboxtemplate-builder — and vendors its CRDs, deployable with the new fast-sandbox Helm chart (#1869)
Misc
- CLI: add Credential Vault management commands (#1027), report pause request acceptance (#1537), pass native argv to
command runwithout shell quoting (#1829), preserve local files when downloads fail, and restore downloads to devices and named pipes (#1820 #1847) - node-agent: add durable sandbox log collection and a compile-time multi-Source architecture (isolated Source state, event multiplexing, acknowledgement routing) (#1435 #1656), and add an opt-in eBPF
syscallsSource emitting ordered NDJSON syscall records to file/OSS sinks with least-privilege Helm capabilities (#1682) - Images: publish component images to GHCR alongside Docker Hub and ACR (#1161) and document registry provenance with digest-pinning verification guidance (#1339)
- Move the code-interpreter sandbox image to the standalone opensandbox-group/sandbox-images repository; the image keeps versioning independently of the umbrella (#1796)
- Resolve Dependabot security alerts and bump vulnerable dependencies: grpc, containerd, ebpf-go, cel-go, x/crypto, x/net, vitest, js-yaml, fast-uri, @humanfs/node, selinux, postcss, anyio, and otel-go (#1545 #1736 #1838 #1390 #1250 #1385 #1467 #1921)
- Docs: refresh the architecture overview, add the contributor advancement process, publish the OSEP set (pause/resume, resilient SDK transport, lifecycle hooks, multi-sandbox egress, TLS interception, execd-as-init, node-agent collection), add isolation-session, client-pool, and secure-access guides, extend the Claude Code and Codex CLI examples and add Deep Agents and OpenCode examples, use pip/uv install tabs, clarify pooled sandbox readiness, refresh SDK capability pages, and trim the README (#1848 #1761 #1896 #1149 #1368 #1542 #1592 #1714 #1394 #1428 #1346 #1352 #1349 #1774 #1803 #1797 #1535 #1544 #1727 #1821 #1696 #1728 #1852 #1912)
- Scripts: bootstrap a source-built fast-sandbox integration environment with source-built server and ingress (#1756 #1769)
- CI/release: enforce repository and release safeguards (tag immutability, protected release environment, scoped required checks) (#1274), gate release approval on the consistency scan and make the umbrella release idempotent (#1911), render the BOM from channel templates and publish images directly to release tags (#1920 #1925), stop auto-bumping the server chart on release (#1646), pass the gateway route mode in e2e chart values (#1874), and remove the verify-license workflow (#1813)
- Update code copyright to The OpenSandbox Authors across remaining components (#1878 #1945 #1942 #1890)
Upgrade & Compatibility
- Breaking: the agent-sandbox provider and ingress require
agents.x-k8s.io/v1beta1(agent-sandbox v1.0.0); install the beta CRDs/controller before upgrading — see the migration guide in #1763 - Breaking for chart users: charts moved to
manifests/charts/(#1857) - Config: the beta
informer_enabledflag was removed; the informer-backed cache is now the only Kubernetes read path (it was already the default, so remove the key when upgrading) (#1926) - Behavior change: code-interpreter creation blocks until strictly ready by default (#1754); set the previous lenient behavior explicitly if you depend on it
- Behavior change: lifecycle hooks are validated at create time and rejected on the Docker provider in this release (#1589)
- Go module:
poolredisis merged into the parent modulegithub.com/alibaba/OpenSandbox/sdks/sandbox/gowith the import path unchanged; a single companion tag now versions both (#1903) - Images:
opensandbox/<component>:release-1.1.0(all three registries) - Packages: server / CLI / SDKs all at
1.1.0 - Charts: render from this tag (
helm template ./manifests/charts/opensandbox) - Kubernetes: supported range v1.21 – v1.34 (charts declare
kubeVersion: ">=1.21.1-0") - Skew: server ↔ CLI/SDK same line supported; ±1 minor warns
👥 Contributors
Thanks to these contributors ❤️
- @7487
- @aGallea
- @akshar27
- @alahaiyo
- @AyushSonuu
- @bcfre
- @bcho
- @BigVan
- @bleakbelladonnals
- @Borda
- @changren-wcr
- @cwj2001
- @DanielXuuuuu
- @Dasen-CAI
- @dcaminos
- @Dev-next-gen
- @ekrasnoyarov
- @Elioooon
- @FAUST-BENCHOU
- @Federaffo
- @fengcone
- @ferponse
- @gegemeimingzi
- @GodBlf
- @Gujiassh
- @hi-neason
- @hittyt
- @hpliStartAgain
- @HUAN2022A
- @jianpingpei
- @jiawen7777
- @Joey777210
- @Junaid-PK
- @jwx0925
- @khandar-william
- @kittimzhe
- @korcan-kai
- @Kuang-xianxin
- @KXHXK
- @L4XB
- @lizhengfeng101
- @LorenzoRD2003
- @luffy0x
- @Luzhanpeng23
- @lyydsheep
- @mameikagou
- @MannXo
- @MaxFreedomPollard
- @mengdehong
- @MGuardia10
- @mpu
- @Mubelotix
- @mythic-p
- @ninan-nn
- @Pangjiping
- @ruirui6946
- @ryanzhang-oss
- @shenshouer
- @Spground
- @tea-artist
- @TuGou-a
- @vedmaka
- @vinkiYu
- @wakqasahmed
- @wangzhiyuan-pixel
- @wlmvp
- @wuzhihui1123
- @y4ney
- @yanpgwang
- @Yeaury
- @Zeeshan-Chaudhry
- @zhangfane
- @zpzjzj
Artifacts
- BOM: docs/releases/1.1.0.yaml
- Images:
opensandbox/<component>:release-1.1.0(Docker Hub / GHCR / ACR) - Packages: PyPI ×5, npm ×2, Maven Central ×5, NuGet ×2 — all at
1.1.0 - Go module:
github.com/alibaba/OpenSandbox/sdks/sandbox/go@v1.1.0
Installation
# Platform (Kubernetes) — render the chart at this tag and apply
git clone https://github.com/opensandbox-group/OpenSandbox
git checkout release-1.1.0
helm dependency build manifests/charts/opensandbox # package file:// sub-charts (not committed)
helm template ./manifests/charts/opensandbox | kubectl apply -f -
# or point your GitOps platform (Argo / Flux) at the repo path + tag
# SDKs
pip install opensandbox==1.1.0 # Python
npm install @alibaba-group/opensandbox@1.1.0 # JavaScript
# Kotlin/JVM: implementation("com.alibaba.opensandbox:sandbox:1.1.0")
dotnet add package Alibaba.OpenSandbox --version 1.1.0
go get github.com/alibaba/OpenSandbox/sdks/sandbox/go@v1.1.0
# Run the server locally
uvx opensandbox-server==1.1.0python/sandbox/v0.1.17.dev0
2026年09月03日
docker/execd/v1.1.0
2026年08月26日
What's New
✨ Features
-
execd as sandbox init (OSEP-0018). execd can now run as PID 1: single reaper with a
managedProcessabstraction on every launch path, signal forwarding (TERM/HUP/USR1/USR2/WINCH), entrypoint-owned exit-code propagation, and a subreaper fallback for the Pool path. Opt-in viaEXECD_INIT=1(injected by the server'sruntime.execd_run_as_initfor Docker/K8s Batch/Agent/Pool); classic topology unchanged and default off. (#1474) -
Pre-exec hardening floor. The new
opensandbox-launchernative helper applies env strip → KEEPCAPS → bounding-set trim →no_new_privs→ identity drop → seccomp → execve;[landlock]adds a filesystem allowlist (fail-open below ABI/kernel 5.13, reported asunsupported).GET /v1/isolated/capabilitiesgains ahardeningobject with per-layer state; every layer degrades fail-open. (#1474) -
eBPF observation variant.
execd-ebpf(CGO + cilium/ebpf) hooks exec/connect/privilege with CO-RE, scoped to the sandbox cgroup, emitting a rotating JSONL audit; needs kernel ≥5.10 with BTF. The default image is unchanged. (#1474 #1562) -
preStartandperiodiclifecycle hooks (OSEP-0020).CreateSandboxRequest.lifecycleis transported to the sandbox via the internalOPEN_SANDBOX_LIFECYCLEenv (Kubernetes; the Docker provider rejects lifecycle requests). execd starts HTTP beforepreStart, runs non-overlappingperiodichooks through the reaper-aware managed-process path, and only releases the user process afterpreStartsucceeds. Config persists at$HOME/.execd/lifecycle.toml, withEXECD_LIFECYCLE_CONFIGas exact override; bootstrap sync and preStart shutdown are fail-closed with TERM/KILL watchdogs, and internal transport vars are stripped from user code. API models aligned across Go/Python/JS/Kotlin/C# SDKs. (#1587 #1588 #1589)
🐛 Bug Fixes
-
In-namespace signals no longer leak into
/commandin init mode.kill -HUP 1previously killed whatever/commandwas running (signal: hangup); signals are now owned by the init forwarder only. (#1546) -
PTY creation failure emitted a second success body.
POST /ptynow stops immediately after the error response instead of appending a success body and a nonexistent session id. (#1603) -
cwdvalidation now honors request-scoped envs. Foreground/background/commandrequests can use acwdvariable from their ownenvsmap instead of being rejected with 400. (#1611) -
Non-root workloads could not start:
/bootstrap.shnormalized to0755. A deployed image carriedbootstrap.shas0751 root:root, sending images with a non-root default user (e.g.admin) into CrashLoopBackOff before hooks ran. The image build now forces exec bits onexecd/execd-ebpf/opensandbox-supervisor/bootstrap.shregardless of checkout permissions. (#1619 #1606) -
preStarttimeout raised from 300s to 10800s (3h).periodic.timeoutSecondsstays at 300s; product policy bounds are now enforced Server-side only, with execd keeping just a technical overflow guard. (#1637)
📦 Misc
-
OSEP-0018 coverage closed out: server-path and Kubernetes hardening e2e (ConfigMap-carried isolation TOML, no server logic change), PTY-under-hardening, bwrap + init-reaper integration, custom
[seccomp]/keep_capabilitiespolicy,EXECD_INIT↔TOML drift pin, K8s Restart recycle against init-mode pods, runtime-initiated stop, and anexecd-ebpfbare-container smoke (doubles as kernel-5.10 validation). Test redundancy and dead code trimmed (-359 lines). (#1554 #1555 #1562 #1574) -
OTLP endpoint auto-allow shipped in the shared components (egress honors
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT/OTEL_EXPORTER_OTLP_ENDPOINT; PTY viewer read loop refactored along the way). (#1504) -
Lifecycle hook guide with timing diagram and per-SDK creation examples; SDK client-side timeout validation aligned with the Server. (#1605)
👥 Contributors
Thanks to these contributors ❤️
- Docker Hub: opensandbox/execd:v1.1.0
- Aliyun Registry: sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/execd:v1.1.0
- GHCR: ghcr.io/opensandbox-group/opensandbox/execd:v1.1.0
server/v0.2.3
2026年08月26日
What's New
⚠️ Breaking Changes
OPENSANDBOX_EGRESS_SANDBOX_IDis now server-injected and rejected in request env — the server unconditionally sets the egress sidecar's sandbox-id attribution variable in both Docker and Kubernetes runtimes, and removed it from the env allowlist. Requests that pass it inenvnow get a 400 instead of a user-spoofable value. #1381
✨ Features
-
Sandbox lifecycle hooks (
preStart/periodic), OSEP-0020 —CreateSandboxRequest.lifecycleis accepted, validated (reserved transports, duplicate periodic names, pool-allocation combinations), and transported to Kubernetes workloads via the reservedOPEN_SANDBOX_LIFECYCLEenv for execd to execute. Docker explicitly rejects lifecycle requests; PATCH and other hook types are out of scope. Ships with aligned Java/Kotlin, Python, and TypeScript SDK models. #1588 #1589 -
preStart.timeoutSecondslimit raised from 300s to 3 hours — server and OpenAPI limits now allow up to 10800s for pre-start hooks; the periodic limit stays at 300s. The execd-side product policy bound is removed, keeping policy changes server-only. #1637 -
QEMU VMState pause/resume for runc-based sandboxes — opt-in capture of guest memory/vCPU/device state via QMP migration; rootfs and compressed VMState are stored as separate OCI images keyed by immutable SHA-256 digests. Supports pooled BatchSandbox pause, detachment, and standalone restoration while preserving guest memory, writable disk, boot ID, and counter continuity. Rootfs-only snapshots remain backward compatible. #1584
-
Pool capacity exhaustion is now machine-identifiable — the controller publishes a
PoolAllocationPending/PoolCapacityExhaustedcondition; the server waits a bounded acquisition window (newkubernetes.pool_acquisition_timeout_seconds, default 30s) and then returns HTTP 429 withKUBERNETES::POOL_CAPACITY_EXHAUSTEDandRetry-After: 5instead of the generic 504 readiness timeout. Older controllers safely fall back to the existing behavior. #1581 -
Pool allocation summary in lifecycle responses —
getSandboxnow surfaces an optionalSandbox.allocationblock (mode: pool,poolRef,state: allocated) for confirmed Kubernetes pool allocations, emitted only for concrete non-wildcard pool references with matching allocation evidence. No pod/namespace/IP data is exposed. #1481 -
Generic HTTP request metrics via OTLP — a thin ASGI middleware exports
server.http.request.duration(ms) withhttp_method, matchedhttp_route(orunknownfor unrouted/auth-failed requests), andhttp_status_codeattributes, complementing the existing create-duration histogram. Raw paths, IDs, keys, and bodies are never attributes; no-op when[otel]is disabled. #1561 -
Stable diagnostics API with scopes — diagnostics now honor the public inline descriptor contract:
logs: container|allandevents: runtime|lifecycle|all, with 400DIAGNOSTICS_SCOPE_UNSUPPORTEDfor unknown scopes and explicit warnings for incomplete best-effort scopes. Deprecated no-scopeplain-text responses still work with aDeprecationheader. #1553 -
fast-sandbox fleets backend groundwork (OSEP-0007) — a FastPath v2 gRPC client wraps all FastPathService RPCs with typed error mapping (
FastPathNotFound→ 404, etc.), and a create/status mapping layer converts the public contract to fast-sandbox semantics, rejecting unsupported fields (volumes,platform,resourceRequests,credentialProxy,snapshotId, etc.) with clear errors. Not yet wired as an active runtime. #1558 #1559 -
Secure-access signing keys can come from a Kubernetes Secret — the server accepts
OPENSANDBOX_SECURE_ACCESS_KEYS/OPENSANDBOX_SECURE_ACCESS_ACTIVE_KEYenv overrides (mirroring the API-key override, gateway mode required), and the Helm chart addsserver.gateway.secureAccess.existingSecret(mutually exclusive with plaintextkeys, enforced at render time) so GitOps flows never commit key material. #1445 -
Docker runtime
sandbox_env/sandbox_binds— new[docker]fields apply fleet-wide environment variables and host bind mounts to every sandbox container (requestenvwins oversandbox_env; config binds precede request-derived binds), giving the Docker runtime the operator-side hook the K8s pod template has. #1303 -
Egress sidecar readiness timeout configurable — new
[egress] timeout_seconds(default 30s, non-positive values rejected) lets Docker deployments tune how long the server waits for the sidecar health endpoint. #1522 -
Tenant namespaces validated at startup (OSEP-0014) — the server fail-fast verifies every tenant namespace exists and is accessible before serving traffic, aggregating all missing/inaccessible namespaces into a single fatal error instead of failing only at request time. OSEP-0004/0005/0014 marked implemented. #1389
🔒 Security
- CVE-remediating dependency bumps —
google.golang.org/grpc→ v1.82.1 across kubernetes/ingress/execd/egress/internal (xDS RBAC and HTTP/2 fixes),postcss→ 8.5.11 (arbitrary file read via sourceMappingURL). #1385
🐛 Bug Fixes
-
Docker endpoint lookups ~108x faster — container lookup now goes through the deterministic
sandbox-<id>name withopensandbox.io/idlabel validation, falling back to the label scan only when needed. Local benchmark: 6.07s → 56ms for execd+egress endpoint resolution. #1400 -
Informer cache expires when the watch stalls —
has_syncednow means "cache is currently live", not "an initial list finished once"; a stalled or half-open watch (e.g. after a control-plane upgrade) degrades to direct API reads instead of serving frozen status forever, which previously caused every create to 504 withPOD_READY_TIMEOUT. Bound derived from existing knobs (resync_period + watch_timeout); no new config. #1534 -
Proxy connection leak on aborted responses — when a downstream client disconnected before response-body streaming started, the backend httpx response was never released, gradually exhausting the shared pool until
httpcore.PoolTimeout. The proxy now owns the backend response for the full ASGI lifecycle, shieldsaclose()from cancellation, and releases on setup failure. Stress test: 1000/1000 disconnects cleaned up. #1488 -
Unique, stable proxy operation IDs — the 20 proxied HTTP operations previously emitted 4 process-dependent duplicate operation IDs (16 OpenAPI warnings); each method now gets its own deterministic ID with identical runtime dispatch, auth, and 405 behavior. Generated clients should be regenerated. #1634
-
PVC auto-create no longer crashes with a malformed 500 — the PVC owner-reference patch went through an unsupported
_content_typepath that raisedApiTypeError(leaving PVCs without owner refs) andSandboxErrorCodes.INTERNAL_ERRORwas undefined, masking the real error. Both fixed: patch uses the supported strategic-mergecall_apipath; error code defined. #1538 #1447 -
Template container
securityContextnow reaches pods — the deep-merge previously replaced the template's containers wholesale, silently dropping container-level securityContext. Template keys now supplement (never override) runtime values, matching the existing volumeMounts philosophy. #1564 -
Root-relative backend redirects stay under the proxy route —
Location: /loginfrom a sandbox backend is rebased to/v1/sandboxes/{id}/proxy/{port}/login; absolute, network-path, and query-only references are left untouched. #1516 -
Server-proxy endpoints drop the ingress routing header —
OpenSandbox-Ingress-To(case-insensitive) is removed fromuse_server_proxy=trueresponses while secure-access and other endpoint headers are preserved. #1503 -
No duplicate
Date/Serverheaders on proxied responses — the proxy preserves an originDatewhile suppressing Uvicorn's default (and the backendServerheader), emitting exactly oneDate. #1471 -
Invalid-resume error no longer leaks controller internals — the 409 message for a Running (internally Succeed) sandbox now says "state Running" instead of "phase Succeed"; HTTP status and error code unchanged. #1586
-
Non-finite CPU limits rejected —
nan, infinite, and overflowed values are rejected before Docker NanoCpus conversion instead of being silently accepted. #1568 -
Mixed read-only PVC subPath mounts allowed — the PVC source is set read-only only when every mount of the claim is read-only; the service-level rejection that blocked legitimate mixed-policy PVC creation is removed. #1440
-
Agent-sandbox server-proxy endpoints resolve — internal endpoint resolution now delegates to the workload provider and reads agent-sandbox pod addresses from
status.podIPsinstead of the BatchSandbox-only annotation, and brackets IPv6 literals before appending the port. #1424 -
Version reporting fixed everywhere —
/openapi.json, installed package metadata, and the chartappVersionall reported stale0.1.0; the server now reads its version from package metadata at runtime, builds injectSETUPTOOLS_SCM_PRETEND_VERSION, and the release script bumpsChart.yamlappVersion. #1439
📦 Misc
-
execd v1.0.22 ships OSEP-0018 init-mode hardening — execd as sandbox init (PID 1) with pre-exec hardening floor (env strip, bounding set, no_new_privs, identity drop, ambient caps, seccomp) and Kubernetes hardening e2e + PTY/bwrap coverage. #1474 #1555
-
Isolated-session fail-closed workload lifecycle gate — the server distributes a native Bubblewrap lifecycle gate to
/opt/opensandboxfor both runtimes; workloads stay blocked until execd marks them ready. First phase only — capability admission and session networking remain disabled. #1388 -
Egress transparent MITM can intercept extra TCP ports — experimental
OPENSANDBOX_EGRESS_MITMPROXY_EXTRA_PORTSappends ports to the always-on 80/443 with fail-closed validation (multiport cap 15); credential binding still applies to canonical ports only. #1379 -
Auto-bumps —
egressv1.1.5 → v1.1.7 (#1391 #1498 #1600);execdv1.0.22 (#1501).
👥 Contributors
Thanks to these contributors ❤️
- @aGallea
- @cwj2001
- @Federaffo
- @fengcone
- @gegemeimingzi
- @GodBlf
- @Gujiassh
- @hittyt
- @hpliStartAgain
- @jianpingpei
- @Joey777210
- @luffy0x
- @mameikagou
- @mpu
- @Pangjiping
- @ruirui6946
- @tea-artist
- @y4ney
- PyPI: opensandbox-server==0.2.3
- Docker Hub: opensandbox/server:v0.2.3
- Aliyun Registry: sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/server:v0.2.3
- GHCR: ghcr.io/opensandbox-group/server:v0.2.3
python/sandbox/v0.1.16
2026年08月26日
What's New
✨ Features
- Resilient HTTP transport — Async and sync clients now share a configurable retry transport with backoff, jitter,
Retry-Afterhandling, per-attempt timeouts, an overall deadline, and retry callbacks. Retries are enabled by default for idempotent requests on HTTP 429, 502, and 503; callers that require the previous fast-fail behavior can useRetryPolicy.disabled(). User-supplied transports remain untouched, and streaming SSE requests bypass replay. #1372 - Sandbox lifecycle hooks —
Sandbox.createandSandboxSync.createnow accept optionalpreStartand periodic lifecycle hooks, with stable Python models and server-aligned validation. Hook timeout ranges remain server-authoritative. #1588 #1605 - Background runs in isolated sessions — Isolated sessions can start detached work and poll its status and incremental combined output. Active background runs suspend idle collection; read-only workspaces reject background execution because they cannot persist run logs. #1456
- Runtime allocation and hardening visibility — Sandbox responses can expose confirmed Pool allocation summaries, while isolated capabilities include execd init mode and hardening-layer state. These fields are additive and remain absent when the server cannot confirm the corresponding state. #1481 #1474
- Pool capacity back-pressure — Compatible lifecycle servers can now surface exhausted Kubernetes Pool capacity as HTTP 429 with
KUBERNETES::POOL_CAPACITY_EXHAUSTEDandRetry-After, instead of eventually reporting a generic readiness timeout. Sandbox creation remains non-idempotent and is not automatically replayed on this status. #1581
⚡ Performance
- Faster sandbox startup — Async sandbox creation, connection, and resume resolve execd and egress endpoints concurrently, reducing the two management API lookups to one parallel wait. Failure propagation and create cleanup semantics remain unchanged. #1531
- Bounded parallel Pool cleanup — Idle sandbox release uses bounded concurrency while preserving best-effort cleanup and legacy public behavior. The measured 100-sandbox cleanup in the PR dropped from about 8.3 seconds to 0.8 seconds. #1475
🐛 Bug Fixes
- Standards-compliant SSE parsing — Command and isolated execution streams now use SSE-specific framing, preserving Unicode separators inside JSON strings while remaining compatible with legacy bare-JSON frames. #1444
- Reliable background command completion — Background command streams stop after
execution_complete, preventing falseRemoteProtocolErrorfailures when the peer closes before the final HTTP terminator. Foreground streaming behavior is unchanged. #1532 - Endpoint cache race fix — Completing an older endpoint fetch no longer removes a newer replacement inflight fetch in async or sync clients. #1567
- More useful API errors — Unstructured 4xx and 5xx response bodies are included in exception messages and remain available as raw
response_bodybytes. HTTP 429 responses useSandboxRateLimitExceptionand expose parsedretry_afterwhen present. #1496 #1372 - Cleaner readiness diagnostics — Readiness timeout messages retain timing, connection context, and the last health-check error without suggesting deployment-specific network fixes that may not apply. #1493
📦 Misc
- Regenerated lifecycle models, bumped the package fallback version to
0.1.16, and aligned async and sync default User-Agent strings with the release. #1622 #1623
👥 Contributors
详细ChangeLogjava/sandbox/v1.0.19
2026年08月25日
What's New
⚠️ Breaking Changes
- Client-pool reconcile interval is no longer configurable —
SandboxPool.Builder.reconcileInterval(...)and the correspondingPoolConfigsetting have been removed. Pool reconciliation now runs on a fixed one-second cadence, while new sandbox creation is bounded bywarmupCreateQps; callers should delete uses ofreconcileIntervalwith no replacement. #1575
✨ Features
- Scalable asynchronous client-pool warmup — Pool refill now separates create, readiness, prepare, post-prepare health checking, renewal, and commit into a staged asynchronous pipeline. Create admission is rate-limited per pool, delayed retries no longer occupy worker threads, and staged warmups use a single create transport attempt while direct create and other non-pool paths retain their existing retry behavior. #1575
- Pool warmup tracing and operational summaries — Applications can opt in with
ConnectionConfig.enableTracing(true)to emit OpenTelemetry traces covering queue wait and every warmup phase, using the application's global SDK, exporter, sampler, and propagators. Warmups now also expose bounded terminal outcome attributes, rate-limited failure logs, and active-pool summaries without allowing telemetry failures to affect pool behavior. #1524 #1604 - Lifecycle hook models — Sandbox creation now accepts additive
preStartandperiodiclifecycle hook models. Hook timeout validation remains authoritative on the server rather than being duplicated in stable Kotlin models; Docker support, PATCH operations, and additional hook types remain outside this release's scope. #1588 #1605 - Detached runs in isolated sessions — Kotlin consumers can start background work inside a persistent isolated session, poll its status, and read logs incrementally. Background runs are bounded by the session lifetime, do not support per-run timeouts, and are rejected for read-only workspaces because they require a host-visible writable log location. #1456
- Richer runtime metadata — The SDK now models execd hardening capability results and exposes an optional
Sandbox.allocationsummary for confirmed Kubernetes Pool allocations. Allocation metadata is omitted when evidence is incomplete or inconsistent and does not expose Pod, node, namespace, or internal controller details. #1474 #1481 - Shared HTTP connections for client pools — When callers do not provide an OkHttp connection pool,
SandboxPoolnow creates and owns one sized fromwarmupConcurrency, reuses it across warmup, acquire, and direct-create paths, and evicts it on shutdown. User-supplied connection pools retain their existing ownership semantics. #1517
🐛 Bug Fixes
- Stable warmup pacing under failures and throttling — Fast create failures can no longer drive a self-sustaining reconcile loop, and pool warmups now honor
Retry-Afterwithout counting rate limits as degraded failures. Stale-sandbox cleanup triggers prompt replenishment, while concurrent warmup commits no longer serialize behind a single JVM mutex or starve health-check work. #1494 #1512 #1519 #1621 - More actionable client errors — Kotlin
ClientExceptionmessages now retain response bodies for caller-fixable 4xx responses across generated and handwritten paths. Readiness timeout messages no longer suggest Docker bridge, remote-network, or server-proxy settings that may not apply, while preserving timeout and last-error context. #1496 #1493 - Faster bounded idle cleanup —
releaseAllIdle()now deletes idle sandboxes with bounded concurrency instead of serially, preserving best-effort cleanup semantics while substantially reducing drain time for large pools. #1475
📦 Misc
- Published Kotlin/JVM sandbox, code-interpreter, Redis pool, and BOM artifacts at version
1.0.19under the existingcom.alibaba.opensandboxcoordinates.