Repository navigation
Hive Commons (CNCF Sandbox) integrated Substrate as an opt-in coding-agent sandbox runtime — results + a few asks #3807
Andy Anderson (clubanderson)
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi Substrate folks 👋 — I'm Andrew (CNCF Hive Commons, Sandbox project). We just landed Agent Substrate as an opt-in 4th sandbox runtime for Hive's coding-agent kicks, alongside Podman, Kubernetes Jobs and OpenShell, and I wanted to share what we did, what we measured, and ask a few things.
Links: epic hivecommons/hive#17695 · code #17741 (merged) · ADR‑0026 phase‑2 docs #17745 · preflight prover #17766 · prototype notes #17697
Integration choices (v1.0.0, Control API over gRPC):
SuspendActorinstead of delete when the operator opts intosnapshot_on_idle.atenet-routerwith a projected podCertificate (mTLS CONNECT).TlsPassthroughtogithub.com/api.github.comonly; the actor never holds a token — Hive does all writes after the kick.PodCertificateRequest/ClusterTrustBundleAPIs, kernel floor and router mTLS before any kick.Prototype (kind 1.37 · gVisor · 1 node · your published v1.0.0 images):
git clonehttp://1.1.1.1403 ✓ ·https://1.1.1.1TLS reset ✓Preflight found two bugs on our side in minutes (egress policy needs
metadata.atespace;RemoveAllon a durableDir mount → EBUSY), so thank you for the strict validation.Asks / questions:
PodCertificateRequestfor managed control planes — LKE, OKE and our CI clusters (k8s 1.34–1.36) don't servecertificates.k8s.io/v1beta1and we can't flip the gates. An SA‑token‑only (or cert‑manager / SPIRE) mode forpodcertificate-controllerwould unblock every managed cluster we run.api.github.com), and guidance on resume‑after‑suspend latency expectations for warm reuse.Happy to contribute any of these, and to add a Substrate lane to https://hivecommons.dev/benchmarks/ so per‑runtime cold/warm numbers are public. Thanks for building this!
All reactions