Repository navigation
Stabilize pre-beta runtime checks and native release packages - #843
Merged
Merged
Conversation
Signed-off-by: LunaStev <[email protected]>
Open
Signed-off-by: LunaStev <[email protected]>
Signed-off-by: LunaStev <[email protected]>
Signed-off-by: LunaStev <[email protected]>
Signed-off-by: LunaStev <[email protected]>
Signed-off-by: LunaStev <[email protected]>
Signed-off-by: LunaStev <[email protected]>
Signed-off-by: LunaStev <[email protected]>
Signed-off-by: LunaStev <[email protected]>
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.
Summary
Complete the final v0.2.1-pre-beta stabilization batch and require all nine native distributions in CI, release, and Nightly. Fix macOS versioned LLD provisioning and transitive dylib bundling, correct the LoongArch LLD build target, and replace the RISC-V emulated compiler build with an amd64 cross-build plus QEMU package execution.
0.2.1-pre-betaand retain std compatibility revision 5.Motivation
Nightly exposed missing or mismatched packaging dependencies, while RISC-V compilation under emulation made builds excessively slow. The release also lacked a native FreeBSD compiler archive and the remaining selected runtime/tooling safeguards.
Closes #791
Closes #530
Closes #646
Closes #647
Closes #638
Closes #639
Closes #652
Closes #643
Tracked in #832. The roadmap distinguishes merged work from this batch and its pending native CI validation.
Target and compatibility impact
Native distributions: Linux amd64/arm64/riscv64/loongarch64, macOS amd64/arm64, Windows MSVC amd64/arm64, and FreeBSD amd64. Unix archives use tar.gz and Windows archives use zip. FreeBSD uses the approved 14.4 baseline, bundles LLVM 21/LLD and non-system dependencies, and retains base OS libraries as external prerequisites. wasm64 remains a compiler output target rather than a separate SDK archive; existing wasm32 coverage is preserved.
No language or C ABI changes. Windows ready-event delivery becomes fair across successive waits. Manifest validation rejects case paths outside the selected suites. Patch verification requires a clean starting repository and checks every patch-series commit's DCO trailer. Release metadata describes dependency requirements; missing package dependencies fail validation with diagnostics. Nightly retains its existing validated-source publication policy.
Validation
Passed locally:
tools.test_*Python modules: 262 tests, 236 passed and 26 environment-dependent skips; includes the new smoke-host tests and temporary-repository patch-verification tests.cargo +1.89 test --locked --jobs 2 --test native_providers native_provider_os_boundary_failures -- --nocapturewith LLVM 21.cargo +1.89 test --locked --jobs 2 --test native_providers windows -- --nocapturewith LLVM 21; Windows amd64/arm64 object checks, not native Windows execution.x.py release, followed by extracted-package compilation/execution with an isolated HOME/PATH and matching std; object generation and missing-library diagnostics also checked.windows-11-vs2026-armrunner label; shell syntax, Python compilation,cargo +1.89 fmt --all --check, andgit diff --check.Pending CI: the new FreeBSD VM and RISC-V distribution builds, plus native macOS/Windows package execution. Local mocks and cross-object checks do not establish those native results. The workflows now include distribution acceptance jobs for all nine packages. No release has been published by this change.
Initial CI failures and follow-up
Commit
f9e88182addresses the seven failed jobs from run 37025858466:Added regressions pass locally. Native/VM/cross-distribution validation of this follow-up remains pending the new CI run; no failing check was disabled.
Published LLVM SDK validation
Both LLVM 21.1.8 r1 SDKs are now available at https://wave-lang.dev/toolchains. Their complete public downloads match the sizes and SHA-256 values committed in
tools/ci/llvm_bundles.json; public checksum sidecars match as well. Website delivery uses the Git-deployedtoolchains/directory. The nine LLVM bundle regression tests pass locally.The standalone SDK builds validated target tools under QEMU and repeated validation after extraction at a different prefix. The new PR CI run validates their use in complete RISC-V64 and LoongArch64 compiler distributions; SDK validation alone does not establish that end-to-end result.
CI follow-up: ca0cc96
Addresses the five failed jobs in run 37114923891:
Validation: 62 Python tests and 11 Node smoke-host tests passed; the seven DCO tests reproduce the original two failures under GNU Bash 3.2 and all pass after the fix. Cargo check and a compiler build with LLVM 21 passed locally. Native macOS/FreeBSD and complete cross-distribution acceptance remain for the new CI run.
Package acceptance follow-up: 261d82a
Run 37116193978 passed macOS and the complete RISC-V64 distribution. The remaining two failures were in extracted-package checks:
wavec run. The C-provider smoke now useswavec build <source> <object> --run. Timestamped guest phase messages and unbuffered Python output make long VM stages visible.--sysrootexplicitly; QEMU's loader prefix alone does not configure Wave's linker search paths.Validation: 33 Python tests (including both cross-target sysroot checks), 11 Node tests, generated guest shell syntax, and a real local C-object build/run using paths with spaces passed. Final FreeBSD and LoongArch64 package acceptance remains pending the new CI run.
FreeBSD build reuse: 19aa516
Run 37118458634 passed every job, including native FreeBSD and LoongArch64 package acceptance. This follow-up reduces repeat FreeBSD setup/build work:
Validation: 57 Python tests and 11 Node tests passed, including real qemu-img flatten/restore after deleting the original backing disk, cache invalidation, and no cache publication after acceptance/shutdown failure. All three workflow YAMLs and generated guest shell scripts parse. No local VM build was rerun. The first CI run must populate the cache; actual warm-run timing remains to be measured.
Checklist
Signed-off-byline.std/.