-
Notifications
You must be signed in to change notification settings - Fork 6.3k
fix(applicationset_controller): requeue by ApplicationStatus changes #23043
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
Conversation
Signed-off-by: Dmitry Shmelev <Dmitry.Shmelev@jetbrains.com>
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Co-authored-by: rumstead <37445536+rumstead@users.noreply.github.com> Signed-off-by: Dmitry Shmelev <avikez@gmail.com>
It is a shame that progressive syncs rely on requeuing an applicationset CR repeatedly, but I understand why we are doing it to unblock progressive syncs getting stuck. |
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.
Assuming codecoverage and build pass, LGTM
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #23043 +/- ##
==========================================
- Coverage 60.02% 60.00% -0.03%
==========================================
Files 343 343
Lines 57846 57850 +4
==========================================
- Hits 34723 34710 -13
- Misses 20353 20370 +17
Partials 2770 2770 ☔ View full report in Codecov by Sentry. |
…rgoproj#23043) Signed-off-by: Dmitry Shmelev <Dmitry.Shmelev@jetbrains.com> Signed-off-by: Dmitry Shmelev <avikez@gmail.com> Co-authored-by: rumstead <37445536+rumstead@users.noreply.github.com> Signed-off-by: Kanika Rana <krana@redhat.com>
…rgoproj#23043) Signed-off-by: Dmitry Shmelev <Dmitry.Shmelev@jetbrains.com> Signed-off-by: Dmitry Shmelev <avikez@gmail.com> Co-authored-by: rumstead <37445536+rumstead@users.noreply.github.com> Signed-off-by: Oliver Gondža <ogondza@gmail.com>
Will cherry pick these into 3.0 and 2.14 mid next week |
…rgoproj#23043) Signed-off-by: Dmitry Shmelev <Dmitry.Shmelev@jetbrains.com> Signed-off-by: Dmitry Shmelev <avikez@gmail.com> Co-authored-by: rumstead <37445536+rumstead@users.noreply.github.com> Signed-off-by: Lyheng <lyhengtep@gmail.com>
…rgoproj#23043) Signed-off-by: Dmitry Shmelev <Dmitry.Shmelev@jetbrains.com> Signed-off-by: Dmitry Shmelev <avikez@gmail.com> Co-authored-by: rumstead <37445536+rumstead@users.noreply.github.com>
/cherry-pick release-3.0 |
/cherry-pick release-2.14 |
…rgoproj#23043) Signed-off-by: Dmitry Shmelev <Dmitry.Shmelev@jetbrains.com> Signed-off-by: Dmitry Shmelev <avikez@gmail.com> Co-authored-by: rumstead <37445536+rumstead@users.noreply.github.com>
/cherry-pick release-3.0 |
…rgoproj#23043) Signed-off-by: Dmitry Shmelev <Dmitry.Shmelev@jetbrains.com> Signed-off-by: Dmitry Shmelev <avikez@gmail.com> Co-authored-by: rumstead <37445536+rumstead@users.noreply.github.com>
…rgoproj#23043) Signed-off-by: Dmitry Shmelev <Dmitry.Shmelev@jetbrains.com> Signed-off-by: Dmitry Shmelev <avikez@gmail.com> Co-authored-by: rumstead <37445536+rumstead@users.noreply.github.com> Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
…rgoproj#23043) Signed-off-by: Dmitry Shmelev <Dmitry.Shmelev@jetbrains.com> Signed-off-by: Dmitry Shmelev <avikez@gmail.com> Co-authored-by: rumstead <37445536+rumstead@users.noreply.github.com> Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
…rgoproj#23043) Signed-off-by: Dmitry Shmelev <Dmitry.Shmelev@jetbrains.com> Signed-off-by: Dmitry Shmelev <avikez@gmail.com> Co-authored-by: rumstead <37445536+rumstead@users.noreply.github.com>
Thank you @dshmelev |
This PR addresses a case where the ApplicationSet controller does not requeue when an application's status changes. As a result, the sync process may stall and fail to progress to the next step in a progressive sync strategy.
Issue: #22558
Discussion: https://cloud-native.slack.com/archives/C01U45M2SVB/p1746622854063139
Checklist: