-
Notifications
You must be signed in to change notification settings - Fork 190
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
Warn users if not using latest release. #1570
Warn users if not using latest release. #1570
Conversation
fbcae0d
to
3b027d8
Compare
/retest-required |
3b027d8
to
f51cfaf
Compare
/hold Waiting for input from UX |
/retest-required |
5a74ea5
to
98cabf9
Compare
98cabf9
to
eb86cf1
Compare
should we have some local caching first? This is doing a call for version check at every single rosa command which may add a significant traffic on the mirror, but versions don't change every second |
After team discussion, we'd prefer to not cache until it's a known problem (we believe that is unlikely). In addition, it would be interesting/beneficial to track which commands are being run. |
@ciaranRoche There's still a prow build failing that looks strange to me, any thoughts on what might be going on? |
/test images-images |
Will I guess at least this line making Line 38 in 900564b
|
For me, So with this change, every command would become slightly, but perceptibly slower.
|
eb86cf1
to
d82df73
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1570 +/- ##
==========================================
+ Coverage 21.71% 22.44% +0.72%
==========================================
Files 118 129 +11
Lines 19809 20574 +765
==========================================
+ Hits 4302 4617 +315
- Misses 15186 15609 +423
- Partials 321 348 +27 ☔ View full report in Codecov by Sentry. |
See #1777 |
… on a version other than the latest version from mirror.
22bf490
to
438d084
Compare
c567e54
to
fdcfcba
Compare
/retest |
… on a version other than the latest version from mirror.
fdcfcba
to
d7bf0f4
Compare
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
Thanks for you patience on this one Alex, glad to have this check in place when it lands.
@robpblake can you give this a final ack before we merge 🙏
/unhold |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AlexVulaj, ciaranRoche, robpblake The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@AlexVulaj: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
OCM-4624 | feat: Show a warning when a user attempts to run a command on a version other than the latest version from mirror.
Sample run from a local build: