refactor(compute): register compiled drivers - #2786
Open
drew wants to merge 14 commits into
Open
Conversation
drew
requested review from
a team,
derekwaynecarr,
mrunalp and
sjenning
as code owners
August 18, 2026 07:48
drew
marked this pull request as draft
August 18, 2026 07:49
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
🌿 Preview your docs: https://nvidia-preview-pr-2786.docs.buildwithfern.com/openshell |
9 tasks
drew
force-pushed
the
refactor/2417-compute-driver-registry/drew
branch
2 times, most recently
from
August 19, 2026 01:26
0074c73 to
86c96e0
Compare
drew
force-pushed
the
refactor/2417-compute-driver-registry/drew
branch
from
August 19, 2026 03:12
86c96e0 to
75af6cc
Compare
|
Label |
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
drew
force-pushed
the
refactor/2417-compute-driver-registry/drew
branch
from
August 19, 2026 04:09
0862fc2 to
5e3695f
Compare
drew
marked this pull request as ready for review
August 19, 2026 04:51
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
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
Replace the gateway's closed-world compute-driver selection with an explicit compiled-driver registry modeled after SQLx's
Anydriver installation. Theopenshell-gatewaybinary crate owns first-party driver composition, leavingopenshell-serverandopenshell-coreindependent of compute-driver implementations. The same drivers can also run as external binaries over the public compute-driver RPC contract.Related Issue
Part of #2417.
Stacked on #2744.
Changes
ComputeDriverRegistry,ComputeDriverRegistration, andComputeDriverFactorycomposition APIsopenshell-gatewayas the standard binary/composition crate and gate first-party registrations behindin-tree-compute-driversopenshell-gatewayand update build, release, deployment, and development referencesopenshell-serverComputeDriverKindand compute-backend construction details fromopenshell-coreComputeDriverKind,ComputeDriverFeature, and compute-driver implementation leakage inopenshell-coreandopenshell-serverdocs/content remains unchangedProcess identity is not configurable and does not use registration metadata or a driver capability. Omitted identity fields remain omitted for every driver by default. This PR adds no public protobuf messages or gateway configuration fields.
Kubernetes terminology remains in server code only where the server itself implements Kubernetes API authentication, certificates, or credential storage—not compute backend construction or lifecycle behavior.
Testing
mise run pre-commitbash e2e/no-compute-driver-gateway.shcargo test -p openshell-gateway(16 passed)smoke, 1 passed)Checklist