-
Notifications
You must be signed in to change notification settings - Fork 94
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
Positron Version: Server About dialog shows outdated information #2059
Comments
This seems to be an artifact of running in dev server mode. In particular the 1.82 value is coming from Code - OSS upstream! positron/src/vs/platform/product/common/product.ts Lines 52 to 63 in 84ade73
Ideally we'd get this from the product JSON file as that's where the About dialog gets them on Electron builds. It's not immediately clear to me why that doesn't happen in server mode. |
…4515) ### Description - A follow-up to #1618 and #4426 - Fixes the incorrect product.json property name by changing `buildNumber` to `positronBuildNumber` in the reh-web and web, resolving an issue where the build number always shows as `0` in dev and release builds for reh-web - I just saw #2059 which is related, but this does not resolve that issue, which is specific to dev builds where product.json doesn't get injected. Note that the hardcoded product info in that code doesn't include `positronBuildNumber`, so it will display `0` by default. #### Preview ![image](https://github.com/user-attachments/assets/e86f6fc8-3788-4656-a950-39025fc0dce6) ### QA Notes See posit-dev/positron-builds#49 for instructions on how to run a build. The build's "About Positron" dialog should show the actual build number, which is the number of commits since the anchor commit in a release build.
@melissa-barca suggests this may also be a problem on Workbench (not just in dev mode). if true, we should address soon. |
To reproduce, open the Command Palette in Positron Server and run the Help: About command.
This information is very outdated; it should show the current version of Positron and VS Code (currently 2024.01 and 1.85 respectively)
The text was updated successfully, but these errors were encountered: