Repository navigation
ci: pin rust2-surface-check success with an explicit exit 0 - #1565
Merged
Merged
Conversation
The check's substance was green on the last run (PE machine headers match per arch, rust2=ON, true/false behavior correct) but the step still exited 1: pwsh steps propagate the LAST native command's $LASTEXITCODE, and the probe helpers leave a stale 1 behind after all assertions pass. Pin the success path.
Merged
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.
Cherry-pick of the surface-check exit fix from the closed #1554 branch (build/rust2-ci-packaging @ 637c293) — it never reached main because #1554 was closed, and today's #1564 merge run re-manifested the failure: the surface check printed "RUST2 SURFACE CHECK: consistent — x64 0x8664 + arm64 0xAA64, rust2=ON, commands=true;false, toolchain=1.99.1" with every assertion green, then the step exited 1 anyway.
Cause: pwsh steps propagate the LAST native command's $LASTEXITCODE; the probe helpers (rustc queries, file tests) leave a stale 1 behind after all assertions pass. The fix pins the success path with an explicit
exit 0.