Commit e0f21e5
fix(agent-runtime): ship ripgrep in the base image (egress-locked sandbox) (#216)
OpenCode's skill tooling shells out to ripgrep. When `rg` is not on PATH it
tries to download a pinned build from github.com at run time. The managed
sandbox has locked-down egress, so that download hangs ~127s and then fails
("Transport error ... BurntSushi/ripgrep/releases/download/15.1.0/..."),
burning run budget on every managed agent run before the agent gets to its
actual work. Observed live: a CEO hire run spent 127s on the failed download,
then ran out of budget during discovery and never reached the hire submit.
The root repo Dockerfile already installs ripgrep; the agent-runtime base
image drifted without it. Add `ripgrep` to the base apt install to restore
parity so OpenCode uses the system binary and never reaches for the network.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 92d1910 commit e0f21e5
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | | - | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
| |||
0 commit comments