Skip to content

Conversation

@rrama
Copy link
Contributor

@rrama rrama commented Jan 15, 2026

Description

  • Add HTTP status code validation in FileDownloadResponseHandler (only accept 2xx responses, log response body for debugging).
  • Include download URL and status code in error messages.
  • Gracefully handle download failures in SnykStartup, but allow LS startup with existing binary if available.
  • Validate CLI binary exists before starting language server, with helpful error message suggesting to check Error Log when "Manage Binaries Automatically" is enabled.

Checklist

  • Read and understood the Code of Conduct and Contributing Guidelines.
  • Tests added and all succeed
  • Linted
  • CHANGELOG.md updated
  • Nah, too small a bug fix.
  • README.md updated, if user-facing
  • N/A

Screenshots / GIFs

Screenshot 2026-01-15 at 15 33 14 ^ I changed the log levels slightly, but close enough to the end result.

- Add HTTP status code validation in FileDownloadResponseHandler (only accept 2xx responses, log response body for debugging).
- Include download URL and status code in error messages.
- Gracefully handle download failures in SnykStartup, but allow LS startup with existing binary if available.
- Validate CLI binary exists before starting language server, with helpful error message suggesting to check Error Log when "Manage Binaries Automatically" is enabled.
@snyk-io
Copy link

snyk-io bot commented Jan 15, 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