ci: type-check Windows runtime on every PR - #11016
proggeramlug wants to merge 3 commits into
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe lint workflow now installs and verifies cargo-xwin, restores and saves its MSVC sysroot cache, and runs a Windows-target type-check for ChangesWindows CI type-check
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature · Severity of issue fixed: Medium Suggested reviewers: Merge Risk: ⚪ Minimal · up to The required Windows type-check is wired into the PR lint gate and is mergeable with normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Landed on main in merge train 257 (#11039, v0.5.1640), main Carried at head This train was split by blast radius after an earlier 35-PR assembly hit five gap regressions: it carries only PRs touching no lowering path. Trains rebase-merge, so commits get new SHAs and GitHub cannot mark this merged. Closed as landed. |
Summary
lintstep that runscargo xwin checkforperry-runtimeandperry-stdlibonx86_64-pc-windows-msvc, giving every PR a signal forcfg(windows)type errors.Fixes #10986.
Verification
perry-runtimeandperry-stdlib, and was followed by a successful formatting step.#[cfg(windows)] const _: u8 = "type error";inperry-runtimemade the same command exit 101 withE0308, proving it can fail on Perry source; the probe was then reverted.actionlint -ignore 'SC2086|SC2012|SC2129' .github/workflows/test.yml(the ignored findings are four pre-existing shellcheck findings elsewhere in the workflow)python3 scripts/ci_plan.py --self-testpython3 scripts/gc_gate_wiring_check.pyscripts/check_file_size.shgit diff --checkSummary by CodeRabbit