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

Account for missing fields in Rollout HealthStatus #1699

Merged
merged 1 commit into from
Jun 7, 2019

Conversation

dthomson25
Copy link
Member

Address #1697

Copy link
Contributor

@alexec alexec left a comment

Choose a reason for hiding this comment

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

  1. You're several weeks behind master. git merge master please.
  2. IMHO, this needs tests.

@@ -1,4 +1,8 @@
tests:
- healthStatus:
Copy link
Contributor

Choose a reason for hiding this comment

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

Am I an idiot - is this the test?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes this is the test. We have that documented here: https://argoproj.github.io/argo-cd/operator-manual/health/#way-2-contribute-a-custom-health-check but I can see how that can be confusing. Honestly, I think we may want to rethink this testing framework. The current tests are valuable but I found it difficult to maintain.

Copy link
Contributor

Choose a reason for hiding this comment

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

cool - you still need to sync with master

@jessesuen
Copy link
Member

Can this be simplified if we drop v0.2 rollout support?

@dthomson25
Copy link
Member Author

@jessesuen it would simplify the overall script by a few lines but that would be unrelated to the change i made. A lot of the complexity comes from trying to provide a message of the state of the rollout in the health status.

@dthomson25 dthomson25 force-pushed the fix-rollout-status branch from 86c616c to 5ce2e71 Compare June 6, 2019 19:21
@codecov
Copy link

codecov bot commented Jun 6, 2019

Codecov Report

Merging #1699 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1699      +/-   ##
==========================================
- Coverage   33.98%   33.96%   -0.02%     
==========================================
  Files          75       75              
  Lines       11344    11333      -11     
==========================================
- Hits         3855     3849       -6     
+ Misses       6957     6952       -5     
  Partials      532      532
Impacted Files Coverage Δ
util/helm/helm.go 60.15% <0%> (-1.79%) ⬇️
cmd/argocd/commands/app.go 0.77% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8275200...5ce2e71. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Jun 6, 2019

Codecov Report

Merging #1699 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1699      +/-   ##
==========================================
- Coverage   33.98%   33.96%   -0.02%     
==========================================
  Files          75       75              
  Lines       11344    11333      -11     
==========================================
- Hits         3855     3849       -6     
+ Misses       6957     6952       -5     
  Partials      532      532
Impacted Files Coverage Δ
util/helm/helm.go 60.15% <0%> (-1.79%) ⬇️
cmd/argocd/commands/app.go 0.77% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8275200...5ce2e71. Read the comment docs.

@alexec alexec self-requested a review June 7, 2019 18:00
@alexec
Copy link
Contributor

alexec commented Jun 7, 2019

You've got Jesse's approval - so you can dismis mine and merge.

@dthomson25 dthomson25 merged commit 03b7d24 into argoproj:master Jun 7, 2019
@dthomson25 dthomson25 deleted the fix-rollout-status branch June 7, 2019 18:42
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.

3 participants