Skip to content

Add error statuses #1271

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

Merged
merged 1 commit into from
May 14, 2020
Merged

Add error statuses #1271

merged 1 commit into from
May 14, 2020

Conversation

ehmicky
Copy link
Contributor

@ehmicky ehmicky commented May 13, 2020

Part of #1223.

This creates statuses for every plugin that errors. Those statuses are meant to be shown in the UI deploy summary.

The statuses are created using the same logic as the one used to print errors in build logs, with few differences to make them fit better in the UI deploy summary context.

Note that this PR does not have tests yet: in a follow-up PR, I will add the statuses API call, which will make testing this PR much easier. I will add some tests then. The currently existing tests are passing though, so this should not break anything in the meantime.

@ehmicky ehmicky added the type: feature code contributing to the implementation of a feature and/or user facing functionality label May 13, 2020
@ehmicky ehmicky requested a review from erezrokah May 13, 2020 17:18
@ehmicky ehmicky self-assigned this May 13, 2020
@ehmicky ehmicky merged commit 583a253 into master May 14, 2020
@ehmicky ehmicky deleted the feat/error-status branch May 14, 2020 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants