Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Move update spec calls to the end of reconciler #505

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

sm43
Copy link
Member

@sm43 sm43 commented Nov 16, 2021

This would resolve some of the flakiness used to occur
while installing Operator. Because of updating the object
in the middle of reconciler, sometime used to get error
the object has been modified; please apply your changes to the latest version and try again
so this moves the update spec call to the end of reconciler.

Signed-off-by: Shivam Mukhade smukhade@redhat.com

Changes

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

This would resolve some of the flakiness used to occur
while installing Operator. Because of updating the object
in the middle of reconciler, sometime used to get error
` the object has been modified; please apply your changes to
the latest version and try again `
so this moves the update spec call to the end of reconciler.

Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Nov 16, 2021
@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 16, 2021
@sm43
Copy link
Member Author

sm43 commented Nov 16, 2021

@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 16, 2021
Copy link
Contributor

@savitaashture savitaashture left a comment

Choose a reason for hiding this comment

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

👍
/lgtm

/hold for others to 👀

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 16, 2021
@tekton-robot tekton-robot merged commit c6a1148 into tektoncd:main Nov 16, 2021
@sm43 sm43 deleted the move-update-api-calls-to-end branch August 19, 2022 05:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants