Skip to content

Update go.mod to go1.26#8727

Merged
beautifulentropy merged 2 commits intomainfrom
go1.26
Apr 24, 2026
Merged

Update go.mod to go1.26#8727
beautifulentropy merged 2 commits intomainfrom
go1.26

Conversation

@aarongable
Copy link
Copy Markdown
Contributor

@aarongable aarongable commented Apr 23, 2026

Also update tests that now fail due to updated runtime.

Although we don't yet rely on any go1.26 features, an upcoming PR will do so, and it feels more appropriate to separate these fixes from that larger PR.

@aarongable aarongable marked this pull request as ready for review April 23, 2026 02:15
@aarongable aarongable requested a review from a team as a code owner April 23, 2026 02:15
@aarongable aarongable requested a review from jsha April 23, 2026 02:15
Comment on lines -530 to -534
{
"::1",
"[::1]:" + defaultDNSSvrPort,
false,
},
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.

Why does this fail?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Because go1.26 makes url.Parse fail on strings with a colon in the host component, except for properly-bracketed IPv6 addrs:
https://go.dev/doc/go1.26#neturlpkgneturl

@beautifulentropy beautifulentropy merged commit 1f81270 into main Apr 24, 2026
17 checks passed
@beautifulentropy beautifulentropy deleted the go1.26 branch April 24, 2026 16:50
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