Skip to content

v0.18.0

Choose a tag to compare

@cw-python-release-helper cw-python-release-helper released this 20 Apr 21:21
· 67 commits to main since this release

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=<csv> 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