Skip to content

Conversation

@adombeck
Copy link
Contributor

@adombeck adombeck commented Sep 13, 2025

Some of our dependencies now require a newer Go version than 1.23.

Go 1.25 also allows us to use the new Output method of testing.T, making our test output easier to read.

The Noble archives only have Go 1.23, so we use our own Go PPA to install Go 1.25.

UDENG-8125

@adombeck adombeck force-pushed the go-1.25 branch 2 times, most recently from 2ac8111 to 5dfc53a Compare September 15, 2025 17:36
@adombeck adombeck force-pushed the go-1.25 branch 3 times, most recently from 4bf732f to e1255f2 Compare September 15, 2025 18:38
@adombeck adombeck force-pushed the go-1.25 branch 6 times, most recently from 85ae717 to 0a85010 Compare September 16, 2025 12:26
@adombeck adombeck marked this pull request as ready for review September 17, 2025 10:59
@adombeck adombeck requested a review from a team as a code owner September 17, 2025 10:59
@adombeck adombeck marked this pull request as draft September 17, 2025 10:59
@adombeck adombeck changed the title Bump go toolchain to 1.25.0 Use Go backports PPA in CI and bump go toolchain to 1.25.0 Sep 25, 2025
@adombeck adombeck force-pushed the go-1.25 branch 2 times, most recently from 96147fc to 25c8557 Compare September 25, 2025 13:27
Some of our dependencies now require a newer Go version than 1.23.

Go 1.25 also allows us to use the new Output method of testing.T, making
our test output easier to read.
With Go 1.25, `go test -race` failed with:

    fatal error: checkptr: misaligned pointer conversion

    goroutine 72 gp=0xc0002281c0 m=8 mp=0xc00018a008 [running]:
    runtime.throw({0x16ece45?, 0x0?})
    	/home/user/go/pkg/mod/golang.org/[email protected]/src/runtime/panic.go:1094 +0x48 fp=0xc0002f7150 sp=0xc0002f7120 pc=0x489cc8
    runtime.checkptrAlignment(0xc0005fec1e, 0x1586820, 0x1)
    	/home/user/go/pkg/mod/golang.org/[email protected]/src/runtime/checkptr.go:20 +0x9a fp=0xc0002f7170 sp=0xc0002f7150 pc=0x41b8da
    github.com/ubuntu/authd/internal/users/localentries.strvToSlice(0xc0005fec1e)
@adombeck adombeck force-pushed the go-1.25 branch 2 times, most recently from cd86626 to 214f0e2 Compare October 15, 2025 11:00
@adombeck adombeck marked this pull request as ready for review October 15, 2025 12:18
@adombeck adombeck requested a review from 3v1n0 October 15, 2025 12:18
Copy link
Member

@denisonbarbosa denisonbarbosa left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@adombeck adombeck merged commit 55b4fce into main Oct 16, 2025
14 of 18 checks passed
@adombeck adombeck deleted the go-1.25 branch October 16, 2025 08:51
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.

3 participants