Repository navigation
fix(ci): repair MSVC checks and preserve case execution reports - #698
Merged
LunaStev merged 13 commits intoSep 23, 2026
Merged
Conversation
Fixes wavefnd#693 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#694 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#579 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#671 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#695 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#696 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#462 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#576 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#697 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#692 Signed-off-by: LunaStev <[email protected]>
Signed-off-by: LunaStev <[email protected]>
Signed-off-by: LunaStev <[email protected]>
Signed-off-by: LunaStev <[email protected]>
Open
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
Repair Windows MSVC CI checks and preserve actionable case results when builds, probes, or programs fail. The first ten commits address one issue each in dependency order; three follow-up commits repair failures exposed by the Windows CI run.
Motivation
The existing checks could fail for fixture configuration reasons, hide later independent evidence, or produce reports that did not distinguish compilation from runtime success. Each issue is addressed in its own commit:
Target and compatibility impact
Changes affect CI workflows and Python validation/reporting tools. Compiler language behavior and target ABIs are unchanged. Case JSON reports retain summary and test results while adding documented selection, phase, and diagnostic fields. QEMU and WebAssembly jobs upload separate compile and runtime reports.
Display names now follow a consistent operation/OS/architecture/mode convention; job IDs and artifact/toolchain spellings remain stable. Repository protection and rulesets were checked: no required status-check contexts currently need renaming.
Validation
python3 -m unittest tools.test_check_msvc_native tools.test_diagnose_windows_arm64 tools.test_case_execution tools.test_run_tests tools.test_process_tree tools.test_runtime_selection tools.test_runtime_cases tools.test_case_manifest tools.test_test_contracts: 74 tests, 73 passed and one Windows-only test skipped on Linux.windows-11-vs2026-armrunner suppressed; optional shellcheck and pyflakes integrations were disabled.git diff --checkpassed.Actual Windows MSVC, QEMU, and WebAssembly execution remains for GitHub CI. No full Cargo build or Windows VM validation was repeated for these Python/workflow changes.
Windows CI follow-up
The first CI run exposed three additional failures in the existing acceptance paths. The follow-up commits canonicalize temporary fixture paths before comparing resolved DLL providers (Windows may expose an 8.3
RUNNER~1alias), distinguish nested delayed-import symbol records from DLL records inllvm-readobjoutput, and give the MSVC codegen fixtures their own standard-library installation. Missing, duplicate, and truncated import records still fail inspection.Validation for the follow-up:
python3 -m unittest tools.test_windows_package tools.test_msvc_package_tools tools.test_run_tests tools.test_check_msvc_native tools.test_diagnose_windows_arm64.msvc_native_fixtures_compile_and_arm64_hfas_match_clangtest passed withcargo test --locked --no-default-features --features llvm-target-core64 --jobs 2 --test codegen_regressions msvc_native_fixtures_compile_and_arm64_hfas_match_clang -- --exact(local LLVM 21.1.8 prefix configured).cargo fmt --all --check, andgit diff --checkpassed.The updated native Windows CI run remains the end-to-end validation. No separate issues were created for these follow-up fixes.
ARM64X runtime follow-up
The subsequent run passed every check except Windows ARM64 package acceptance. Its report shows a successful detached build followed by rejection of the installed
vcruntime140.dllduring import inspection. LLVM emits an additionalHybridObjectview for ARM64X binaries; the inspector now validates that wrapper and its import records while resolving dependencies from the native PE view. ARM64EC-only imports do not become native ARM64 dependencies. Existing PE machine checks and malformed-import rejection remain in force.python3 -m unittest tools.test_windows_package tools.test_msvc_package_tools tools.test_run_tests, including hybrid regular/delayed imports and malformed wrappers.Checklist
Signed-off-byline.std/.