Files
OpenShell/tests
Evan Lezar 0b8cd5f222 test(conformance): add SDK-driven testkit and sandbox-lifecycle suite
Add a testkit for black-box conformance tests driven through the Rust SDK,
and a first sandbox-lifecycle suite built on it.

- testkit loads the system under test from a target file named by
  OPENSHELL_TEST_TARGET (gateway endpoint, TLS or mTLS material, bearer
  token, capabilities). mTLS targets get a tonic channel built by testkit
  and passed to OpenShellClient::from_parts, since the SDK does not speak
  mTLS.
- Context tracks every sandbox a test creates and deletes them after the
  test, including on failure or panic; cleanup failures are reported
  separately.
- #[testkit::test] wraps an async fn in a same-named #[tokio::test]. The
  doc comment is the required description, the function name is the test
  ID, and requires = [...] names target capabilities. A test whose
  requirement the target lacks fails rather than passes.
- sandbox-lifecycle adds long_running_exec_delete: create, wait for Ready,
  exec, delete, and confirm the sandbox is gone from get and list.

Pin aws-lc-rs 1.18.0 and aws-lc-sys 0.44.0 to the root workspace versions
so the musl test archive links against the Nix-provided AWS-LC.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2026-10-15 23:05:09 +02:00
..