Skip to content

fix: just requeue all conflict errors#4758

Merged
negz merged 1 commit intocrossplane:masterfrom
phisco:dev/conflicts-no-mo
Oct 12, 2023
Merged

fix: just requeue all conflict errors#4758
negz merged 1 commit intocrossplane:masterfrom
phisco:dev/conflicts-no-mo

Conversation

@phisco
Copy link
Copy Markdown
Contributor

@phisco phisco commented Oct 9, 2023

Description of your changes

Fixes #2114.

I went through all the Reconcilers looking at all the places we were emitting warning events on errors and checked whether the error could come from an update of a resource, if so added a check similar to what we already did for crossplane/crossplane-runtime#540.

Took the chance to rename all aliased imports from "apierrors" to "kerrors" as the latter was the prevalent name on master already.

I have:

  • Read and followed Crossplane's contribution process.
  • Added or updated unit and E2E tests for my change.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR, if necessary.
  • Opened a PR updating the docs, if necessary.

Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
@phisco phisco requested a review from sttts October 9, 2023 13:39
@phisco phisco requested review from a team, negz and turkenh as code owners October 9, 2023 13:39
@phisco phisco requested a review from ezgidemirel October 9, 2023 13:39
Copy link
Copy Markdown
Member

@negz negz left a comment

Choose a reason for hiding this comment

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

Thanks for handling this not very fun to do but very impactful change @phisco!

@negz negz merged commit 0928f06 into crossplane:master Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suppress "object has been modified" warning events?

3 participants