Skip to content
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 toolchain to Go 1.23.1 #3249

Merged
merged 12 commits into from
Sep 9, 2024
Merged

Conversation

peterebden
Copy link
Collaborator

Forgot in #3248 that this would be necessary too.

@peterebden
Copy link
Collaborator Author

Looks like something's up with the coverage code on the alt build. Think that will need a proper fix.

goCoverageFile2 = "src/test/test_data/go_coverage_2.txt"
goCoverageFile3 = "src/test/test_data/go_coverage_3.txt"
pythonCoverageFile = "src/test/test_data/python-coverage.xml"
// TODO(peterebden): Remove the 'x' on these once we update go-rules again
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's an issue here where the coverage variables we create have the prefix goCover and so do these; they later get somehow detected as coverage vars. I guess something in 1.23 must have changed to find them.

The easiest / more correct fix is probably to make go-rules use a less usual coverage variable name. I'm changing these for now so I don't have to block on another round of updates there.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reverted this since I've ended up getting the better fix in go-rules.

plugins/BUILD Outdated
@@ -1,7 +1,8 @@
plugin_repo(
name = "go",
plugin = "go-rules",
revision = "v1.20.1",
revision = "02f5910e44bb8274b5bdb80ec80188a9d180f59f",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to revert this to the official go-rules before merging.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup thanks, have done - wanted to get a build on here against it to check that really did fix it.

@peterebden peterebden merged commit 0c79cfb into thought-machine:master Sep 9, 2024
14 checks passed
@peterebden peterebden deleted the go1231-2 branch September 9, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants