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

Adding task error output to indicate tasks ran, but with errors #1236

Merged
merged 7 commits into from
Jun 21, 2022

Conversation

scalvert
Copy link
Contributor

@scalvert scalvert commented Jun 21, 2022

Adds output to indicate whether the task ran with non-fatal errors or not.

This was a regression when we swapped over from standard output writing to Ink. This change includes some updates/changes to that error output.

Example output:

Screen Shot 2022-06-21 at 9 57 53 AM

@scalvert scalvert added the enhancement New feature or request label Jun 21, 2022
@zhanwang626 zhanwang626 self-requested a review June 21, 2022 16:06
@scalvert scalvert changed the title Adding task error output to indicate tasks ran, but with errors WIP: Adding task error output to indicate tasks ran, but with errors Jun 21, 2022
Copy link
Collaborator

@zhanwang626 zhanwang626 left a comment

Choose a reason for hiding this comment

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

Looks good to me! I think it might be better that we add a unit test for TaskError component?

@scalvert
Copy link
Contributor Author

@zhanwang626 I agree. There's a number of components that need tests, and I'd like to add those all in a separate PR. I can add the TaskErrors test in this PR now though!

@scalvert
Copy link
Contributor Author

@zhanwang626 I added a quick sanity check test for TaskErrors.

@zhanwang626 zhanwang626 self-requested a review June 21, 2022 17:18
Copy link
Collaborator

@zhanwang626 zhanwang626 left a comment

Choose a reason for hiding this comment

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

Great work, thanks!

@scalvert scalvert changed the title WIP: Adding task error output to indicate tasks ran, but with errors Adding task error output to indicate tasks ran, but with errors Jun 21, 2022
@scalvert scalvert merged commit d697147 into main Jun 21, 2022
@scalvert scalvert deleted the error-component branch June 21, 2022 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants