Skip to content

bug: mxc crate build is broken #3155

Description

@jeffmaury

User Story

As a developer working on OpenShell, I want the openshell-driver-mxc crate to compile successfully, so that I can build and test the full project on Windows.

Problem Statement

The openshell-driver-mxc crate fails to compile after commit 9b6d904 ("delegate sandbox authentication to drivers") introduced the authenticate_sandbox method on the ComputeDriver trait and added a supports_sandbox_authentication field to GetCapabilitiesResponse. The mxc driver was not updated to implement the new trait method or include the new field.

Impact / Why This Matters

Any developer attempting to build the full workspace or specifically the mxc crate hits a compile error, blocking all mxc-related development and testing on Windows. There is no workaround short of manually patching the code locally.

Acceptance Criteria

  • cargo check -p openshell-driver-mxc compiles without errors
  • ComputeDriverService implements the authenticate_sandbox trait method
  • GetCapabilitiesResponse initializer includes the supports_sandbox_authentication field

Reproduction Steps

  1. Check out the main branch at or after commit 9b6d904e
  2. Run cargo check -p openshell-driver-mxc
  3. Observe two compilation errors:
    • E0046: missing authenticate_sandbox in ComputeDriver impl (grpc.rs:36)
    • E0063: missing field supports_sandbox_authentication in GetCapabilitiesResponse (driver.rs:302)

Environment

  • OpenShell: main branch @ 9b6d904e
  • OS: Windows 11 Enterprise 10.0.26200
  • Rust: 1.95.0 (59807616e 2026-04-14)

Logs

error[E0046]: not all trait items implemented, missing: `authenticate_sandbox`
  --> crates\openshell-driver-mxc\src\grpc.rs:36:1
   |
36 | impl ComputeDriver for ComputeDriverService {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `authenticate_sandbox` in implementation

error[E0063]: missing field `supports_sandbox_authentication` in initializer of `GetCapabilitiesResponse`
   --> crates\openshell-driver-mxc\src\driver.rs:302:9
    |
302 |         GetCapabilitiesResponse {
    |         ^^^^^^^^^^^^^^^^^^^^^^^ missing `supports_sandbox_authentication`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:triage-neededOpened without agent diagnostics and needs triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions