ci: eliminate hosted runner test flakes - #102
Merged
Merged
Conversation
Count allocations only on the measured test thread, and read Linux CPU flags without a pipe that can fail under pipefail.
Omit unused test debug metadata on the native RISC-V lane and allow enough time for its uncached all-features build and execution.
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
Root causes
The PR head and squash-merged commit have identical Git trees. The first post-merge failures were nondeterministic test infrastructure: process-wide allocation counting observed unrelated harness allocations, while
sed | headcould terminatesedwith SIGPIPE underpipefail.The follow-up PR run proved both fixes, then timed out in the required RISC-V lane before tests began. Cargo Rail 0.25.0 has no
riscv64gc-unknown-linux-gnurelease archive, so that lane correctly remains cache-disabled and must support a complete cold all-features build.Validation
fullstd,fullcargo clippy --locked --workspace --all-targets --no-default-features --features std,full -- -D warningsjust check-actionsjust checkjust push