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

Warn on any command if not on latest version #930

Open
courier-new opened this issue Jan 27, 2023 · 1 comment · May be fixed by #1056
Open

Warn on any command if not on latest version #930

courier-new opened this issue Jan 27, 2023 · 1 comment · May be fixed by #1056
Labels
good first issue Good for newcomers ux

Comments

@courier-new
Copy link
Contributor

courier-new commented Jan 27, 2023

Many users encounter bugs from outdated versions of src-cli and raise them to support before realizing they were already fixed and just needed to update. Recently, a user hit a nasty bug when they were unintentionally running a version 16 months out of date! We should try to warn users if the version of src-cli they are running is not at or above the version recommended by their Sourcegraph instance (/.api/src-cli/version). We already perform this check when running src version:

> src version
Current version: 4.3.0
Recommended version: 4.4.0 or later

We should perform this check before running any command and highlight a warning in the output if it's out-of-date.

@courier-new courier-new added good first issue Good for newcomers ux and removed good first issue Good for newcomers labels Jan 27, 2023
@courier-new
Copy link
Contributor Author

This feels like a quick UX win but also not one that's immediately needed, so maybe backlog.

@alicse3 alicse3 linked a pull request Feb 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers ux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant