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

fix(risectl): exit with non-zero code when there's an error #15325

Merged
merged 5 commits into from
Mar 5, 2024

Conversation

BugenZhao
Copy link
Member

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.

What's changed and what's your intention?

In refactor PR #15158, the non-zero exit code on error was accidentally removed for risectl. This unexpected change may cause issues with things like CI workflows. Thanks @zwang28 for bringing this to our attention in #15320.

Checklist

  • I have written necessary rustdoc comments
  • I have added necessary unit tests and integration tests
  • All checks passed in ./risedev check (or alias, ./risedev c)

Documentation

  • My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note

If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

@github-actions github-actions bot added the type/fix Bug fix label Feb 28, 2024
@BugenZhao BugenZhao enabled auto-merge March 1, 2024 05:57
@BugenZhao BugenZhao added this pull request to the merge queue Mar 5, 2024
Merged via the queue into main with commit a835506 Mar 5, 2024
26 of 27 checks passed
@BugenZhao BugenZhao deleted the bz/ctl-error-exit-code branch March 5, 2024 08:09
@BugenZhao BugenZhao mentioned this pull request Mar 6, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/fix Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants