Skip to content

feat(gateway): replace per-driver launcher features with driver-launcher - #6035

Open
elezar wants to merge 1 commit into
mainfrom
chore/5965-drop-driver-launcher-features/elezar
Open

elezar wants to merge 1 commit into
mainfrom
chore/5965-drop-driver-launcher-features/elezar

Conversation

@elezar

@elezar elezar commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes the compute-driver-docker, compute-driver-podman and compute-driver-vm Cargo features from openshell-gateway. Since #5914 those drivers run as separate binaries launched by the gateway, so the features only toggled launcher code and cfg gates. The gateway now has a single driver-launcher feature, enabled by in-tree-compute-drivers. The same drivers are launchable at runtime.

  • Removes the Docker/Podman/VM feature gates in lib.rs, launcher.rs, local_driver.rs, the launcher tests and tests/config_preflight.rs. The only per-driver cfg left is driver-launcher, needed so Kubernetes-only builds don't reference the launcher modules.
  • in-tree-compute-drivers enables driver-launcher, so defaults-without-telemetry still matches default minus telemetry (rust:verify:defaults-without-telemetry passes).
  • branch-checks.yml: the core job now covers no features, driver-launcher and Kubernetes; the extended job covers MXC. The Windows selective-test loop uses driver-launcher.
  • docs/observability/telemetry.mdx explains the replacement for people building from source.

Removed, not aliased

The issue allows a one-release deprecated alias. I removed the features instead. Cargo cannot print a deprecation warning, so an alias would silently keep --features compute-driver-podman working while still implying a gateway without that driver, which is the confusion this issue describes. A packager using the old flags now gets an immediate "unknown feature" error, and the docs name the replacement (driver-launcher). Easy to switch to aliases if reviewers prefer.

Testing

  • cargo clippy --all-targets -D warnings is clean for default features and for --no-default-features with each of none, driver-launcher, compute-driver-kubernetes, defaults-without-telemetry and telemetry.
  • rust:verify:defaults-without-telemetry passes.
  • Not run locally: nextest, because linking needs z3, which isn't installed here. CI covers it.
  • Not run locally: the Windows build.

Closes #5965
Related to #5200, #5384

The Docker, Podman and VM drivers run as separate binaries, so the
compute-driver-docker, compute-driver-podman and compute-driver-vm
features no longer select any linked code. Remove them and gate the
launchers on driver-launcher alone, which in-tree-compute-drivers now
enables. Update the feature matrix, the Windows selective test loop and
the source-build docs.

Closes #5965
Related to #5200, #5384

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 27, 2026
@github-actions

Copy link
Copy Markdown

@elezar elezar added the test:e2e Requires end-to-end coverage label Nov 27, 2026
@elezar
elezar marked this pull request as ready for review November 27, 2026 17:42
@elezar
elezar requested a review from a team as a code owner November 27, 2026 17:42

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:accepted A maintainer decided OpenShell should pursue this issue test:e2e Requires end-to-end coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(gateway): remove the per-driver launcher Cargo features

1 participant