Skip to content

native/ is removed: the engine is the pinned cliffvm release (#1143) - #1186

Merged
chedim merged 3 commits into
mainfrom
step4-delete-native
Nov 18, 2026
Merged

chedim merged 3 commits into
mainfrom
step4-delete-native

Conversation

@chedim

@chedim chedim commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Step 4 of the cliffvm move (the plan is in chedim/cliffvm README.md). The engine's source was identical in native/src and chedim/cliffvm; the 90 pack-tied tests moved to seat-tests/ in #1185, the other 70 engine tests live in cliffvm's own CI.

What changes

  • native/ is deleted.
  • CI (validate.yml): the cargo job is gone (cliffvm runs the engine tests); the seat job from the seat's pack-tied tests move to seat-tests/, on the pinned cliffvm release (#1143) #1185 stays; the js and ha jobs download the pinned release (scripts/dist/fetch_cliffvm.sh) instead of building native/; the wasm job (a warning, not a gate) runs scripts/build_wasm.sh.
  • Docker (docker.yml): the product version comes from pyproject.toml; the pull-request dist is built around the pinned release; --version in the image is checked against the engine's version (CLIFFVM_VERSION), as the smoke test of the release binaries already does. publish.yml: the check against native/Cargo.toml is gone (the wheel's version is pyproject.toml's).
  • scripts/dist/build.sh no longer builds: --bin is required (--target is gone with the build). scripts/build_wasm.sh clones cliffvm at the tag v$(cat CLIFFVM_VERSION) and runs its own build-web.sh, then copies the three files into the page's ui/ folder (the committed wasm is unchanged here). membrane/launcher.py, scripts/seat, tests/ha/realseat.py and the page tests take the engine from CLIFFVM, CLIFFVM_BIN or CLIFFVM_DIST and no longer look in native/target.
  • seat-tests reads the engine's src/, packs/ and tests/ from the cliffvm crate itself (common::engine_dir(), through cargo metadata) where it read native/.
  • Docs, comments, README and AGENTS.md: native/<path> became cliffvm:<path> (a file of github.com/chedim/cliffvm; docs/README.md says so); the interim rule to change the engine in both repositories is gone.

Checked locally (macOS arm64, the fetched cliffvm 0.1.1): tests/wrapper (111 passed, 4 skipped); seat-tests contracts, no_real_ollama_1143, storage_1143 and the earlier help_1143, specs. Not run locally: the page tests (Chrome), tests/ha, the Docker job and release_verify_1143 (its path-traversal probe now asks for seat-tests/Cargo.toml); CI is their first run here.

Known

  • CHANGELOG.md still says native/ in old entries: history, not edited.
  • The wasm job needs network access to github.com/chedim/cliffvm at the pinned tag; it is a warning, not a gate.

@chedim
chedim merged commit 3ed1fcb into main Nov 18, 2026
34 checks passed
@chedim
chedim deleted the step4-delete-native branch November 18, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant