-
Notifications
You must be signed in to change notification settings - Fork 618
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
update go to 1.22.3 #4184
update go to 1.22.3 #4184
Conversation
194b4e2
to
8b60a54
Compare
8b60a54
to
67a625c
Compare
LGTM but one Q: Is the new coverage percent accurate at all? Do we know what our "actual" code coverage is? |
Good question, I investigated this a bit more. The issue here is with the new go version, its treating folders like Previously directories where there are no test files were being marked as "[no test files]" instead of the 0% coverage. I compared the test coverage before and after the I also compared code coverage for this PR against the code coverage on the last merged PR: diff. The coverage percentage for each directory where there are test files is consistent as before. |
Summary
This PR updates the go version we use in this repo to 1.22.3.
Implementation details
This PR has 4 commits:
The first commit updates the GO_VERSION and GO_VERSION_WINDOWS files.
The second commit addresses the failing go mod checks.
I ran
go mod tidy
andgo mod vendor
to fix that.The third commit addresses the failing static checks.
The specific static check version we were using had compatibility issues with the new go version: Ref. We now consume a compatible static check version.
The last commit addresses code coverage failures.
Testing
New tests cover the changes: no
Description for the changelog
Does this PR include breaking model changes? If so, Have you added transformation functions?
N/A
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.