fix(macos-container): remove --rm from agent run so commit can export
lint / lint (push) Failing after 1m36s
test / unit (pull_request) Successful in 32s
test / integration (pull_request) Successful in 17s

container stop was removing the container immediately (due to --rm)
before container export could run. The force_remove_container teardown
callback on the ExitStack already handles cleanup on normal exit, so
--rm was redundant. Without it, the stopped container stays available
for container export to snapshot.
This commit is contained in:
2026-06-23 07:59:09 +00:00
parent d5762fa9d8
commit f2f82910c9
@@ -329,7 +329,6 @@ def _agent_run_argv(
"container", "run",
"--name", plan.container_name,
"--detach",
"--rm",
"--network", internal_network,
]
for entry in _agent_env_entries(plan, sidecar_ip):