-
Notifications
You must be signed in to change notification settings - Fork 29
OCPBUGS-51267: Fix an issue in the ComplianceScan controller #685
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
OCPBUGS-51267: Fix an issue in the ComplianceScan controller #685
Conversation
🤖 To deploy this PR, run the following command:
|
@Vincent056 Did this issue manifest in any way? Did you notice any strange behavior? |
yes, I noticed the issues in the log, something like we were not able to apply the changes to object because it has being modified |
@Vincent056: This pull request references Jira Issue OCPBUGS-51267, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
We were doing two updates without re‐fetching. This fixs it.
b1b7b22
to
01df89b
Compare
🤖 To deploy this PR, run the following command:
|
@Vincent056 Without this PR, I can see the "Cannot update the scan with the check count" error log. With this PR, the error log disappears.
##Error logs with this PR.
|
🤖 To deploy this PR, run the following command:
|
🤖 To deploy this PR, run the following command:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhmdnd, Vincent056 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
cc: @mkumku @sheriff-rh @xiaojiey @BhargaviGudi for px, qe, and doc ack. |
/test e2e-aws-parallel |
/label qe-approved |
e1ca625
into
ComplianceAsCode:master
@Vincent056: Jira Issue OCPBUGS-51267: Some pull requests linked via external trackers have merged: The following pull requests linked via external trackers have not merged: These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with Jira Issue OCPBUGS-51267 has not been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
We were doing two updates without re‐fetching. This fixes it by ensuring we re-fetch before going to do the next step.
This will help with the stability of the controller logic.