Skip to content

v0.1.16

Choose a tag to compare

@CMGS CMGS released this 05 Oct 12:40

Changelog

  • 7588d2d docs(cluster): one mesh in the hundreds of nodes, no per-user templates in the gossip, tenant set scale (#289)
  • f0f99b8 egress: a CONNECT keeps the bytes the guest sent before the 200 (#285)
  • 858a80e egress: a claim credential can require a placeholder before it injects (#307)
  • e53f665 egress: an "inject" rule intercepts only the claims that inject on the host; query and body credentials (#309)
  • 9aed556 engine: at most 8 cocoon memory dumps run at once (#327)
  • 5caeef5 engine: read the hybrid-vsock CONNECT reply in one buffered read (#304)
  • 30bc283 feat(sandboxd): a pool's storage sizes its golden's copy-on-write disk in cocoon's --storage spelling (#270)
  • 05d2e24 feat(sandboxd): cold-restart a claim whose VMM exited, or keep it listed as failed; a host restart no longer sweeps running claims (#269)
  • 558811b fix(silkd): egress and port relays set TCP_NODELAY on their guest sockets (#281)
  • a8ca9b3 go: Go 1.27 idioms (generic methods, CutLast, bytes.Cut, errors.Is) and json v2 digests (#297)
  • ec9f99d outbound: a sandbox's doors, proxy and NIC lock move out of pool into their own package (#314)
  • 69b13fd pool: a VM event scans for its own claim, and the idle sweep skips the scan when no key idles (#315)
  • 5f247de pool: a capture of a running sandbox releases its transition lock once the fork snapshot is saved (#323)
  • 5f46a52 pool: a claims.json commit encodes only the changed claims (#305)
  • e18eba3 pool: a reap tick marks its archive purges with one directory fsync (#321)
  • db065eb pool: a resent env PATCH repairs a failed guest write (#299)
  • d0d7006 pool: engine batches leave a quarter of the refill budget to refills (#318)
  • b778c66 pool: nodes of a meta_store cell share one API-applied pool set (#312)
  • 98ea42a release: v0.1.16 version bumps
  • e2bce47 sandboxd, silkd: per-claim env, delivered into the guest or kept host-side for egress secrets (#268)
  • 9f48458 sandboxd: PATCH /v1/sandboxes/{id}/env merges entries, so a control plane never resends host-only values (#271)
  • c7d6b69 sandboxd: a claim's egress leaves through its own upstream proxy; optional per-connection byte usage (#282)
  • 33413ec sandboxd: an egress_internal_allow entry can name ports (#277)
  • 6a07d5a sandboxd: manage tenants at runtime through /v1/tenants, persisted like pools.json (#286)
  • d5d7887 sandboxd: per-claim credential injection (#301), streamed egress responses, TLS resumption, egress in the cluster digest (#302)
  • 809db18 sandboxd: reload the config without a restart (SIGHUP, POST /v1/config/reload) (#293)
  • 81bedce sandboxd: tenants behind tenants.Source, with a shared PostgreSQL backend (meta_store) (#295)
  • 731a39e sandboxd: tenants reference a config-owned egress class (egress_class on the tenant API) (#294)
  • 62140f7 sdk/go: WithEnv claims an env; Env, SetEnv and PatchEnv read and change it (#283)
  • 1d79741 sdk/go: an upload sizes its buffer to a small payload and fills each frame before sending it (#316)
  • 61abc9a sdk/go: send the first frames with the agent upgrade request over plain HTTP (#322)
  • 92099e7 sdk/python: a handle's first call sends info and its request together (#329)
  • 789507b sdk/python: a parked connection's liveness check works above fd 1024 (#319)
  • 721d80b sdk/python: send the first frames with the agent upgrade request over plain HTTP (#324)
  • 7b42af9 server: a relay's client-to-guest copy lets the kernel splice instead of holding a 256 KiB buffer (#317)
  • 12e1544 server: bound buffered exec output by a node-wide byte budget (#267)
  • 237a5b8 silkd: a write creates its temp file in one blocking-pool hop (#325)
  • ee57a18 silkd: exec resolves a bare program on PATH so std can posix_spawn it, watch arms off the runtime, the egress relay copies 64 KiB at a time (#320)
  • 29fcd8b store/dir: Metas reads records concurrently (#311)
  • 085c8d3 test(pool): idle-sweep tests wait for the sweep to finish before they end (#310)
  • bed3912 wire, sdk/go: streaming consumers decode bulk frames into one reused buffer (#328)

SDKs

  • Go: go get github.com/cocoonstack/sandbox/sdk/go@v0.1.16
  • Python: pip install cocoonstack-sandbox (adapters: cocoonstack-sandbox-openai, cocoonstack-sandbox-langchain)