Skip to content

spike: confirm the desktop repo builds the drivers against a pinned core dependency #6040

Backlog

Description

@elezar

Part of #5200.

User Story

As an OpenShell Maintainer I want the desktop drivers to exist in their own repository so that their ownership and maintenance can be considered separately to core OpenShell. The first step is to know that the drivers build in ai-openshell/desktop against a pinned core revision.

Problem Statement

#5200 imports the Docker, Podman, and VM driver crates into ai-openshell/desktop with a pinned git dependency on core's platform crates (openshell-core, openshell-isolation-interface, openshell-sandbox-backend, openshell-otel, openshell-driver-sdk, openshell-driver-launch). ai-openshell/desktop#2 is a proof of concept. It is not yet recorded what else the move needs. The driver crates use workspace = true for many dependencies (roughly 33 to 39 entries each) and inherit version, edition, rust-version, and lints from the core workspace. Whether core's proto generation works when the crates are consumed through a git dependency is also unconfirmed.

Impact / Why This Matters

If the pinned build does not work, the import stalls, or desktop carries patches against core that nobody tracks.

Proposed Design

Confirm, and write down, how desktop builds the drivers against a pinned core revision:

  • the core pin (a SHA or a release tag), where it is recorded, and who bumps it and how;
  • how the desktop workspace reproduces core's workspace dependency versions, lints, edition, and rust-version;
  • proto generation and any build scripts that expect the core workspace layout;
  • Cargo.lock handling and whether a patch section is needed;
  • how a core change to openshell-core internals that the drivers use (proto::compute, sandbox_env, resource_admission, sandbox_generation, jwt) is detected before it breaks desktop.

Reorganising the contracts the drivers use (#5456) is out of scope and stays a follow-up.

Acceptance Criteria

  • The three driver crates build and pass their unit tests in desktop against the pinned core revision.
  • The pin and the bump process are documented in desktop.
  • Differences between the core and desktop workspaces that the build needs are listed.

Alternatives Considered

Activity

  1. added
    area:drivers
    topic:architecture
    on Nov 27, 2026
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

    area:driverstopic:architecture

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions