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

Handle better failures on TODO definition and archived Slack channels #63

Merged
merged 8 commits into from
Jun 13, 2023

Conversation

rafaelfranca
Copy link
Member

When enabling smart todos again in our main application I found a bunch of invalid definitions which was causing the CLI to raise an exception without clear indication where the problem was being caused.

In this PR all the errors are now catch and present to the users in the end of the execution with the CLI retuning 1 as status. This will allow us to check for the todo signature on every commit.

I also found some TODOs pointing to channels that were archived, so we need to handle this new status.

Copy link
Member

@shioyama shioyama left a comment

Choose a reason for hiding this comment

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

Haven't tried to tophat it, but changes LGTM

@rafaelfranca rafaelfranca merged commit e72acbd into main Jun 13, 2023
@rafaelfranca rafaelfranca deleted the rm-fail-on-errors branch June 13, 2023 00:19
@shopify-shipit shopify-shipit bot temporarily deployed to production June 13, 2023 00:21 Inactive
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.

3 participants