Skip to content

feat: build, package, and release the desktop drivers from packages #6042

Backlog

Description

@elezar

Part of #5200.

User Story

As an OpenShell Maintainer I want the packaging and release machinery for the Docker, Podman, and VM drivers to consume binaries built in ai-openshell/desktop so that core releases do not build or sign the drivers.

Problem Statement

Core's release and packaging workflows build the drivers from the core workspace and install them next to the gateway. Step 3 of #5200 describes the move in one line. These files carry driver build and packaging steps:

  • .github/workflows/release-dev.yml, release-publish.yml, package-release-binaries.yml
  • .github/workflows/build-binaries-linux.yml, build-binaries-macos.yml
  • .github/workflows/deb-package.yml, build-rpm.yml, snap-package.yml
  • tasks/scripts/stage-prebuilt-binaries.sh (driver-docker, driver-podman components), package-deb.sh, package-deb-install.sh
  • tasks/scripts/release.py (Homebrew formula) and install.sh
  • deploy/docker/Dockerfile.gateway, which ships openshell-driver-docker and openshell-driver-podman under /usr/libexec/openshell

The work lands in the ai-openshell/packages repository; this issue tracks it from core.

Impact / Why This Matters

Without this, the drivers can move to desktop but every core release still has to build them, and a desktop release cannot reach users.

Proposed Design

To be confirmed with the packages owners:

  • Each package format installs the driver binaries from a pinned desktop release alongside a pinned core release.
  • A single versioned bundle pairs a core release with a desktop release (step 4 of feat: move the desktop compute drivers to the ai-openshell/desktop repository #5200).
  • Decide whether the gateway image consumes desktop artifacts or the image moves with the drivers.
  • Keep the install layout (/usr/libexec/openshell) and driver discovery (driver_dir, standard locations, beside the gateway) unchanged for users.

Acceptance Criteria

  • Each of deb, rpm, snap, Homebrew, install.sh, and the gateway image installs the three drivers from desktop artifacts.
  • The install canary passes on pinned core and desktop artifacts.
  • Core release workflows no longer build the drivers (done together with the removal in chore: remove the linked desktop drivers from core #5391).

Open Questions

  • Who owns the version-pair bundle and the bot that opens bump PRs?
  • Is the gateway image built from core or from packages?

Alternatives Considered

  • Keep building the drivers in core releases from a vendored copy. Avoids the bundle but keeps core compiled against the drivers.

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