Skip to content

Update toolchain to Go 1.23.1#3249

Merged
peterebden merged 12 commits intothought-machine:masterfrom
peterebden:go1231-2
Sep 9, 2024
Merged

Update toolchain to Go 1.23.1#3249
peterebden merged 12 commits intothought-machine:masterfrom
peterebden:go1231-2

Conversation

@peterebden
Copy link
Copy Markdown
Collaborator

Forgot in #3248 that this would be necessary too.

@peterebden
Copy link
Copy Markdown
Collaborator Author

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

Comment thread src/test/coverage_test.go Outdated
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
Copy Markdown
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
Copy Markdown
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.

Comment thread plugins/BUILD Outdated
name = "go",
plugin = "go-rules",
revision = "v1.20.1",
revision = "02f5910e44bb8274b5bdb80ec80188a9d180f59f",
Copy link
Copy Markdown
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
Copy Markdown
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
@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