feat(gateway): support selective compute driver builds - #3118
Open
drew wants to merge 1 commit into
Open
Conversation
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
drew
requested review from
a team,
derekwaynecarr,
mrunalp and
sjenning
as code owners
September 2, 2026 00:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Allow gateway builders to compile any subset of the Kubernetes, Docker, Podman, and VM compute drivers while preserving the existing all-driver default.
The implementation keeps two gateway composition behaviors that were added after the original issue was written: zero-driver protocol-only builds remain valid, and a built-in driver name that is not compiled in can still resolve to an operator-supplied external driver endpoint.
Related Issue
Closes #1943
Direct maintainer authorization was provided despite the issue's stale lifecycle label.
Changes
compute-driver-kubernetes,compute-driver-docker,compute-driver-podman, andcompute-driver-vmCargo features.in-tree-compute-driversas the default compatibility alias for all four drivers.Testing
mise run pre-commitpasses.cargo clippy -p openshell-server --all-targets --no-default-features --features <driver> -- -D warningspasses for every individual driver and the protocol-only build.cargo test -p openshell-server --libpasses: 1,463 passed, 8 ignored.tasks/scripts/verify-defaults-without-telemetry.shpasses.mise run ciwas also attempted. Its relevant checks passed, but the local machine's system gateway nameddefaultleaks into unrelated gateway-list tests:openshell-cli::completers::gateway_completer_returns_empty_when_no_configand three Go SDK gateway listing tests. These failures reproduce outside this branch's changed packages.Checklist