Bug #22509
closedupgrade golang to 1.23
Description
According to Tom:
"If we tell go.mod that we expect to build with 1.22.4 or later, go will download and use the correct version for us"
Updated by Peter Amstutz about 2 months ago
- Target version changed from Development 2025-02-12 to Development 2025-02-26
Updated by Tom Clegg about 2 months ago
22509-go1224 @ 5642c8a7416185661bfa3bd952b27efb23011d8d -- just changes the version number in go.mod, lib/install/deps.go, and ansible. This should cause the existing jenkins workers to download Go 1.22.4 and compile/test everything with that version.
If this works, then we can safely update the jenkins worker image to Go 1.22.4, and merge this branch.
After we update the jenkins worker image, when we package/test old versions of arvados, Go will likewise download Go 1.21.10 and use that to build/test.
Updated by Peter Amstutz about 2 months ago
- Assigned To set to Tom Clegg
- Status changed from New to In Progress
Updated by Tom Clegg about 2 months ago
22509-go1224 @ 2ccf04510adb7904e26b7944ce5fb35d1d4ae4f4 -- developer-run-tests: #4662
This failed a flaky workbench2 integration test but passed everything else.
go: go: downloading go1.22.4 (linux/amd64) go version go1.22.4 linux/amd64
After merging this we do need to update the jenkins worker image, otherwise we'll re-download Go on every test run.
Updated by Lucas Di Pentima about 2 months ago
This toolchain
download feature is really handy. LGTM.
Updated by Tom Clegg about 2 months ago
- Assigned To changed from Tom Clegg to Lucas Di Pentima
Updated by Tom Clegg about 2 months ago
- Assigned To changed from Lucas Di Pentima to Brett Smith
Updated by Tom Clegg about 2 months ago
- Assigned To changed from Brett Smith to Tom Clegg
Updated by Tom Clegg about 2 months ago
22509-go1236 @ 2a0b6fb4b23c67aab60bdc2c1ca88ca8c40a2613 -- developer-run-tests: #4664
Updated by Tom Clegg about 2 months ago
- Subject changed from upgrade golang to 1.21.11 or 1.22.4 to upgrade golang to 1.23
Updated by Brett Smith about 1 month ago
Tom Clegg wrote in #note-6:
After merging this we do need to update the jenkins worker image, otherwise we'll re-download Go on every test run.
Pending in #22579#note-8.
Updated by Brett Smith about 1 month ago
I merged the Go 1.23 branch, built a new image from it, and it's being used for new test runs. developer-run-tests: #4668
With that I believe this ticket is resolved but I'll let Tom make the final call.
Updated by Tom Clegg about 1 month ago
- Status changed from In Progress to Resolved