-
Notifications
You must be signed in to change notification settings - Fork 8
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
chore: add logging to snyk code bundles for troubleshooting #700
chore: add logging to snyk code bundles for troubleshooting #700
Conversation
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.
The logging changes seem reasonable but there are other drive-by changes here I have some concerns about, see below.
765ee31
to
6447550
Compare
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.
Question about some test changes below. I'd still like to see those landed as separate commits (if not separate PRs) for better isolation & bisect-ability but I'm not going to block this any further.
@@ -53,6 +54,8 @@ func TestInit(t *testing.T) { | |||
defer initMutex.Unlock() | |||
t.Helper() | |||
c := config.CurrentConfig() | |||
// we want to isolate CLI fake installs | |||
c.CliSettings().SetPath(filepath.Join(t.TempDir(), "fake-cli")) |
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.
Does this (and/or the server test changes below) fix the test flakes I've seen around the CLI downloads? :excited-conan-obrien-emoji:
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.
I hope so - had to add it at a few places.
Description
Provide description of this PR and changes, if linked Jira ticket doesn't cover it in full.
Checklist