Conversation
`cargo test` ran on Linux alone, while `release.yml` ships `x86_64-pc-windows-msvc`. What Windows CI measured was that the crate builds and prints its version. That is worse than measuring nothing. The job went green, so the run went green, and a green run reads as *Windows passes* -- the ground for it appears nowhere in the output. A claim taken from how the measuring was done rather than from what was measured. The first thing it finds was already known to one person who had run the suite by hand. `a_first_segment_that_reads_as_a_drive_letter_is_ disambiguated` asked a question with two right answers: `c:/a.rs` names a directory called `c:` in a POSIX checkout and the root of a drive on Windows, `std::path` says so, and the SARIF location follows -- under `%SRCROOT%` with a `./` on one system and under no base on the other. The implementation was right on both. The test held one system's answer, and nothing had ever asked the other. It now asks each. A second case pins `under_source_root` itself, because both halves of the first would pass if that function simply stopped answering. The step is skipped on Linux, where the `rust` job already runs it with the two switches that turn a skip into a failure. Neither may be set here: they are read with `is_some`, so `OCOMMENT_REQUIRE_FORMATTERS: "0"` would demand the formatters rather than excuse them. `sync_parent` is split by system rather than guarding its body, so the Windows build stops warning about a parameter the arm that does nothing cannot use. Taken from an abandoned branch.
P4suta
enabled auto-merge (squash)
September 19, 2026 11:38
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 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 |
This branch has not been deployed
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.
cargo testran on Linux alone, whilerelease.ymlshipsx86_64-pc-windows-msvc. What Windows CI measured was that the crate builds and prints its version:That is worse than measuring nothing. The job went green, so the run went green, and a green run reads as Windows passes. The ground for that reading appears nowhere in the output — a claim taken from how the measuring was done rather than from what was measured.
What it finds immediately
a_first_segment_that_reads_as_a_drive_letter_is_disambiguatedasked a question with two right answers.c:/a.rsnames a directory calledc:in a POSIX checkout, and the root of a drive on Windows.std::pathsays so:components()yields twoNormals there and aPrefixhere. Being under the source root follows from that, and so does the SARIF location —%SRCROOT%with a leading./on one system, no base id on the other.The implementation was right on both. The test held one system's answer, and nothing had ever asked the other. It now asks each.
A second case pins
under_source_rootitself, because both halves of the first would pass if that function simply stopped answering.The step
Added to
host-smoke, which already builds on all three systems, rather than as a new job. Skipped on Linux, where therustjob runs it with the two switches that turn a skip into a failure.Neither switch may be set here. They are read with
is_some, soOCOMMENT_REQUIRE_FORMATTERS: "0"would demand the formatters rather than excuse them — which the first draft of this did.Also
sync_parentis split by system instead of guarding its body, so the Windows build stops warning about a parameter the arm that does nothing cannot use. Taken from #61, an abandoned branch; that PR can close.Verification
cargo xtask preflight: 30 steps green.max_lines = 8, the second because two adjacent# NOTE:blocks are one run.