-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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: use 'git show-ref' to both retrieve and store generated manifests #3578
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3578 +/- ##
==========================================
+ Coverage 43.43% 43.44% +0.01%
==========================================
Files 184 184
Lines 20390 20392 +2
Branches 275 238 -37
==========================================
+ Hits 8856 8859 +3
- Misses 10516 10519 +3
+ Partials 1018 1014 -4
Continue to review full report at Codecov.
|
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.
Please see my comments in #3577
Thank you for investigation, @jannfis ! I did not know how to even approach it. I agree that problem is specific to v0.7.0 tag in rollouts repo. However I think we still need to have protection from this edge case. Current Argo CD behavior is the following:
Since PR changes the last step behavior so that Argo CD uses commit What do you think? |
To summarize, Now Argo CD generates manifests for commit I want to cache results to stop the performance issues. |
Understood, and I think you're correct. We should not have a performance penalty or overload on Git servers due to repository issues. However, I think that we should emit a warning if the commit SHAs for the tag (i.e. |
Nice suggestion! Added warning message. |
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.
LGTM. thank you for adding the warning!
Closes #3577