Commit Graph
2 Commits
Author SHA1 Message Date
sam e80b18208e feat(connectors): pick a local or remote runtime for every extension
Track 2 of the enterprise readiness plan. Extensions now start through a
Runtime: RemoteGRPCRuntime dials an endpoint the operator mapped, over mTLS for
TCP, and LocalNamespaceRuntime runs the verified binary in its own user and
network namespace. A mapped endpoint is the only runtime that may serve that
extension, so a broken endpoint refuses instead of quietly falling back to a
subprocess.

Local availability is checked instead of assumed: user and network namespace
limits read from /proc/sys/user report a stage that disabled them, which is what
restricted Pod Security Standards and hardened kernels do. A host where the
chosen runtime cannot run refuses the extension and names why both runtimes
declined, so the operator learns to configure a remote endpoint.
2026-11-27 21:04:49 +11:00
sam 95ce309b3a fix(connectors): leave a package with no declared egress on the host's network
Confining it was pointless: the relay the namespace exists for is only started
when egress is non-empty, so the package got loopback and a proxy address
nothing served. Any client honouring the proxy variables then reported a dial
refused at the relay rather than reaching the host it was configured for.

Fixes #2152.
2026-11-27 20:06:45 +11:00