feat(gateway): add elevated gateway info#2202
Open
elezar wants to merge 1 commit into
Open
Conversation
62b489b to
8fb2782
Compare
|
🌿 Preview your docs: https://nvidia-preview-pr-2202.docs.buildwithfern.com/openshell |
addc9c5 to
decd2c0
Compare
Signed-off-by: Evan Lezar <elezar@nvidia.com>
decd2c0 to
6345c48
Compare
TaylorMutch
approved these changes
Jul 10, 2026
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
Add an elevated gateway info surface for live runtime metadata, including the initialized compute driver name and driver-reported capability snapshot.
openshell statusnow remains aligned withmain: it uses the existingHealthRPC and HTTP fallback behavior. Runtime driver details are exposed throughopenshell info, backed by the admin-gatedGetGatewayInfoRPC.Related Issue
None.
Related PRs
openshell statusas part of broader CLI structured-output work. This PR no longer changesopenshell statusoutput.Changes
GetGatewayInfowith gateway version, service status, and initialized compute driver info.openshell info -o table|json|yaml.openshell statusto the behavior present onmain.Testing
mise run pre-commitpassesAttempted
devenv shell -- mise --cd /home/elezar/dev/OpenShell run pre-committhrough the host devenv at~/.dotfiles/devenvs/openshell; it fails in this environment due to:helm:lint: chart metadata missing dependencypostgresqlrust:check/rust:lint:sqlx_macrosdynamic library requiresGLIBC_2.39test:rust:openshell-supervisor-networkprocess identity shared-socket test failedAdditional checks run:
nix develop -c cargo fmt --allnix develop -c cargo check -p openshell-cli --testsnix develop -c cargo check -p openshell-server --testsnix develop -c cargo check -p openshell-core --testsnix develop -c cargo test -p openshell-cli gateway_info_json -- --nocapturenix develop -c cargo test -p openshell-cli info_accepts_output_json -- --nocapturenix develop -c cargo test -p openshell-server --lib every_proto_rpc_has_an_annotation -- --nocapturenix develop -c cargo test -p openshell-server --lib every_annotated_path_matches_a_real_rpc -- --nocapturegit diff --checkManual smoke check against a branch-local Docker gateway:
{ "auth": null, "compute_drivers": [ { "capabilities": { "driver_name": "docker", "driver_version": "29.2.1" }, "name": "docker" } ], "gateway": "info-dev", "server": "http://127.0.0.1:19080", "status": "healthy", "version": "0.0.80-dev.7+g8fb2782a" }Checklist