-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
bug: fix slice init length #16708
bug: fix slice init length #16708
Conversation
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
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.
Doesn't this also highlight that there's insufficient test coverage here?
What would a unit test for this look like? |
I noticed a minute too late that the DCO check is failing. @longhutianjie you will need to fix that. The current CI workflows are going to be a waste, they will run again once you push a commit to fix the DCO aka sign-off. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #16708 +/- ##
=======================================
Coverage 68.93% 68.93%
=======================================
Files 1565 1565
Lines 201682 201682
=======================================
Hits 139020 139020
Misses 62662 62662 ☔ View full report in Codecov by Sentry. |
Signed-off-by: longhutianjie <[email protected]>
Thanks. Modified |
Perhaps there is no need to do anything, as some developers are working on adding this detection to the Go toolchain. If everything goes smoothly, we only need to update the Go version and use Go vet in the future. Thanks for your approved. |
Description
fix slice init length
Related Issue(s)
Checklist
Deployment Notes