Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/sandbox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ RUN --mount=type=cache,target=/home/agent/.cargo/registry,uid=1001,gid=1001,shar
--mount=type=cache,target=/home/agent/.cargo/git,uid=1001,gid=1001,sharing=locked \
--mount=type=cache,target=/home/agent/.cache/harness-server-target,uid=1001,gid=1001,sharing=locked \
CARGO_TARGET_DIR=/home/agent/.cache/harness-server-target \
cargo install --locked --path /opt/centaur/harness-server-src --root /home/agent/.local
cargo +stable install --locked --path /opt/centaur/harness-server-src --root /home/agent/.local

# No RUN instructions after these — all repo-local content at the very end.
COPY --link --chown=1001:1001 .agents/skills/ /home/agent/.agents/skills/
Expand Down
9 changes: 9 additions & 0 deletions services/sandbox/test_runtime_version_floors.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ def test_sandbox_keeps_cross_architecture_development_tools() -> None:
assert required in source


def test_harness_server_build_uses_stable_rust() -> None:
source = DOCKERFILE.read_text(encoding="utf-8")

assert (
"cargo +stable install --locked --path /opt/centaur/harness-server-src "
"--root /home/agent/.local"
) in source


def test_node_tools_opt_in_to_the_sandbox_proxy_without_dropping_options() -> None:
source = ENTRYPOINT.read_text(encoding="utf-8")

Expand Down
Loading