Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

always return the exit code from a test command #87

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

dfrankland
Copy link
Member

Never ever succeed when a test command fails


Ok(EXIT_SUCCESS)
Ok(exit_code)
Copy link
Contributor

Choose a reason for hiding this comment

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

wouldn't this fail on the customer's end? I thought we wanted to avoid that. I am likely missing some context here though

Copy link
Member Author

Choose a reason for hiding this comment

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

If the customer's test command fails we need to bubble up their error exit code

Copy link

trunk-staging-io bot commented Aug 23, 2024

✅ 22 passed ⋅ (learn more)

settingsdocs ⋅ learn more about trunk.io

Copy link

@acatxnamedvirtue acatxnamedvirtue left a comment

Choose a reason for hiding this comment

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

don't really know if I understand rust or the context well enough, but it seems reasonable to me

@dfrankland dfrankland merged commit efbc92a into main Aug 23, 2024
8 checks passed
@dfrankland dfrankland deleted the dylan/always-return-exit-code-from-test-command branch August 23, 2024 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants