Skip to content

Secure, Fast, and Extensible Sandbox runtime for AI agents.

merge main: re-apply the integration-env split and pin over the accidental reverts

高然5961f384ebfa
diff --cc tests/python/README.md
index 88f741a1c,9c6b553a5..a0ef34366
--- a/tests/python/README.md
+++ b/tests/python/README.md
@@@ -34,10 -34,10 +34,10 @@@ Credential Vault E2E tests require a re
### Fast-sandbox (fsb) integration env
-`tests/test_fsb_e2e.py` converts the HTTP verify stages of `scripts/fast-sandbox-env/integration-env.sh` (template create → gateway ping → networkpolicy PATCH/DELETE convergence, lifecycle ops, pause/resume, public snapshot round trip) into Python SDK calls. It is skipped unless the fsb stack is up and `OPENSANDBOX_TEST_FSB_TEMPLATE_ID` points at the golden-image template the env script builds, and it is excluded from the default `make test` run:
+`tests/test_fsb_e2e.py` exercises the Python SDK client contract against the live fsb stack, and stays deliberately thin: the deep stack behavior (create wire-up, policy enforcement and update convergence, checkpoint durability and route release, recorded-policy carry across pause/resume and snapshots, vault transfer, idle-pause/wake, artifact pruning) is covered by the shell verify suites under `scripts/fast-sandbox-env/verify/`, which `integration.sh up` chains on every run. The SDK suite is skipped unless the fsb stack is up and `OPENSANDBOX_TEST_FSB_TEMPLATE_ID` points at the golden-image template the env script builds, and it is excluded from the default `make test` run:
```bash
- ./scripts/fast-sandbox-env/integration.sh up # brings up the stack, prints/keeps the template id
+ ./scripts/fast-sandbox-env/integration-env.sh up # brings up the stack, prints/keeps the template id
cd tests/python
OPENSANDBOX_TEST_FSB_TEMPLATE_ID="$(cat "$WORK/template-id")" make test-fsb
```