diff options
| author | aur-build <aur-build@localhost> | 2026-11-19 15:45:38 +0000 |
|---|---|---|
| committer | aur-build <aur-build@localhost> | 2026-11-19 15:45:38 +0000 |
| commit | 8dcdce879b51b19603d8163d8a9bfb5f61ff1558 (patch) | |
| tree | 57ba7dee86414eaf24de114a1df8209149e7b5bd /src/watch/upstream.rs | |
| parent | ec80c312b80ba51271fff0548c6d1e293d373455 (diff) | |
| download | aur-build-8dcdce879b51b19603d8163d8a9bfb5f61ff1558.tar.gz aur-build-8dcdce879b51b19603d8163d8a9bfb5f61ff1558.zip | |
sandbox: agent-sandbox is a backend now, and nerdctl is gone
`sandbox_backend` was a string and `backend_for` matched it with `_ => loopback`,
so the documented Kata backend was unreachable from configuration: a hub told to
use agent-sandbox would have quietly built untrusted PKGBUILDs as its own user.
The kind now parses, validates, and produces a real `KataBackend` over
`K8sSandboxProvisioner`, with the CR's `runtimeClass`, `activeDeadlineSeconds`,
nonce, image and cluster coordinates all traced back to the config that produced
them.
Kata shares a *backend* per configuration rather than only a listener: it routes
each dial-in by the nonce in its `Hello` into a map that belongs to it, so two
backends on one address would each see half the dial-ins and neither could
complete a rendezvous. The cache key is a digest of the distinguishing fields so
the token and bearer are not copied into a second place.
The containerd/`nerdctl` payload builder is deleted rather than left unused. It
was a second deployment shape with no provisioner, no config path and no live
tier — a builder that advertises a route the configuration refuses is worse than
no builder, because someone will eventually assume the route exists. DESIGN.md
now names one provisioning shape, which is the one that exists.
Diffstat (limited to 'src/watch/upstream.rs')
0 files changed, 0 insertions, 0 deletions
