feat(cli): add openshell conformance subcommand skeleton#2182
Draft
elezar wants to merge 1 commit into
Draft
Conversation
Adds a hidden `openshell conformance` subcommand behind a `conformance` Cargo feature flag. The subcommand connects to a registered gateway and runs a suite of driver-agnostic conformance scenarios, reporting pass/fail per scenario and exiting non-zero on any failure. Implements the `lifecycle` scenario (create → ready → delete) as the first concrete scenario. The remaining five scenarios are stubbed as "not yet implemented" placeholders. Sandbox names follow the `conformance-<scenario>-<run-id>` convention (Kubernetes RFC 1123 safe) to make orphaned sandboxes identifiable. Signed-off-by: Evan Lezar <elezar@nvidia.com>
|
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. |
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
openshell conformancesubcommand behind aconformanceCargo feature flagconformance run(with--filter,--timeout,-o/--outputflags) andconformance listlifecyclescenario (create → ready → delete) as the first concrete conformance scenarioRelated Issue
This is a skeleton PR to accompany the driver conformance suite spike issue. It exists to make the design concrete — not for merge as-is.
Changes
crates/openshell-cli/Cargo.toml— addsconformancefeature flagcrates/openshell-cli/src/main.rs— addsConformancecommand variant andConformanceCommandsenumcrates/openshell-cli/src/run.rs— addsconformance_run,conformance_list,run_scenario, andscenario_lifecycleNotes
openshell-driver-podman/src/container.rs(unused import warning treated as error) exists onmainand is unrelated to this changeconformance-<scenario>-<run-id>convention (Kubernetes RFC 1123 safe, 8-char hex timestamp suffix)conformance listrequires no gateway connection — purely static metadatatokio::time::timeout, default 300sTesting
Not intended to be merged or tested as-is. Accompanies the spike issue.