mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-11-11 10:23:17 +08:00
## Symptom When `<namespace>:<pod-name>` exceeds 107 bytes, `ateom-gvisor` exits with `bind: invalid argument` and the controller surfaces a generic `DeadlineExceeded`. ## Cause Linux limits unix-socket paths to 107 bytes (`sockaddr_un.sun_path`). A pod's ReplicaSet hash can jiggle between 8 and 10 chars across rollouts, so a demo that fits at 8 silently breaks at 10 with no clear error. ## Fix Add `ValidateAteomSocketPath` (with unit tests) and call it from `ateom-gvisor` before the bind, so the operator sees the real cause in the pod log instead of a kernel EINVAL.