Repository navigation
native/ is removed: the engine is the pinned cliffvm release (#1143) - #1186
Merged
Merged
Conversation
…re (CI, Docker, page tests, dist, scripts); the browser build is scripts/build_wasm.sh (#1143)
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.
Step 4 of the cliffvm move (the plan is in chedim/cliffvm README.md). The engine's source was identical in
native/srcand chedim/cliffvm; the 90 pack-tied tests moved toseat-tests/in #1185, the other 70 engine tests live in cliffvm's own CI.What changes
native/is deleted.validate.yml): thecargojob is gone (cliffvm runs the engine tests); theseatjob from the seat's pack-tied tests move to seat-tests/, on the pinned cliffvm release (#1143) #1185 stays; thejsandhajobs download the pinned release (scripts/dist/fetch_cliffvm.sh) instead of buildingnative/; thewasmjob (a warning, not a gate) runsscripts/build_wasm.sh.docker.yml): the product version comes frompyproject.toml; the pull-request dist is built around the pinned release;--versionin 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 againstnative/Cargo.tomlis gone (the wheel's version ispyproject.toml's).scripts/dist/build.shno longer builds:--binis required (--targetis gone with the build).scripts/build_wasm.shclones cliffvm at the tagv$(cat CLIFFVM_VERSION)and runs its ownbuild-web.sh, then copies the three files into the page'sui/folder (the committed wasm is unchanged here).membrane/launcher.py,scripts/seat,tests/ha/realseat.pyand the page tests take the engine fromCLIFFVM,CLIFFVM_BINorCLIFFVM_DISTand no longer look innative/target.seat-testsreads the engine'ssrc/,packs/andtests/from the cliffvm crate itself (common::engine_dir(), throughcargo metadata) where it readnative/.native/<path>becamecliffvm:<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-testscontracts,no_real_ollama_1143,storage_1143and the earlierhelp_1143,specs. Not run locally: the page tests (Chrome),tests/ha, the Docker job andrelease_verify_1143(its path-traversal probe now asks forseat-tests/Cargo.toml); CI is their first run here.Known
native/in old entries: history, not edited.wasmjob needs network access to github.com/chedim/cliffvm at the pinned tag; it is a warning, not a gate.