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

control-service: clear execution fail alert when failing with user error #850

Merged
merged 3 commits into from
Jun 1, 2022

Conversation

mrMoZ1
Copy link
Contributor

@mrMoZ1 mrMoZ1 commented May 31, 2022

what: Bugfix on internal logic which dictates when a retried status can change.
Previously statuses which had Platform Error could not be changed, but in some
edge cases when a job is retried with the same execution-id (pod retried but
execution id remains the same in control-service) and the subsequent run fails
due to user error that status would remain the same in the DB.

why: This bug was noticed during normal operation of control-service.

testing: Added unit test that reproduces the issue.

Signed-off-by: Momchil Zhivkov mzhivkov@vmware.com

Signed-off-by: mrMoZ1 <mzhivkov@vmware.com>
Signed-off-by: mrMoZ1 <mzhivkov@vmware.com>
@mrMoZ1 mrMoZ1 enabled auto-merge (squash) June 1, 2022 07:20
@mrMoZ1 mrMoZ1 merged commit 9dfd89f into main Jun 1, 2022
@mrMoZ1 mrMoZ1 deleted the person/mzhivkov/execution-alert branch June 1, 2022 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants