Repository navigation
Conversation
Delete the Docker, Podman and VM compute driver crates, the shared container-runtime crate, the VM scripts and tasks, the kernel release workflow and the Docker and Podman gateway configs. These now live in ai-openshell/desktop. Prune Cargo.lock and the deny.toml wrappers, and point the architecture table and driver docs at the new repository. Packaging, release workflows, e2e wrappers and tmachine still build or ship the driver binaries from core and are left for follow-up changes (#6042, #6044). Refs: #5200 Signed-off-by: Evan Lezar <elezar@nvidia.com>
|
🌿 Preview your docs: https://nvidia-preview-pr-6194.docs.buildwithfern.com/openshell |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Do not merge until
This is a draft. Merging it now would break packaging, release, and CI, because core still builds and ships the driver binaries from the crates this PR deletes. Merge only when every item below holds.
packagesbuilds, packages, and releases the Docker, Podman, and VM driver binaries fromdesktop. Core release workflows, deb, rpm, snap, Homebrew,install.sh, and the gateway image stop building them from core. Not done.desktopCI. Open.desktopor split. Several are still open (for example fix(docker): run images without passwd or group files desktop#19 is the first port in flight), and this deletion would conflict with them.Frozen Pathsguard (ci: freeze desktop driver paths while they move to ai-openshell/desktop #6124, merged 2026-12-02). The latest stable release, v0.1.11 (2026-12-01), predates the guard; the next stable tag must contain it.tmp:migrateto this PR, or relaxes the guard. Deletions already passFrozen Paths.Already met: the gateway launches the drivers as subprocesses (#5914), core's reverse dependencies on the crates and the per-driver Cargo features are gone (#6023, #6035), and
ai-openshell/desktopholds the imported crates onmain(imported at core v0.1.11; the proof-of-concept PR desktop#2 was closed without merging, so confirm the import revision is the one the freeze recorded).What this PR removes
crates/openshell-driver-docker,crates/openshell-driver-podman,crates/openshell-driver-vm,crates/openshell-container-runtimee2e/configs/gateway/docker.toml,e2e/configs/gateway/podman.toml,tasks/vm.toml,tasks/scripts/vm,.github/workflows/release-vm-kernel.ymlCargo.lock(regenerated; 4 workspace crates and their now-unused third-party dependencies drop out) anddeny.toml(sha2wrappers, theoci-clientwrapper and comment mention)AGENTS.mdarchitecture rows and the driver README links indocs/extensibility/{drivers,overview}.mdx, now pointing atai-openshell/desktopThe gateway launcher (
crates/openshell-gateway/src/{docker,podman,vm,launcher,local_driver}.rs) stays. It launches the external binaries by name and does not depend on the crates. TheFrozen Pathsconfig also stays; it keeps the deleted paths from being re-added.What this PR leaves for later, and why
Everything below still names the deleted crates or the binaries built from them. Removing or stubbing it here would only hide that core cannot yet get the driver binaries from
desktop..github/workflows/{build-binaries-linux,build-binaries-macos,build-vm-driver-linux,build-vm-driver-macos,package-release-binaries,release-build,release-dev,release-publish,deb-package,build-rpm,snap-package}.yml,.github/actions/setup-e2e-vm-driver,deploy/docker/Dockerfile.gateway,openshell.spec,snapcraft.yaml,install.sh,tasks/scripts/{stage-prebuilt-binaries,package-deb,package-deb-install,release,docker-build-image,test-packaging-assets}.sh/.pyand the Homebrew formula,deploy/packaging assets..github/workflows/branch-e2e.yml,e2e-vm-test.yml,e2e/with-docker-gateway.sh,e2e/with-podman-gateway.sh,e2e/rust/e2e-vm.sh,e2e/no-compute-driver-gateway.sh,tasks/scripts/gateway-{docker,podman,vm}.sh,tests/suites/features/docker-updates.tests/tmachine/{artifacts,config}.nixand theopenshell_external_driverAnsible role build the drivers with-p openshell-driver-*.docs/observability/{telemetry,traces}.mdxanddocs/how-it-works/gateways/configuration.mdxmention the driver binaries and build commands (cargo build -p openshell-driver-vm); they need rewording once packaging is decided. Alsorfc/0001-core-architecture,skills/debug-openshell-cluster/SKILL.md,nix/test-guest/README.md,.agents/skills/build-openshell-mxc-windows/reference.md(--exclude openshell-driver-vm), andcrates/openshell-crypto/{CRYPTO,README}.md.crates/openshell-gateway/tests/config_preflight.rsreferences the driver binary names only as strings; it still passes.Verification
Done, on this branch:
cargo checkandcargo clippy --workspace --all-targets -- -D warningspass.cargo metadata --lockedaccepts the regeneratedCargo.lock.cargo fmt --check.python3 tasks/scripts/check_frozen_paths.py --base origin/main --head HEAD: deletions pass.tasks/scripts/check_frozen_paths_test.py(9 pass).Not done:
cargo testforopenshell-gatewayandopenshell-supervisor-network: the test binaries did not link on the author's machine (library 'z3' not found), and a retry undernix developproduced no result. Run them in CI.Expected to fail today:
cargo build -p openshell-driver-*and stage the resulting binaries, so with this PR they cannot produce the driver binaries until feat: build, package, and release the desktop drivers from packages #6042 lands.deny.tomlwas edited butcargo denywas not run.