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(analysis): Avoid Infinite Error Message Append For Failed Dry-Run Metrics #2182

Merged
merged 1 commit into from
Aug 11, 2022

Conversation

agrawroh
Copy link
Member

@agrawroh agrawroh commented Aug 9, 2022

Description

A small fix to only include the most recent error message for the dry-run metric failures. If we don't do this and there are other wet-metrics in progress then the error message keeps getting appended infinitely.

Checklist

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
  • The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
  • I've signed my commits with DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My builds are green. Try syncing with master if they are not.
  • My organization is added to USERS.md.

Signed-off-by: Rohit Agrawal [email protected]

@agrawroh agrawroh requested a review from huikang August 9, 2022 07:05
@agrawroh agrawroh added the analysis Related to Analysis CRD label Aug 9, 2022
@sonarcloud
Copy link

sonarcloud bot commented Aug 9, 2022

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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2022

Go Published Test Results

1 731 tests   1 731 ✔️  2m 32s ⏱️
   101 suites         0 💤
       1 files           0

Results for commit 3750e47.

@codecov
Copy link

codecov bot commented Aug 9, 2022

Codecov Report

Merging #2182 (3750e47) into master (0ec5ac1) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2182      +/-   ##
==========================================
+ Coverage   82.24%   82.37%   +0.13%     
==========================================
  Files         121      121              
  Lines       17969    18069     +100     
==========================================
+ Hits        14778    14884     +106     
+ Misses       2421     2416       -5     
+ Partials      770      769       -1     
Impacted Files Coverage Δ
analysis/analysis.go 85.43% <100.00%> (-0.11%) ⬇️
rollout/temlateref.go
rollout/templateref.go 82.98% <0.00%> (ø)
rollout/trafficrouting/istio/istio.go 74.95% <0.00%> (+2.01%) ⬆️
.../apis/rollouts/validation/validation_references.go 90.43% <0.00%> (+2.74%) ⬆️

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

@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2022

E2E Tests Published Test Results

  1 files    1 suites   44m 46s ⏱️
88 tests 83 ✔️ 3 💤 2
90 runs  85 ✔️ 3 💤 2

For more details on these failures, see this check.

Results for commit 3750e47.

@harikrongali harikrongali added the 1.3-pre-release Issues opened for release-1.3 branch label Aug 11, 2022
@huikang huikang enabled auto-merge (squash) August 11, 2022 01:34
@huikang huikang merged commit 73c7a03 into argoproj:master Aug 11, 2022
jenciso pushed a commit to jenciso/argo-rollouts that referenced this pull request Oct 25, 2022
jandersen-plaid pushed a commit to jandersen-plaid/argo-rollouts that referenced this pull request Nov 8, 2022
jandersen-plaid pushed a commit to jandersen-plaid/argo-rollouts that referenced this pull request Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.3-pre-release Issues opened for release-1.3 branch analysis Related to Analysis CRD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants