Skip to content

1.8: flowey: Fail with a non-zero exit code when local vmm test runs fail (#3956) - #4115

Open
smalis-msft wants to merge 1 commit into
microsoft:release/1.8.2607from
smalis-msft:backport-1.8-pr3956
Open

1.8: flowey: Fail with a non-zero exit code when local vmm test runs fail (#3956)#4115
smalis-msft wants to merge 1 commit into
microsoft:release/1.8.2607from
smalis-msft:backport-1.8-pr3956

Conversation

@smalis-msft

Copy link
Copy Markdown
Contributor

Backport of #3956 to release/1.8.2607.

The cherry-pick of 5e8dfd1 applied cleanly onto release/1.8.2607 with no conflicts and no manual edits.

Original PR: #3956


This backport PR was created by an AI agent (GitHub Copilot) on behalf of @smalis-msft.

…icrosoft#3956)

Easy fix, but makes it easier to detect failures from scripts.

(cherry picked from commit 5e8dfd1)
Copilot AI review requested due to automatic review settings July 31, 2026 17:17
@smalis-msft smalis-msft added the release_1.8.2607 Targets the release/1.8.2607 branch. label Jul 31, 2026
@smalis-msft
smalis-msft requested a review from a team as a code owner July 31, 2026 17:17
@smalis-msft smalis-msft added the release_1.8.2607 Targets the release/1.8.2607 branch. label Jul 31, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This backport changes Flowey’s local “build and run nextest VMM tests” job to return an error when the test run reports failures, ensuring callers (including scripts) observe a non-zero exit status rather than a successful completion with only a logged error.

Changes:

  • Convert the “test failures encountered” path from log::error! to anyhow::bail!, causing the step/job to fail when results.all_tests_passed is false.

@smalis-msft
smalis-msft enabled auto-merge (squash) July 31, 2026 17:20
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_1.8.2607 Targets the release/1.8.2607 branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants