Force cursor-agent egress through node2 SOCKS5 via local CONNECT bridge
build-and-push / build (push) Successful in 8m40s

The Bun-based cursor-agent only honors http://-scheme HTTP(S)_PROXY values
and silently ignores socks5(h):// — with the pod's socks5h env it egressed
directly. Add devbox-proxy-bridge (loopback HTTP CONNECT -> node2 SOCKS5),
run it supervised from the entrypoint, and shadow cursor-agent/agent with a
wrapper that points at the bridge (fail-loud, no bypass). CI path triggers
updated for the new files.
This commit is contained in:
Ubuntu
2026-09-27 09:48:55 +00:00
parent e0ca7b1a56
commit 90c6b6c425
6 changed files with 258 additions and 0 deletions
+2
View File
@@ -37,6 +37,8 @@ spec:
value: socks5h://node2-socks5.egress-proxy.svc.clusterset.local:1080
- name: HTTPS_PROXY
value: socks5h://node2-socks5.egress-proxy.svc.clusterset.local:1080
- name: NO_PROXY
value: localhost,127.0.0.1,::1,.svc,.svc.cluster.local,.svc.clusterset.local
securityContext:
allowPrivilegeEscalation: true
capabilities: