Repository navigation
Backlog
Labels
area:driversCompute and secret drivers, host OS/architecture support, backend isolation, and lifecycle.topic:architectureSystem design, component boundaries, data/control flow, architectural decisions, and RFCs.
Description
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.ymltasks/scripts/stage-prebuilt-binaries.sh(driver-docker,driver-podmancomponents),package-deb.sh,package-deb-install.shtasks/scripts/release.py(Homebrew formula) andinstall.shdeploy/docker/Dockerfile.gateway, which shipsopenshell-driver-dockerandopenshell-driver-podmanunder/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
desktoprelease alongside a pinned core release. - A single versioned bundle pairs a core release with a
desktoprelease (step 4 of feat: move the desktop compute drivers to the ai-openshell/desktop repository #5200). - Decide whether the gateway image consumes
desktopartifacts 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 fromdesktopartifacts. - The install canary passes on pinned core and
desktopartifacts. - 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.
Metadata
Metadata
Assignees
Labels
area:driversCompute and secret drivers, host OS/architecture support, backend isolation, and lifecycle.topic:architectureSystem design, component boundaries, data/control flow, architectural decisions, and RFCs.
Activity