-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix: getIpFamily not detecting IPv6 support #119
Conversation
0eda36a
to
c544dc2
Compare
failed tests in CI? |
@ArtsiomCh haven't changed anything around the code that fails, thus I assume it's the same issue that happens from time to time due to backend Snyk Code changes. It's out of scope of this PR to fix, unless Sast team asks me to 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I didn't run and/or test it.
Ooch, just found it's not vsc plugin repo... Then my approval could be just ignored.
This PR modifies files linked to issues tracked in Stepsize. You might want to review their status, priority, and scope.
Mention [stepsize] in a comment if you'd like to report some technical debt. See examples here. |
aa90768
to
94e54b7
Compare
🎉 This PR is included in version 4.5.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What does this PR do?
Fixes regression that got introduced as part of this PR, where try/catch was removed within
getIpFamily
function.This led to all users that support IPv6 default to IPv4 protocol when authenticating through IDE, since the
verify/callback
always returns 401 at this point (i.e.res.success = false
).Since the new code doesn't bubble errors up to the caller, added additional map for the exception that gets thrown when IPv6 lookup is not supported by a user.
Any background context you want to provide?
https://github.com/snyk/vscode-extension/issues/116