-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
fix: Populate destination name when destination server is specified #21063
Conversation
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
7017210
to
44ac6c9
Compare
9ef0222
to
666316f
Compare
f469315
to
61a3db6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #21063 +/- ##
==========================================
+ Coverage 55.20% 55.22% +0.02%
==========================================
Files 324 324
Lines 55596 55658 +62
==========================================
+ Hits 30689 30738 +49
- Misses 22285 22288 +3
- Partials 2622 2632 +10 ☔ View full report in Codecov by Sentry. |
56ce4a2
to
728b788
Compare
Signed-off-by: Adrian Aneci <aneci@adobe.com>
2bd2971
to
463e1f9
Compare
Signed-off-by: Adrian Aneci <aneci@adobe.com>
/cherry-pick release-2.13 |
Cherry-pick failed with |
/cherry-pick release-2.12 |
Cherry-pick failed with |
/cherry-pick release-2.11 |
Cherry-pick failed with |
@adriananeci the cherry pick bot seems to fail cherry picking this pr into the release branches. Can you raise separate PRs to cherry pick this change into the relevant branches? |
…rgoproj#21063) * Populate destination name when destination server is specified Signed-off-by: Adrian Aneci <aneci@adobe.com> --------- Signed-off-by: Adrian Aneci <aneci@adobe.com>
Raised #21176 for cherry picking it into 2.13 release branch |
…rgoproj#21063) * Populate destination name when destination server is specified Signed-off-by: Adrian Aneci <aneci@adobe.com> --------- Signed-off-by: Adrian Aneci <aneci@adobe.com>
…21063) (cherry-pick 2.13) (#21176) * fix: Populate destination name when destination server is specified (#21063) * Populate destination name when destination server is specified Signed-off-by: Adrian Aneci <aneci@adobe.com> --------- Signed-off-by: Adrian Aneci <aneci@adobe.com> * Go lint fixes Signed-off-by: Adrian Aneci <aneci@adobe.com> --------- Signed-off-by: Adrian Aneci <aneci@adobe.com>
Looks like this might have introduced a race condition: https://github.com/argoproj/argo-cd/actions/runs/12327129773/job/34408870839 |
Hmm, if there is a race condition I think it should have been there for SetInferredServer method too. Maybe there weren't enough tests to validate it until now? |
The failure is on an old test,
|
Currently, if the destination is specified via
server
and notname
, sync windows cannot target a cluster by its name even if support for it was added via #7817. That is because the destinationname
is not populated when using theserver
setting.Checklist: