mirror of
https://github.com/yashshah9/agentbox.git
synced 2026-11-19 02:16:20 +00:00
Context: - tar.add on directories recursively re-included main.py/main.js that snapshot restore is supposed to skip. - AgentboxClient.raise_for_status turned expected 408 timeouts into opaque httpx errors. - Missing runtimes returned HTTP 200 with exit 127 instead of 400. Test Plan: - docker compose run --rm test - tests/test_api.py::test_snapshot_restore_keeps_workspace_file - tests/test_api.py::test_run_timeout_limit Additional Notes: - health CLI now prints the package version, matching the other five CLIs. - TestClient is used as a context manager to avoid the Starlette lifespan warning path.