Skip to content
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: switch service selector back to stable on canary service when aborted #2540

Merged

Conversation

zachaller
Copy link
Collaborator

@zachaller zachaller commented Jan 25, 2023

related to: #1838 and #2536

fixes: #2576

Signed-off-by: zachaller zachaller@users.noreply.github.com

Signed-off-by: zachaller <zachaller@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 25, 2023

Go Published Test Results

1 860 tests   1 860 ✔️  2m 31s ⏱️
   113 suites         0 💤
       1 files           0

Results for commit 820f516.

♻️ This comment has been updated with latest results.

@zachaller zachaller changed the title fix: switch service selector back on canaryservice when aborted fix: switch service selector back to stable on canary service when aborted Jan 25, 2023
@codecov
Copy link

codecov bot commented Jan 25, 2023

Codecov Report

Base: 81.60% // Head: 81.52% // Decreases project coverage by -0.09% ⚠️

Coverage data is based on head (820f516) compared to base (0450778).
Patch coverage: 57.14% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2540      +/-   ##
==========================================
- Coverage   81.60%   81.52%   -0.09%     
==========================================
  Files         130      131       +1     
  Lines       19483    19587     +104     
==========================================
+ Hits        15900    15969      +69     
- Misses       2766     2797      +31     
- Partials      817      821       +4     
Impacted Files Coverage Δ
rollout/trafficrouting.go 75.73% <57.14%> (-0.50%) ⬇️
utils/analysis/factory.go 91.12% <0.00%> (-1.30%) ⬇️
utils/defaults/defaults.go 89.37% <0.00%> (ø)
metricproviders/webmetric/webmetric.go 68.88% <0.00%> (ø)
metricproviders/skywalking/skywalking.go 61.84% <0.00%> (ø)
rollout/experiment.go 84.13% <0.00%> (+0.15%) ⬆️
rollout/trafficrouting/alb/alb.go 79.08% <0.00%> (+0.83%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 25, 2023

E2E Tests Published Test Results

    2 files      2 suites   1h 39m 58s ⏱️
  96 tests   89 ✔️ 3 💤 4
196 runs  186 ✔️ 6 💤 4

For more details on these failures, see this check.

Results for commit 820f516.

♻️ This comment has been updated with latest results.

@idurgakalyan
Copy link

@zachaller Any update on this?

Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
@zachaller zachaller marked this pull request as ready for review February 9, 2023 15:37
@zachaller zachaller requested a review from leoluz February 9, 2023 15:43
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
@sonarcloud
Copy link

sonarcloud bot commented Feb 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
3.1% 3.1% Duplication

@idurgakalyan
Copy link

Can we merge these changes?

Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Copy link
Contributor

@leoluz leoluz left a comment

Choose a reason for hiding this comment

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

LGTM

@zachaller zachaller merged commit 81b015d into argoproj:master Feb 28, 2023
zachaller added a commit to zachaller/argo-rollouts that referenced this pull request Mar 25, 2024
… when aborted (argoproj#2540)"

This reverts commit 81b015d.

Signed-off-by: Zach Aller <zachaller@users.noreply.github.com>
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.

Abort doesn't revert old rollouts-pod-template-hash into canaryService
4 participants