-
Notifications
You must be signed in to change notification settings - Fork 0
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
add slowg analyzer to check inappropriate use of log/slog #2
Conversation
77e68cf
to
48b6697
Compare
ce4b95e
to
6be8fd4
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.
Will this analyzer run by default? If so, I'm worried that it will break the cilium repo.
Everything else looks good.
I've enabled it by default, yes.
In which way? I don't understand your concern as Cilium is not even using log/slog yet 🤔 |
Converted back to draft, the log functions were renamed from |
CI is now failing as there is no tagged release of Go 1.21 that includes this change yet. Unfortunately, it looks like we cannot specify |
I'll mark the PR as ready to merge. CI should turn green once we update Go 1.21 to the RC.3. |
Signed-off-by: Robin Hahling <[email protected]>
Signed-off-by: Robin Hahling <[email protected]>
Go v1.21.0-rc.3 is out so I updated the Go matrix in the CI tests and, as expected, the tests now pass. @nathanjsweet Could you please check this PR again or give a rationale as to why you think we shouldn't merge it as is? |
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.
Sorry, no objections. I saw that you converted it to a draft at one point and I forgot to pick it back up. Very cool!
No description provided.