First release candidate on the 1.3.1 patch line, cut from release-1.3.0 (2026-11-30, BOM built at 380db89). Baseline for every section is release-1.3.0 (including #3187, which merged after the 1.3.0 BOM build and ships in execd images for the first time here); operators on 1.3.0 validating 1.3.1 fixes should test this build and review Upgrade & Compatibility for the 400 ErrorResponse validation change, specific Kubernetes failure reasons, and Fast Sandbox template rebuild guidance. rc releases publish images but hold packages — SDK/CLI artifacts ship at the 1.3.1 stable bump.
Highlights
- Zero-stall
RootfsOnlysnapshot capture: Fast Sandbox moves dirty-upper writeback out ofVM.Pausevia two-stage online chunkedsync_file_range+fdatasyncpre-flush and enforces strictreflinkcloning on reflink-qualified nodes; in 2-node bare-metal Firecracker + OverlayBD verification (20 GiBtemplate,16–4096 MiBdirty uppers), 4 GiB pause-window flush dropped from19.8 sto1.0 ms(~1.7 mstotal vCPU pause,0.2–0.3 msreflinkcut), eliminating the19.9 s(994×503) externalexecd /pingoutage (3,424 / 3,424/pingOK at0.97 msP99 and273 / 273/commandOK, alongside4.2 s→0.0 msat 1 GiB and361 ms→0.0 msat 256 MiB) (#3325 fast-sandbox#333) - End-to-end W3C OpenTelemetry tracing &
firecracker-runtimekernel distribution: Distributed W3C trace propagation now spansopensandbox-server,ingress,FastPath,Fastlet,Firecracker,egress, and S3/OCI artifact publishing with conditional polling sampling (#3252 #3325 fast-sandbox#312 fast-sandbox#318 fast-sandbox#329), whilefirecracker-runtimedistributes pinned guest kernels into a unifiedfirecracker.kernelPathshared by builder Pods and Fastlets (#3325 fast-sandbox#327) - Egress security hardening, Credential Vault body-digest signing & Fast Sandbox scaling: Egress sidecars now fail closed to default-deny on corrupt policy files (#3259), add opt-in scan detection and persistent quarantine (#3261 #3270 #3301), support opt-in
auth.bodyDigest: sha256request-body hashing across all five SDKs (#3246), wire Fast Sandbox kernel drop telemetry (#3136), wait for proxy confirmation on Fast Sandbox Vault mutations (#3217), cap per-sandbox resolver concurrency (#3258), and replace O(N²) subject dispatch and queue scans with incremental O(1) structures (#3218 #3290) - Multi-tenancy, native gRPC ingress & runtime reliability fixes: Adds the Kubernetes
ConfigMaptenant provider (#3299), opt-in native gRPC routing over h2c in ingress (#3116), customBatchSandboxPod name prefixes (#3184),400 ErrorResponsevalidation responses (#3260), immediate409proxy rejection on paused or stopped Docker sandboxes (#3162 #3320), atomic SQLite snapshot migrations (#3304), per-path OSSFS unmount locking (#3321), persistent Jupyter kernel WebSockets (#3228), Windows process-tree kills (#3146),opensandbox-launcherstaging with/opt/opensandboxhardening (#3325 fast-sandbox#324), and stale sharedsnapfilesgeneration rotation acrossoverlaybd-ublkdrestarts (#3325 fast-sandbox#314)
Server
- ConfigMap tenant provider: adds
[tenants] provider = "configmap", watching ConfigMaps labeledopensandbox.io/tenant-keys=trueinside administrator-labeled tenant namespaces (one tenant per namespace) with<namespace>.<secret>SHA-256 digest verification, fail-closed503staleness checks (max_stale_seconds >= 2), and no additional RBAC; startup failures intenant_provider.start()now log one error and exit across all tenant providers (#3299) - W3C OpenTelemetry trace propagation & conditional polling sampling: reuses
[otel].enabledand[otel].endpointto export OTLP/HTTP traces (/v1/traces) via pure-ASGIHttpTracingMiddleware(extracting W3Ctraceparent/tracestate, recordingopensandbox.request_id, and skipping/healthand/version), conditionally samplesGET /(sandboxes|snapshots)/{id}so fast 2xx unsampled polls suppress downstream spans while slow (>= 500 ms), non-2xx, failing, or caller-sampled polls export, attaches sync andgrpc.aioFastPathClienttracing interceptors, and starts root spans for backgroundidle_pauseandrenew_intentRPCs (#3252) - Custom
BatchSandboxPod name prefixes & Credential Vault body-digest relay:POST /v1/sandboxesacceptsextensions["kubernetes.podNamePrefix"](up to 126 characters, rejected alongsidepoolRef) to name dedicated Kubernetes Pods<prefix>-<uid-hash>-<replica-index>(#3184), and the Credential Vault relay accepts and forwards opt-inauth.bodyDigest: sha256on typelessexchangebindings (#3246) - Return
400 ErrorResponsefor request validation errors: converts FastAPI422 {"detail": [...]}request validation errors (and full-snapshot restores missingresourceLimits) into400 {"code": "SANDBOX::INVALID_PARAMETER", "message": "..."}matchingspecs/sandbox-lifecycle.ymlwithout echoinginputorctx, leaving no remaining422responses in the server or generated OpenAPI (#3260) - Immediate
409for proxied requests to paused or stopped Docker sandboxes: Docker server-side proxy routes (/proxy/{port},/networkpolicy,/credential-vault) now reject paused or non-running target containers (judging port18080by the egress sidecar and all other ports by the sandbox container) with409 DOCKER::SANDBOX_NOT_RUNNINGimmediately instead of stalling 180 s, returning500, or failing at connect time, while keeping/networkpolicy//credential-vaultavailable duringdocker commitsnapshots and leaving publicGET /endpoints/{port}unchanged (#3162 #3320) - Bound shared proxy
httpxconnect timeout to10 s: configures the shared proxyhttpx.AsyncClientwithconnect=10.0(preservingread/write/poolat180.0 s) so requests forwarded to evicted or unreachable Kubernetes Pods fail fast with502 BACKEND_CONNECTION_FAILEDinstead of waiting ~127 s and holding pool slots (#3242) - Atomic SQLite snapshot schema migration: runs SQLite snapshot catalog migration (column-name copy, table swap, and index creation) inside one write transaction so an interrupted upgrade rolls back cleanly instead of stranding rows in
snapshots_newunder an empty catalog; recoverssnapshots_newfrom older interrupted migrations and halts startup for manual reconciliation when both tables hold rows (#3304) - Per-path OSSFS unmount locking on Docker: serializes Docker OSSFS mount and unmount operations per mount path with a
WeakValueDictionarylock (keeping_ossfs_mount_lockscoped to ref-count and table updates), preventing a concurrent create from bind-mounting a plain host directory while the last departing sandbox unmounts the bucket and stopping slow mounts or unmounts from blocking unrelated buckets (#3321) - Fail fast on unschedulable platforms for
PendingBatchSandboxes: moves unschedulable-platform pod lookup out ofget_status(fixing the nonexistentstatus.selectorlookup andPending-phase masking) into a rate-limited create-wait probe usingbatch-sandbox.sandbox.opensandbox.io/nameviaasyncio.to_thread, returning400 POD_PLATFORM_UNSCHEDULABLEimmediately instead of timing out at504(#2359) - Expose specific Kubernetes Pod disruption & Docker OOM causes: forwards specific
PodFailed/PodDisruptedreasons instatus.reasoninstead of collapsing every Kubernetes pod failure toFAILED(#3227), and appends(OOMKilled)to Docker sandbox status messages whenState.OOMKilledis true and the main container exits with code137(#3267) - Accept decimal memory and disk quantities on Docker & Windows profiles: parses Kubernetes-style decimal
resourceLimits(1.5Gi,0.5Gi,4.5Gi) with exactDecimalceiling-byte conversion across Docker, Docker Windows (RAM_SIZE/DISK_SIZE), and Kubernetes Windows QEMU overhead calculations instead of returning400(#3245) - Smaller fixes: include the required
entrypointarray ([]when provider-supplied) in Kubernetes pool create responses (#3276); match SQLite templatemetadatafilter keys literally viajson_eachbound parameters so quotes, backslashes, brackets, and$no longer fail with500or empty results (#3283); return the stored whole-secondexpiresAtfromFastSandboxService.renew_expirationto match subsequentGET /sandboxes/{id}reads (#3284); alignspecs/sandbox-lifecycle.yml(and regenerated Python/JS clients) with server behavior by declaring?dropEstablished,501, anddroppedEstablishedon/networkpolicy(#3234) and fixingOPEN-SANDBOX-ORIGIN,pageSizemaximum: 200, and metadata filter examples with drift tests (#3322)
SDKs
- Opt-in Credential Vault exchange request-body digest (
auth.bodyDigest: sha256): all five SDKs (Python, JavaScript, Kotlin/JVM, C#, Go) exposebodyDigeston typeless Credential Vaultexchangebindings so resolvers can verify and sign request bodies viarequest.bodySha256(#3246) - Cgroup QoS capability status (
hardening.cgroup_qos): all five SDKs (Python, JavaScript, Kotlin/JVM, C#, Go) exposecgroup_qos(cgroupQos/CgroupQos) on isolated-session capability responses matchingspecs/execd-api.yaml(sdks/sandbox/go/v1.3.0already tagged8408f65; Python, JavaScript, Kotlin/JVM, and C# packages ship it at1.3.1stable) (#3187) - Omit implicit entrypoints on snapshot restore: Python (sync and async), JavaScript, Kotlin/JVM, and Go SDKs stop sending
["tail", "-f", "/dev/null"]on snapshot-ID restores (matching C#), preserving explicit commands and empty arrays while keeping Kotlin's explicittimeout: null(#3300)
Python
- Allow
Sandbox.create()andSandboxSync.create()to create sandboxes with onlyextensions["poolRef"](omitting default image, entrypoint, and resource limits) and tolerate legacy202pool responses that omitentrypoint(#3276)
JavaScript
- Bound
sseFetchresponse-header wait and multi-hop redirect chains withrequestTimeoutSeconds(default30 s, clearing timers as soon as headers arrive so active SSE streams are unaffected) across@alibaba-group/opensandboxand@alibaba-group/opensandbox-code-interpreter, while keeping OSEP-0024 wake retries outside the per-attempt redirect deadline and preventing pre-dispatch timer leaks (#3243)
C#
- Reject non-positive
PageorPageSizevalues locally withInvalidArgumentExceptioninListSandboxesAsync,ListSnapshotsAsync, andListTemplatesAsyncinstead of paying for a server validation round trip (#3222)
Go
- Check SSE and raw-JSON response read errors before flushing unfinished event blocks so a truncated trailing
execution_completerecord on a broken stream cannot reach callers or mask a background command transport failure asnil(#2977)
Controller
- Custom Pod name prefixes for dedicated
BatchSandboxes: addsspec.podNamePrefixon theBatchSandboxCRD (max 126 characters, mutually exclusive withpoolRef) so dedicated Pods are named<prefix>-<uid-hash>-<replica-index>while preserving the sandbox ID, and updates Developer Console workload and paused-Pod event filters to include prefixed Pods (#3184) - Expose Pod disruption in
BatchSandboxfailure status: preserves container exit details alongside Pod termination and disruption conditions and reportsPodDisruptedwhenDisruptionTarget=True, distinguishing node-pressure evictions and shutdowns from workload failures (#3227) - Revert pool assignment profiles when their ConfigMap is deleted: registers a
DeleteFunchandler on thepool-assign-profilesConfigMap informer so deleting the ConfigMap immediately revertsProfileStoreto built-in default profiles instead of retaining custom profiles until controller restart (#3293) - Smaller fixes: add regression coverage verifying
Poolrecycle defers handback on transient uncached Pod lookup failures across same-name Pool recreation without deleting Pods owned by the previous UID (#3214)
Execd
- Opt-in cgroup v2 group QoS isolation (
[qos.cgroup], OSEP-0031 Phase 2): splitsexecd(plusentrypoint = "high"and internal filesystem workers) intoopensandbox-systemandstandardworkloads (run_command, sessions, PTYs, lifecycle hooks, isolated runs,standardENTRYPOINT) intoopensandbox-workloadwith 10:1 CPU weights (1000vs100), optionalworkload_cpu_max_percent(1..99), adaptive memory reserve (memory_reserve_bytes = 0derivesclamp(total/8, 32 MiB, 128 MiB)intosystem/memory.lowandworkload/memory.max), PID headroom (workload_pids_max = 0reserves 128 PIDs), optionalauto_mount = truefor unmounted guests (such as Firecracker microVMs), atomicCLONE_INTO_CGROUPplacement withcgroup.procsfallback, base-cgroup resource/OOM and dual-cgroup eBPF audit scope preservation, andhardening.cgroup_qos(active|disabled|degraded|unsupported) reporting onGET /v1/isolated/capabilities— merged after the1.3.0BOM build (380db89) and shipping inexecdimages for the first time here (#3187) - Shared
sandbox.host.localOTLP metrics fallback: inherits the shared telemetry fallback probingsandbox.host.local(4318/4317, 1 s timeout, cached, degrading tonoopwhen unreachable) afterHOST_IPand/etc/hostinfo(#3239) - Reuse persistent Jupyter kernel WebSocket per context: maintains one persistent
/api/kernels/<id>/channelsWebSocket per code context with a stablesession_idquery parameter matchingheader.session, eliminating per-request reconnect races and session-less buffering (No session ID specified) while recycling timed-out or broken sockets cleanly and retrying once on stale-idle write failures (#3228) - Kill whole process trees for Windows commands: stops Windows foreground timeouts, background cancellations, and interrupts via
taskkill /T /F /PIDwith an open process handle guarding against PID reuse (falling back toProcess.Kill) so child processes spawned bycmd.exeare terminated alongside the shell (#3146) - Apply QoS
SCHED_IDLEvia raw syscall on musl builds: callsSYS_sched_setschedulerdirectly inopensandbox-launcherinstead of musl'sENOSYSlibc wrapper soscheduler = "idle"takes effect in static Alpineexecdimages withoutFunction not implementederrors (#3308) - Observe QoS cgroup OOM kills in root guests: watches registered first-level QoS subtrees and reports OOM kills with
level=descendantwhen standalone guests run with the sandbox base at the cgroup v2 root (wherememory.eventsis absent), fencing sampling across runtime binding handoffs while preserving attribution across identical init retries (#3298) - Accept numeric UID/GID strings in Unix file ownership metadata: falls back to decimal UID/GID strings when account or group name lookup fails on ordinary Unix permission updates, uploads, and directory creation so callers can round-trip unmapped ownership values returned by
GET /files/info(regenerating execd API descriptions) (#3235) - Smaller fixes: reuse Chromium's existing XDG NSS database when the legacy
~/.pki/nssdbdirectory is absent across MITM CA import and trust checks while retaining the legacy default for fresh homes (#3237)
Networking
egress
- Credential Vault exchange request-body digest (
auth.bodyDigest: sha256): opt-inbodyDigest: sha256on typelessexchangebindings hashes exact buffered outbound request bytes within the resolver deadline and deliversrequest.bodySha256to resolvers (for body-signed schemes), denying unsafe framing, streaming/chunked requests, oversized bodies, trailers, and body rewriting fail-closed (#3246) - Sidecar scan detection & persistent quarantine: adds a bounded in-memory NFLOG drop scan detector (ten 1 s buckets, up to 16 evidence endpoints, canary CIDR/host/port/IP thresholds), persistent nftables containment with readback, DNS refusal, retained inbound control ports, webhook notifications, quarantine metrics, and opt-in
detect/quarantinesidecar runtime wiring (defaultoff) with restart containment recovery and scoped webhook/OTLP dialers (#3261 #3270 #3301) - Fast Sandbox kernel drop telemetry: wires shared nftables drop-counter polling and bounded NFLOG sampling into Fast Sandbox egress with fixed reason-keyed table counters that survive incremental Subject removal and recreation, live Subject-registry source-IP attribution on audit samples (without Subject labels on metrics), and byte-for-byte unchanged default-off rulesets (#3136)
- Per-sandbox resolver concurrency cap on Fast Sandbox: adds opt-in
OPENSANDBOX_EGRESS_FSB_CREDENTIAL_RESOLVER_MAX_CONCURRENCY_PER_SANDBOX(default disabled) to bound concurrent exchange resolver calls per trusted sandbox ID ahead of the shared process-wide limit so one slow resolver cannot starve neighboring sandboxes on the same Fastlet Pod (#3258) - Local
sandbox.host.localDNS mapping & W3C Action Handler tracing: resolvessandbox.host.locallocally indnsproxyto the sidecar'sHOST_IP(TTL 300 s,NXDOMAINlocally when unset, subject to policy anddeny.always), disables self-probing DNS fallback on egress, and auto-allowssandbox.host.localfor telemetry when backed byHOST_IP(#3239); opts in to shared OTLP tracing (honoringOTEL_TRACES_SAMPLER) and extracts W3Ctraceparent/tracestateon Fast Sandbox Action Handler HTTP routes (/_fastlet/v{1,2}/actions,/policy/{uid},/vault/{uid}) (#3252) - Fast Sandbox
credential-boundincremental dispatch & queue indexing: replaces O(N²) full source-index rebuilds and teardown client scans with per-subject publication cells and source/target teardown indexes (4,096-subject commit CPU down from 1,772 µs to 28 µs; lock-freelookup_sourcepreserved) (#3218), and indexes pending subject snapshot installations in FIFO order under the drain lock (4,096-subject tail replacement down from 12,329 ns to 14.1 ns, zero allocations) (#3290) - Scoped forward DNS origin evidence for plaintext HTTP/80 bindings: adds an optional
HTTPOriginsstore indnsproxyrecording A/AAAA answers after policy installation and reply writes (bounded to 128 addresses per scope, shortest CNAME TTL capped at 5 minutes, invalidating pins on NXDOMAIN, revocation, or overflow, and marking shared-IP names ambiguous); production selectors keep it unset pending HTTP/80 consumer wiring (#3313) - Security fix — fail closed on corrupt policy files: distinguishes missing policy files from unreadable or truncated
OPENSANDBOX_EGRESS_POLICY_FILEfiles at startup, applyingDefaultDenyPolicy()(invalid_policy_file) instead of falling back to bootstrapOPENSANDBOX_EGRESS_RULESand silently reopening revoked destinations while keeping the policy server running so a subsequent valid policy write restores enforcement (#3259) - Wait for proxy confirmation on Fast Sandbox Vault mutations: v1 relay and v2 writer now wait outside commit locks for confirmation that the
credential-boundproxy installed the exact decision snapshot (guaranteeing a successful removal has published its new-request fence) and return503if installation is rejected or times out without rolling back the local commit (#3217) - Reject oversized policy and action bodies cleanly:
POST/PATCH/DELETE /policyand Fast Sandbox/actions/ Actions v2 endpoints now readlimit+1bytes and return400(body exceeds 1048576 bytes) instead of silently truncating payloads past 1 MiB or accepting trailing data after a valid 1 MiB JSON prefix (#3296) - Smaller fixes: release the DNS manager mutex before logging failed background lease renewals so a stalled log writer cannot delay unrelated foreground DNS grants (#3138); fix OSEP-0023 credential-bound AC6 verification to read
dispatch_v4instead of pre-SNAT guest IPs, capCB_REUSE_ATTEMPTSat 1–4, add deterministic Python/Go source-address reuse tests, and update OSEP/guide evidence (#3212)
ingress
- Opt-in native gRPC routing over h2c: adds
--h2c-enabled(gateway.h2cEnabledin Helm, defaultfalse) so ingress serves HTTP/1.1 and h2c prior-knowledge on one listener, forwards HTTP/2application/grpc*requests over a dedicated HTTP/2 transport (keeping HTTP/1.1, SSE, WebSocket, and gRPC-Web unchanged; Fast Sandbox routes remain HTTP/1.1-only), strips platform routing/access metadata, and returns trailers-only gRPC status codes (NOT_FOUND,UNAVAILABLE) for ingress-generated errors (#3116) - W3C OpenTelemetry tracing &
sandbox.host.localmetrics fallback: adds opt-in OTLP trace export withingress.proxyserver spans, outbound W3C header injection towardfast-sandbox-proxyon HTTP and WebSocket hops, FastPath gRPC client tracing interceptors, detachedingress.wake.flighttrace continuation, and cumulative temporality docs for Prometheus/OTel Collector (#3252); inherits the sharedsandbox.host.localOTLP metrics fallback (#3239) - Helm renew-intent flags: exposes opt-in
gateway.renewIntent.*(enabled,redisDsn,queueKey,queueMaxLen,minIntervalSeconds, default off) inmanifests/charts/ingress-gatewaywith strict numeric validation and--reuse-valuesupgrade tolerance so Helm deployments can enable OSEP-0009 renew-on-access through the gateway (#3302) - Bracket IPv6 upstream endpoints: builds upstream authority with
net.JoinHostPortinresolveRealHostso IPv6 pod endpoints (fd00::5) format as[fd00::5]:8080, fixing malformedHostheaders on HTTP requests and failed WebSocket upgrade URL parsing in IPv6 and dual-stack clusters (#3294)
Fast Sandbox
- Two-stage online
RootfsOnlysnapshot pre-flush & strict reflink policy: drains dirty/dev/ublkb*block-device pages and backing XFS upper files online via chunkedsync_file_range+fdatasync(snapshot.pre_flush) before writing the capture journal fence or callingVM.Pause, cutting 4 GiB dirty-upper pause-window flush from19.8 sto1.0 ms(~1.7 mstotal vCPU pause,0.2–0.3 msreflinkcut) and eliminating the19.9 s(994×503) externalexecd /pingoutage (3,424 / 3,424/pingOK at0.97 msP99 and273 / 273/commandOK); probesStateRootforFICLONEat startup and rejects unexpected byte-copy fallback on reflink-qualified nodes by default (overridable viaFAST_SANDBOX_SNAPSHOT_ALLOW_COPY_FALLBACK=trueorFAST_SANDBOX_SNAPSHOT_COPY_FALLBACK_MAX_BYTES), emittingfast_sandbox_firecracker_snapshot_upper_reflink_fallback_total{reason,outcome}(#3325 fast-sandbox#333) - Guest kernel distribution via
firecracker-runtime& unifiedfirecracker.kernelPath: bundles pinned guest kernels (vmlinux-6.18.36,SHA256SUMS,vmlinux.binalias) infirecracker-runtimefor atomic SHA-256-verified installation into{assetsDir}/kernels(/opt/fast-sandbox/firecracker/kernels), unifyingfirecracker.kernelPathacrossfirecracker-runtime,sandboxtemplate-builder, and Fastlet (supporting multi-version directories and legacy single-file overrides while retaining 1.x embedded builder and mismatched-kernel warning fallbacks for rolling upgrades) (#3325 fast-sandbox#327) - End-to-end W3C OpenTelemetry tracing across Fast-Path, Fastlet, Firecracker & artifact publishing: keeps async Fastlet workers on the requesting trace (
DetachRequest+InheritTrace), flattens create, delete, pause, snapshot, handler-relay, VMM API, and S3/OCI artifact publish spans, splitsRootfsOnlycapture freeze-window stages (vm_pause,flush,cut/upper_copywith copy-method/errno attribution,vm_resume), persists sampled trace context onSandboxSnapshotandSandboxpause annotations so Controller-triggered snapshot and checkpoint workers continue the caller's trace, forwardsOTEL_*env vars tofastlet-proxy, and suppresses routine reconcile and heartbeat trace noise (#3325 fast-sandbox#312 fast-sandbox#318 fast-sandbox#329) - Incremental Fastlet resource commitment tracking: maintains CPU and memory commitments incrementally under the manager lock instead of O(N) full scans per admission (800-sandbox read drops from ~1.18 ms / 30k allocs to ~48 ns / 0 allocs) and restricts runtime inventory recovery to startup so live admission reservations cannot be overwritten (#3325 fast-sandbox#315)
- FSEP-0006 runtime interface proposal: documents the proposed unified Fastlet runtime contract and direct VMM adapter architecture with no runtime behavior change (#3325 fast-sandbox#319)
- Security fix — stage
opensandbox-launcher& rebuild trusted/opt/opensandboxtree: extractsusr/local/libexec/opensandbox-launcherfromspec.execdimages into/opt/opensandbox/opensandbox-launcher(fixing silently degradedcap_drop/seccomp/landlockhardening on built templates), rebuilds/opt/opensandboxon a fresh root-owned tree inside a0755parent, and writes injected runtime files onto freshO_EXCLinodes so untrusted source images cannot leave workload-writable or symlinked binaries (#3325 fast-sandbox#324) - Rotate stale shared
snapfilesgenerations acrossoverlaybd-ublkdrestarts: retires stale sharedsnapfilescache entries whenublkdloses a device while surviving sandbox leases remain, letting new creates share a fresh generation instead of permanently failing at 0% afterfirecracker-runtimeDaemonSet restarts while preserving old leases and mounts until owners exit and recovering interrupted successor generations (#3325 fast-sandbox#314) - Inherit source image
WORKDIRin template builds: preserves OCIConfig.WorkingDirfor both native and OverlayBD templates and runs only the template workload command in that directory (failing startup if an explicit working directory is inaccessible; existing templates require a rebuild) (#3325 fast-sandbox#331) - Smaller fixes: key FastPath TLS serving-certificate cache on SHA-256 content hashes of both PEM files so rotations preserving size and mtime reload reliably (#3325 fast-sandbox#311); preserve sparse zero holes during Firecracker artifact downloads in 32 KiB chunks while hashing all bytes so mostly empty rootfs images no longer expand to full logical size in node cache (#3325 fast-sandbox#101)
Misc
- Runtime base images migrated from Alpine to
debian:bookworm-slim: movesingress,controller,task-executor,image-committer(with SHA-256-verified upstreamnerdctl1.7.6 binary), andconsole/web(node:22-slim/nginxinc/nginx-unprivileged:1.27) off Alpine/musl onto Debian bases (keepingexecdon Alpine) and standardizes baseline debug tooling (ca-certificates,curl,procps,iproute2,strace) andAPT_MIRRORbuild arg across apt-based runtime images (#3223) - Benchmark harness (
opensandbox-bench), baselines & GitHub Pages charts: archives the purerelease-1.3.06-suite bare-metal Firecracker + OverlayBD baseline (1,000-slot unified pool, up to 1,994 concurrent sandboxes), addsWaitForPoolReplenishedand--inter-suite-cooldownisolation, and updatesopensandbox-bench plotto academic technical-report styling (#3244); publishes interactive benchmark charts for archived reports on GitHub Pages (https://open-sandbox.ai/benchmarks/<run-directory>/) and removes committedplot.htmlfiles (#3273); adds the opt-inrollout-disruptionupgrade-impact suite and atomicworker rolloutCLI with surge-storm circuit breaking (#3188), default full-stack in-cluster OTel Collector + Jaeger wiring withtrace pull/trace probe(#3268), and20 GiBsparse rootfs16/256/1024/4096 MiBdirty tiers with continuousexecd/ping+/commanddowntime probing inrootfs-only-restore(#3292) - Dev tooling & agent skills: adds the Ubuntu 24.04
opensandbox/dev-studioall-in-one monorepo development and testing image with DinD, optionalkind, and prewarmed caches underscripts/dev-image/(#3274); adds theopensandbox-benchmarkoperational playbook skill (#3253) and upgradesopensandbox-pr-reviewwith remotedev-studiosandbox execution viaosbCLI and a redesigned bilingual HTML report (#3286) - CLI: adds
osb sandbox create --inherit-snapshot-resourcesto restore a snapshot without sending default CPU/memory limits (requires--snapshot-idand conflicts with explicit resource flags or request-file mode; ships inopensandbox-cliat1.3.1stable) and wires Fast SandboxRootfsOnlyE2E to test checkout CLI flags (#3333) - Docs, Examples & Repo Hygiene: makes the Docker named-volume verification example exit non-zero on command, data, subPath, or read-only check failures (#3114); documents how Python SDK client pools select pre-warmed Kubernetes
BatchSandboxPools viapoolRefand shared PVCs (#3119); fixes broken links left over from the docs restructure across egress and benchmark docs (#3317); removes supersededconsole/docs/files and cleans up stale references (#3324); removes obsoletecomponents/egress/RELEASE_NOTES.md(#3326)
Upgrade & Compatibility
- Breaking — request validation returns
400 ErrorResponseinstead of422: clients matching HTTP422or FastAPI'sdetail[]array on invalid requests (including/pools,POST /metrics/events, and full-snapshot restores missingresourceLimits) now receive400with{"code": "SANDBOX::INVALID_PARAMETER", "message": "..."}; update error handlers to match400+SANDBOX::INVALID_PARAMETER(or accept both400and422during rolling upgrades) (#3260) - Breaking — specific Kubernetes failure
status.reasonvalues:GET /v1/sandboxes/{id}now forwards specificPodFailed/PodDisruptedreasons instatus.reasoninstead of always returningFAILED; clients checkingstatus.reason == "FAILED"must switch tostatus.state == "Failed"(#3227) - Docker server-side proxy rejects paused or stopped targets with
409:/proxy/{port},/networkpolicy, and/credential-vaultrequests targeting a paused or non-running Docker container now fail immediately with409 DOCKER::SANDBOX_NOT_RUNNINGinstead of timing out with504, returning500, or failing at connect time, and/proxy/{port}requests arriving whiledocker commitfreezes the sandbox container also return409immediately; publicGET /endpoints/{port}and snapshot-time/networkpolicy//credential-vaultrequests remain unchanged (#3162 #3320) - Ingress native gRPC routing (
--h2c-enabled): off by default (gateway.h2cEnabled=false); when enabled, HTTP/2application/grpc*ingress rejections return trailers-only HTTP200withgrpc-status(NOT_FOUND/UNAVAILABLE), non-gRPC HTTP/2 prior-knowledge requests forward over HTTP/1.1, and Fast Sandbox routes remain HTTP/1.1-only (#3116) - Egress corrupt policy files fail closed: when
OPENSANDBOX_EGRESS_POLICY_FILEexists on disk but is empty or unreadable, the egress sidecar now enforcesDefaultDenyPolicy()(invalid_policy_file) instead of falling back toOPENSANDBOX_EGRESS_RULES; persist a valid policy through the running policy API to restore normal rules (#3259) - Fast Sandbox Vault mutation confirmation (
503without rollback):credential-boundVault writes now wait for proxy installation confirmation and return503if installation is rejected or times out; the local mutation may already be committed and is not automatically rolled back (#3217) - Credential Vault
auth.bodyDigest: sha256pairing: enablingbodyDigest: sha256on typelessexchangebindings requires an updated egress image and built-in mitmproxy addons; existing bindings continue to resolve on request headers (#3246) BatchSandboxCRD update for custom Pod prefixes: apply the updatedmanifests/charts/base/files/crds.yamlbefore settingspec.podNamePrefixorextensions["kubernetes.podNamePrefix"](#3184)- Server tenant-provider startup failure & SQLite snapshot migration conflicts: failures in
tenant_provider.start()now exit the server cleanly across all providers, and[tenants] provider = "configmap"requires cluster-administratoropensandbox.io/tenant-keys=truelabeling on each tenant namespace (#3299); SQLite snapshot catalogs left with rows in bothsnapshotsandsnapshots_newfrom an older interrupted migration now halt startup so operators can reconcile both tables before resuming (#3304) - Fast Sandbox coordinated upgrades & template rebuilds: on reflink-qualified nodes,
RootfsOnlysnapshot capture now rejects unexpected byte-copy fallback by default (setFAST_SANDBOX_SNAPSHOT_ALLOW_COPY_FALLBACK=trueorFAST_SANDBOX_SNAPSHOT_COPY_FALLBACK_MAX_BYTESto override) (#3325 fast-sandbox#333);firecracker-runtimenow distributes bundled guest kernels into/opt/fast-sandbox/firecracker/kernelsunder unifiedfirecracker.kernelPath(1.x embedded builder fallback and mismatched-kernel warning fallback remain active for rolling upgrades) (#3325 fast-sandbox#327); rebuild existing Fast Sandbox templates to pick up/opt/opensandbox/opensandbox-launcheron the hardened root-owned/opt/opensandboxtree (#3325 fast-sandbox#324) and source-imageWORKDIRinheritance (inaccessible explicitWORKDIRpaths now fail guest startup) (#3325 fast-sandbox#331); keepfsb-vmversions matched across nodes and drain/clean sharedsnapfilesgeneration entries before downgrading past stale-generation rotation (#3325 fast-sandbox#314) - Debian runtime base images:
ingress,controller,task-executor,image-committer, andconsole/webimages grow from Alpine bases todebian:bookworm-slimplus baseline debug packages (binaries, entrypoints, users, and ports are unchanged;execdremains on Alpine); customimage-committerbuilds bumpingNERDCTL_VERSIONmust also pass matchingNERDCTL_SHA256_AMD64/NERDCTL_SHA256_ARM64build args (#3223) execdopt-in cgroup v2 group QoS ([qos.cgroup], OSEP-0031 Phase 2): disabled by default (enabled = false); enabling it requires cgroup v2 with delegatedcpu/memory/pidscontrollers (orauto_mount = truein privileged standalone guests such as Firecracker microVMs, failing open when unavailable or read-only). Because #3187 merged after the1.3.0BOM build (380db89) but beforerelease-1.3.0andsdks/sandbox/go/v1.3.0were tagged at8408f65,1.3.1-rc.1is the first release whoseexecdimage includes[qos.cgroup](Python, JavaScript, Kotlin/JVM, and C# capability models ship at1.3.1stable) (#3187)- SDK behavior changes (ship at
1.3.1stable): Python, JavaScript, Kotlin/JVM, and Go SDKs no longer send an implicit["tail", "-f", "/dev/null"]entrypoint on snapshot-ID restore — pass it explicitly if needed (#3300); C# list methods throwInvalidArgumentExceptionlocally forPage <= 0orPageSize <= 0(#3222); JavaScriptsseFetchbounds pre-header and redirect waits withrequestTimeoutSeconds(#3243); Go discards unfinished SSE/raw-JSON blocks on response read failures instead of flushing trailingexecution_completerecords (#2977) - Images:
opensandbox/<component>:release-1.3.1-rc.1(all three registries; fsb images for fast-sandbox) - Packages: unchanged — SDK/CLI artifacts publish at the
1.3.1stable release - Charts: render from this tag (
helm template ./manifests/charts/opensandbox) - Kubernetes: supported range v1.22 – v1.34
- Skew: server ↔ CLI/SDK same line supported; ±1 minor warns
👥 Contributors
Thanks to these contributors ❤️
- @ChambersChan
- @DigHuang
- @EddieMurphy89
- @Kuromesi
- @Leeminjing
- @LuisQin01
- @LyleLiu666
- @Pangjiping
- @Yeaury
- @ZedingZhang
- @acodercat
- @alahaiyo
- @brixtonpham
- @changren-wcr
- @cwj2001
- @divya0795
- @eugenelim
- @fengcone
- @hittyt
- @hnnynh
- @hpliStartAgain
- @kevinWangSheng
- @kongxinjun
- @ninan-nn
- @shaojunying
- @staru09
- @xixi-box
- @yangjj-iso
- @zonemeen
Artifacts
- Images:
opensandbox/<component>:release-1.3.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
cd OpenSandbox
git checkout release-1.3.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.