Repository navigation
WIP: ci: Windows tests compile check lane + visible cli-tests job (#2176) - #2186
Merged
Merged
Conversation
) - Add a check-only windows-latest job compiling the whole tests/ tree for x86_64-pc-windows-msvc (cargo check --tests, nothing executed): no lane compiled the tests tree for Windows, which is how the #2163 targets stayed broken invisibly. - Move cli_tests out of its continue-on-error step in the rust job into its own job with no continue-on-error, so its failures show as a red named check on every PR. Not a required gate yet -- the suite is red on master -- and it runs --no-fail-fast so each run is a complete failure census for the #2176 failure-budget ledger.
caomengxuan666
marked this pull request as ready for review
October 30, 2026 08:37
This was referenced Oct 30, 2026
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.
Refs #2176 — CI structure only (
.github/workflows/ci.yml, +74/−5). No test or product code changes.1. New check-only Windows lane:
Windows tests compile checkNew job
windows-tests-check(windows-latest, 20 min cap), runs onpull_requestand on master pushes like every other ci.yml job:cargo check --tests --target x86_64-pc-windows-msvc— compiles the whole tests/ tree for Windows, executes nothing.Until now no lane did this: the windows-latest regression job runs
--lib,--test regressionand single pin targets only, which is exactly how the six integration targets in #2163 stayed Windows-broken invisibly. Toolchain setup follows the existing cross-target jobs (dtolnay toolchain with an explicittargets:list); the target triple is named explicitly so the lane keeps checking MSVC even if the runner image's host default moves.2. cli_tests out of the silent lane:
Compatibility CLI testscli_testsmoves out of itscontinue-on-errorstep inside therustjob into its own jobcli-tests(ubuntu-latest, same bashdb fixture preparation and nextest install as before), with no continue-on-error — a failure now appears as a red named check on every PR instead of a green job.Deliberately visible but not gating:
Summary 27/472 tests run: 25 passed, 2 failed/error: test run failed/ exit code 100, with nextest's default fail-fast cancelling the remaining 445 tests. The two named failures are both bashdb_compat fixture-path failures (bash_compat_debugger_options_run_init_file_before_script,bashdb_debug_nested_shell_preserves_typeset_array_quotes). Making the check required today would block every PR on pre-existing failures.--no-fail-fast, so each PR gets a complete failure census rather than a first-failure abort — the census is the starting input for the failure-budget ledger proposed in [CI] tests/ 树无 Windows 编译门 + cli_tests 静默 lane——补 check-only Windows lane 与失败预算 #2176 (anchored to the [CI][Windows] master 尖端 25039770 红灯:6 个集成测试目标编译失败(unix-only 导入未门控)+ 149 个存量运行失败 #2163 Windows full re-run). Once the census reaches zero, this job can be promoted to a required check with a branch-protection change (outside YAML).Expected CI behavior on this PR
Windows tests compile check: green (the [CI][Windows] master 尖端 25039770 红灯:6 个集成测试目标编译失败(unix-only 导入未门控)+ 149 个存量运行失败 #2163 cfg gating already landed; if a straggler target surfaces, that is this lane's first catch and will be reported, not fixed here — this PR changes no code).Compatibility CLI tests: red by design — it must list the master failure census; any failure NOT in the master census would be a regression to explain.rustjob no longer spends time on the cli_tests step.Verification and full evidence: cluster REPORT (fix-2176-ci-lanes).