Skip to content

Fix enqueing the same revision while reconciling#1614

Merged
matheuscscp merged 1 commit intomainfrom
skip-enqueue-reconciling
Mar 10, 2026
Merged

Fix enqueing the same revision while reconciling#1614
matheuscscp merged 1 commit intomainfrom
skip-enqueue-reconciling

Conversation

@matheuscscp
Copy link
Copy Markdown
Member

xref: fluxcd/helm-controller#1429

We traced the behavior reported in the issue back to the enqueue functions: they skip enqueue when the object is Ready=True and the revision matches. This should also happen if Reconciling=True. This check works because the object is patched with the attempted revision on the beginning of the reconciliation. Note that there's still a (very) small window where the object is not patched yet in which the issue can still happen.

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
@matheuscscp matheuscscp added bug Something isn't working backport:release/v1.8.x To be backported to release/v1.8.x labels Mar 10, 2026
Copy link
Copy Markdown
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

@matheuscscp matheuscscp merged commit cef64a4 into main Mar 10, 2026
7 checks passed
@matheuscscp matheuscscp deleted the skip-enqueue-reconciling branch March 10, 2026 19:25
@fluxcdbot
Copy link
Copy Markdown
Member

Successfully created backport PR for release/v1.8.x:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:release/v1.8.x To be backported to release/v1.8.x bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants