Skip to content

fix: ignore the cli checksum when looking for clis without auto-downl…#727

Draft
ShawkyZ wants to merge 1 commit intomainfrom
release/2.29.1
Draft

fix: ignore the cli checksum when looking for clis without auto-downl…#727
ShawkyZ wants to merge 1 commit intomainfrom
release/2.29.1

Conversation

@ShawkyZ
Copy link
Copy Markdown
Contributor

@ShawkyZ ShawkyZ commented Mar 6, 2026

…oads (#726)

If our plugin isn't managing the cli, then we never set use or compare the checksum. However, when the downloader looked for the cli, it checked for a state-stored checksum as well, and showed an error dialog if either were missing.

This error doesn't stop the CLI from loading, nor does it compare the checksum (which happens elsewhere for auto-downloads). If the plugin never downloaded the cli, there's no checksum, and you get an error no matter what.

Change the logic to only look for the cli existing when auto-downloads are disabled.

Description

Provide description of this PR and changes, if linked Jira ticket doesn't cover it in full.

Checklist

Screenshots / GIFs

Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!

…oads (#726)

If our plugin isn't managing the cli, then we never set use or compare the
checksum. However, when the downloader looked for the cli, it checked for a
state-stored checksum as well, and showed an error dialog if either were
missing.

This error doesn't stop the CLI from loading, nor does it compare the checksum
(which happens elsewhere for auto-downloads). If the plugin never downloaded
the cli, there's no checksum, and you get an error no matter what.

Change the logic to only look for the cli existing when auto-downloads are
disabled.
@snyk-io
Copy link
Copy Markdown

snyk-io bot commented Mar 6, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants