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

chore(cli)!: Remove graceful flag & behavior #1275

Merged
merged 1 commit into from
May 29, 2022
Merged

Conversation

phated
Copy link
Member

@phated phated commented May 28, 2022

This removes the --graceful/-g flag and removes the "graceful" exit behavior. I don't actually think this is necessary/useful and it just makes boilerplate more cluttered.

@phated phated requested a review from a team May 28, 2022 21:44
Copy link
Member

@marcusroberts marcusroberts left a comment

Choose a reason for hiding this comment

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

Looks like an improvement to me!

Copy link
Member

@peblair peblair left a comment

Choose a reason for hiding this comment

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

This looks good, but @phated can you maybe put a blurb here on GH for why this doesn't break the tests? My understanding was we needed -g for the test suite.

@phated
Copy link
Member Author

phated commented May 29, 2022

can you maybe put a blurb here on GH for why this doesn't break the tests? My understanding was we needed -g for the test suite.

I actually don't know this for sure. I believe it is a flag from a bygone era that we don't need since @ospencer refactored the process spawning. Now, it not only collects stdout and stderr, but it also checks status codes. I'll double check with him to ensure this is the correct answer.

@ospencer
Copy link
Member

Yup, that's correct! In fact, -g isn't even used by grain run anymore somehow (which is what the test runner uses). Should be safe to remove 👍

@phated phated force-pushed the phated/remove-wrap-action branch from aacc67b to 04155ea Compare May 29, 2022 18:32
@phated phated merged commit df55898 into main May 29, 2022
@phated phated deleted the phated/remove-wrap-action branch May 29, 2022 20:50
@github-actions github-actions bot mentioned this pull request May 29, 2022
@github-actions github-actions bot mentioned this pull request May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants