Skip to content

update go toolchain to 1.26#47

Draft
iliana wants to merge 6 commits intorelease-22.1-oxidefrom
iliana/go1.26
Draft

update go toolchain to 1.26#47
iliana wants to merge 6 commits intorelease-22.1-oxidefrom
iliana/go1.26

Conversation

@iliana
Copy link
Collaborator

@iliana iliana commented Feb 27, 2026

Fixes #10.

The primary exciting change here is the removal of unsafe //go:linkname directives from pkg/util/goschedstats; Go 1.26 introduces the /sched/goroutines/runnable:goroutines runtime metric. This should make future toolchain updates significantly less complex and worrysome.

golang.org/x/tools needed to be updated to 0.39.0 due to a protocol change between go vet and the underlying analysis library used by roachvet. This brought in a newer golang.org/x/crypto, which changed an error string related to bcrypt.

RSA keys generated during testing needed to be upgraded from 512 bits to 1024 bits due to a new minimum requirement in crypto/rsa.


In draft state because we're using the binary release from go.dev for illumos. Helios v3 has 1.26.0. We may want to backport those changes to Helios v2 or accept this and revert the CI changes when we move to Helios v3.

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.

Update Go toolchain

1 participant