Skip to content

fix: resolve native CI regressions and preserve independent checks - #686

Merged
LunaStev merged 6 commits into
wavefnd:masterfrom
LunaStev:fix/remaining-native-ci-failures
Sep 22, 2026
Merged

LunaStev merged 6 commits into
wavefnd:masterfrom
LunaStev:fix/remaining-native-ci-failures

Conversation

@LunaStev

@LunaStev LunaStev commented Sep 22, 2026 •

Copy link
Copy Markdown
Member

Summary

Repair the remaining native CI failures and keep independent regression results visible when another check fails:

  • Isolate compiler-path platform mocks from pathlib, preserve timeout diagnostics by avoiding a second process-group termination, and select native MSVC targets for executable frontend regressions.
  • Gate POSIX-only timeout symbols during standalone Windows corpus checks. Normalize Darwin fork's parent/child result registers and supply XNU's buffer-space nonblocking flag for raw timed sends.
  • Establish actual bounded TCP backpressure before asserting a timeout, verify subsequent socket recovery and peer-observed bytes, and report fixture phases and values on stderr.
  • Keep Windows GNU and native ARM64 post-build checks running after unrelated failures, with build/cancellation guards and no failure suppression.

Motivation

The observed native jobs failed on target selection, host-platform mocking, Darwin syscall behavior, timeout cleanup, and assumptions in the send fixture. Subsequent independent checks were sometimes skipped, hiding useful results.

Closes #575
Closes #632
Closes #633
Closes #634
Closes #635
Closes #636
Closes #637
Closes #669
Closes #684
Closes #685

Target and compatibility impact

Affects macOS amd64/arm64 raw process/socket providers and native Windows validation. Public Windows default-target behavior is unchanged. No libc FFI is introduced, no regression is removed or newly skipped, and existing CI failures remain mandatory failures.

The Darwin changes follow Apple's raw fork result convention and XNU's separate send-buffer lock/space flags. The first PR CI run passed both native macOS jobs, Windows GNU/MSVC x64, and all Wave Cases checks. The native Windows ARM64 job stopped at Clippy because the new frontend helper lacked its callers' feature guard; the follow-up commit adds that guard. Native Windows ARM64 runtime confirmation remains pending the new CI run.

Validation

  • cargo test --locked --workspace --all-targets --no-default-features --features llvm-target-core64 --jobs 2: 205 passed.

  • cargo clippy --locked --workspace --all-targets --no-default-features --features llvm-target-core64 --jobs 2 -- -D warnings: passed.

  • python3 -m unittest tools.test_check_case_sources tools.test_case_execution tools.test_case_manifest tools.test_test_contracts tools.test_process_tree tools.test_check_msvc_native tools.test_msvc_package_tools: 62 tests, OK (one existing native-Windows-only skip).

  • WAVE_TEST_COMPILER="$PWD/target/debug/wavec" WAVE_TEST_TARGET=x86_64-unknown-linux-gnu python3 -m unittest tools.test_std_io_runtime: 23 passed.

  • Windows GNU x64 and MSVC ARM64 cross-target corpus checks: 280 passed per target. Darwin amd64/arm64 fork and timed-send fixtures generate IR and objects at O0/O2.

  • cargo fmt --all -- --check, ./tools/check_std_policy.sh, Python syntax checks, workflow YAML/guard checks, and git diff --check: passed.

  • cargo test --locked --workspace --all-targets --jobs 2: 216 passed with default features.

  • cargo clippy --locked --workspace --all-targets --jobs 2 -- -D warnings, RUSTDOCFLAGS="-D warnings" cargo doc --locked --workspace --no-deps --jobs 2, and cargo build --locked --release --jobs 2: passed.

  • python3 tools/check_wave_corpus.py --wavec target/release/wavec --run-std-examples: 280 corpus checks and 26 executed examples passed.

  • ARM64 Clippy follow-up: cargo clippy --locked --all-targets --no-default-features --features llvm-target-aarch64 --jobs 2 -- -D warnings reproduced the failure before the fix and passed afterward. The equivalent core64 Clippy command passed; frontend suites passed with AArch64-only (9 tests) and core64 (16 tests) features on Linux.

Checklist

  • Commits include a DCO Signed-off-by line.
  • Tests cover new behavior or the PR explains why no test is needed.
  • User-facing changes include documentation or diagnostics updates.
  • The change preserves the license boundary between the compiler and std/.

Keep pathlib on the real host while testing compiler launch policies. Refs wavefnd#684.

Signed-off-by: LunaStev <[email protected]>
Preserve timeout diagnostics after successful cleanup and keep initial termination errors visible. Refs wavefnd#685.

Signed-off-by: LunaStev <[email protected]>
Select the host MSVC ABI for executable regressions while preserving explicit cross-target and default-target checks. Refs wavefnd#669.

Signed-off-by: LunaStev <[email protected]>
Scope POSIX timeout symbols to supported targets, normalize Darwin fork returns, and make raw Darwin sends nonblocking under backpressure. Exercise saturation, recovery, fork/wait behavior, and actionable fixture diagnostics. Refs wavefnd#632, wavefnd#633, wavefnd#634, wavefnd#635, and wavefnd#636.

Signed-off-by: LunaStev <[email protected]>
Run post-build checks despite unrelated validation failures, retain prerequisite and cancellation guards, and collect all Rust test binary results. Refs wavefnd#575 and wavefnd#637.

Signed-off-by: LunaStev <[email protected]>
@LunaStev LunaStev added bug A problem that causes incorrect behavior or crashes. ci GitHub CI or CI labels Sep 22, 2026
Match the existing core64/all feature guards on executable frontend tests so AArch64-only Clippy does not fail on an unused helper. Reproduced with llvm-target-aarch64 and verified strict Clippy plus frontend tests for AArch64-only and core64 configurations.

Signed-off-by: LunaStev <[email protected]>
@LunaStev
LunaStev merged commit e6467b9 into wavefnd:master Sep 22, 2026
27 checks passed
@LunaStev LunaStev mentioned this pull request Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment