Skip to content

fix(driver-mxc): implement authenticate_sandbox trait method - #3158

Merged
pimlock merged 1 commit into
NVIDIA:mainfrom
jeffmaury:fix/3155-mxc-authenticate-sandbox/jeffmaury
Sep 3, 2026
Merged

fix(driver-mxc): implement authenticate_sandbox trait method#3158
pimlock merged 1 commit into
NVIDIA:mainfrom
jeffmaury:fix/3155-mxc-authenticate-sandbox/jeffmaury

Conversation

@jeffmaury

Copy link
Copy Markdown
Contributor

🏗️ build-from-issue-agent

Summary

Add the missing authenticate_sandbox method to the MXC driver's ComputeDriver impl, fixing the compilation error introduced by commit 9b6d904. The method returns Status::unimplemented, matching the Docker and Podman drivers, since the MXC driver advertises supports_sandbox_authentication: false.

Related Issue

Closes #3155

Changes

  • crates/openshell-driver-mxc/src/grpc.rs: Added AuthenticateSandboxRequest/AuthenticateSandboxResponse imports and implemented authenticate_sandbox returning Status::unimplemented("mxc does not authenticate sandbox credentials")

Deviations from Plan

None — implemented as planned. The supports_sandbox_authentication field in driver.rs was already present (set to false), so only the trait method in grpc.rs needed adding.

Testing

  • mise run pre-commit passes (proto:lint failure is pre-existing Windows env issue)
  • cargo check -p openshell-driver-mxc compiles cleanly
  • cargo test -p openshell-driver-mxc — all 75 tests pass (27 unit + 48 integration, 9 ignored as expected)

Tests added:

  • Unit: N/A — one-line unimplemented stub behind a capability gate; matches Docker/Podman pattern which also don't test their stubs
  • Integration: N/A
  • E2E: N/A

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

Documentation updated:

  • None needed — mechanical trait conformance fix with no user-facing behavior change

Closes NVIDIA#3155

Add the missing authenticate_sandbox method to the ComputeDriver impl
for the MXC driver. The method returns Status::unimplemented, matching
the Docker and Podman drivers, since the MXC driver advertises
supports_sandbox_authentication: false.

Signed-off-by: Jeff MAURY <jmaury@nvidia.com>
Signed-off-by: Jeff MAURY <jmaury@redhat.com>
@copy-pr-bot

copy-pr-bot Bot commented Sep 3, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@jeffmaury jeffmaury mentioned this pull request Sep 3, 2026
3 tasks
@johntmyers

Copy link
Copy Markdown
Collaborator

/ok to test 59d9d57

@pimlock
pimlock enabled auto-merge September 3, 2026 17:55
@pimlock
pimlock added this pull request to the merge queue Sep 3, 2026
Merged via the queue into NVIDIA:main with commit 8719874 Sep 3, 2026
57 checks passed
@jeffmaury
jeffmaury deleted the fix/3155-mxc-authenticate-sandbox/jeffmaury branch September 3, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: mxc crate build is broken

3 participants