-
Notifications
You must be signed in to change notification settings - Fork 313
Add installation instructions to minimum CLI version error #4738
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
Conversation
- Add GetUpgradeInstructions() helper function with platform-specific instructions - Update minimum version error in checkCLIVersion() to include detailed upgrade steps - Refactor displayUpdateSteps() to use new helper function - Improve language to avoid repeated 'Alternatively' usage Addresses customer feedback that engineers found the minimum version error confusing without clear update instructions.
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (3.84%) is below the target coverage (60.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #4738 +/- ##
==========================================
- Coverage 48.91% 48.87% -0.04%
==========================================
Files 356 356
Lines 29807 29817 +10
==========================================
- Hits 14580 14574 -6
- Misses 14066 14080 +14
- Partials 1161 1163 +2 🚀 New features to boost your workflow:
|
For this, I think we should check which okteto is the one used and how it's installed. If for example a user has 2 different versions, like usually happens on mac that we recommend using: |
- Add guidance to check current installation method first - Provide specific instructions for different installation methods - Include warning about potential multiple installations - Add PATH troubleshooting note This addresses the concern that users may have multiple okteto installations and need method-specific upgrade instructions.
Thanks for the excellent feedback @jLopezbarb! You're absolutely right about the potential issues with multiple installations. I've updated the upgrade instructions to address your concerns: Changes Made:
Example of New Message:
This approach acknowledges the complexity you mentioned while still providing actionable guidance. Users will now be more aware of potential conflicts and have better tools to diagnose their specific situation. What do you think of this approach? |
This pull request is stale because it has been open for 15 days with no activity. Comment on this pull request or it will be closed in 7 days |
Summary
This PR addresses customer feedback that engineers found the minimum CLI version error message confusing because it lacked clear update instructions.
Changes
Before vs After
Before (confusing for engineers):
After (clear and actionable):
Testing
Customer Impact
This directly addresses the customer feedback:
Now engineers will have clear, actionable instructions right in the error message, reducing support requests and improving the user experience.