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

Set failed check executions as critical #43

Merged
merged 3 commits into from
Apr 27, 2022

Conversation

arbulu89
Copy link
Contributor

Due the way ansible handle callbacks, the code was overwriting some check results, when the ansible task was failing abnormally (for example, when the checked file in some checks don't exist).
This change disables the overwritting.

Besides that, I have changed the check result to a critical state in this case, rather than warning, as it looks something worth checking. What do you think @abravosuse ?

By now, we don't display the error message in the frontend, but in this cases we send it to the server, so at some point we could show it.

Copy link
Contributor

@abravosuse abravosuse left a comment

Choose a reason for hiding this comment

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

Critical works for the time being. I will add an item to the backlog to see if we can introduce something like "failed" in the future.

@arbulu89 arbulu89 merged commit c7a27b7 into trento-project:main Apr 27, 2022
fmherschel pushed a commit to fmherschel/runner that referenced this pull request Apr 28, 2022
* Disable check result overwritting

* Set abnormally failed tasks to critical

* Update python binary path in Dockerfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants