ReleaseCoreWeaveCoreWeavepublished Apr 20, 2026seen Jun 26

coreweave/cwsandbox-client v0.18.0

coreweave/cwsandbox-client

Open original ↗

Captured source

source ↗
published Apr 20, 2026seen Jun 26captured 8hhttp 200method plain

v0.18.0

Repository: coreweave/cwsandbox-client

Tag: v0.18.0

Published: 2026-04-20T21:21:17Z

Prerelease: no

Release notes:

v0.18.0 (2026-04-20)

_This release is published under the Apache-2.0 License._

Features

  • tests: Pin e2e sandboxes to specific runner(s) (`a8b7e41`)

Engineers rolling out runner-side changes need to verify behavior against only the affected runner(s). Before this, sandbox_defaults left runner_ids=None and every e2e sandbox was auto-scheduled, forcing ad-hoc conftest edits to target a runner.

Add a pytest CLI flag --cwsandbox-runner-ids= and env var CWSANDBOX_TEST_RUNNER_IDS that feed into sandbox_defaults.runner_ids. CLI wins over env; passing the flag empty clears the env for a single invocation. A session-scoped autouse fixture calls list_runners() once to fail fast on unknown IDs, naming the source (CLI vs env) in the error. When no targeting is configured the fixture returns immediately - no discovery call, no added latency, byte-identical to the prior default.

Scope is intentionally narrow: only runner_ids is touched. container_image, resources, tags, and max_lifetime_seconds remain as they were.

---

Detailed Changes: v0.17.0...v0.18.0