@vasi Does this problem apply to Go 1.24 too? If so, we'll need to consider them both per [Go release policy](https://go.dev/issue/34536#issuecomment-572188389).
@djvasi@gmail.com gopherbot doesn't listen to comments on CLs, only on issues, so you'll need to post this request in issue #76428 itself.
Linking to external discussions is fine, but please be sure…
Caught early by the improved vet check gated behind the 1.26 language
version combined with a tiplang builder that tests with 1.26 language
version.
Fixes golang/go#74262.
Caught early by the improved vet check gated behind the 1.26 language
version combined with a tiplang builder that tests with 1.26 language
version.
Fixes golang/go#76574.
Fixes golang/go#76599.
Fix…
This paragraph from there is especially relevant:
> This part of the release cycle is focused on improving the quality of the release, by testing it and fixing bugs that are found. However, every fi…
Since this is fixing a performance regression in 1.26 itself and we're very early in the freeze, it should be okay unless you think there's a risk of this causing follow up issues and it's better to …
Thanks.
Agree. This hasn't reached a point where the overhead of a helper function makes up for how much de-duplication it can offer, and such cases tend to become likely upon a 3rd use. (I'm not su…
Caught early by the improved vet check gated behind the 1.26 language
version combined with a tiplang builder that tests with 1.26 language
version.
Fixes golang/go#76547.
When watchflakes encounters a new failure mode that none of the existing issues in the Test Flakes project match, it creates a new issue for it. When it creates the issue, it creates a pattern for th…
postComment has automatic truncation of very long text for comments,
but GitHub's limit on issue comment length applies to issue bodies too.
This means watchflakes will sometimes error out on issue c…
Widened the pattern here to catch all Test/*.txt failures, otherwise watchflakes defaults to creating too many individual ones. (If their failure modes end up being different, they can be split up as…
```
#!watchflakes
default <- pkg == "cmd/go/internal/modfetch/codehost" && test ~ `^TestReadZip`
```
An issue for watchflakes to track flaky failures of this test.
(1 comment)
Note that this test seems to be slightly flaky, as visible here:
https://ci.chromium.org/ui/test/golang/net%2Fhttp.TestClientConnReserveAndConsume
(watchflakes doesn't seem to have fil…
Thanks.
net/http.TestClientConnReserveAndConsume failure on windows is a recently added test (CL 722223) that seems a bit flaky, watchflakes should file an issue for it soon. Not related to this cha…
The Go porting policy has a section on broken ports, https://go.dev/wiki/PortingPolicy#broken-ports. The GOOS=freebsd GOARCH=riscv64 port was marked broken in August 2025 ([CL 691835](https://go.dev/…
@mengzhuo Thanks for working on this. The freebsd/riscv64 builder has passing runs on [some golang.org/x repos](https://ci.chromium.org/ui/p/golang/g/port-freebsd-riscv64/builders), but the main Go r…
(1 comment)
My understanding is that these removals affect only those users who have opted to modify these GODEBUGs away from their default values in otherwise modern modules (i.e., go directive is …
(2 comments)
This is a case where it would probably also be fine to just leave it out and let the default behavior apply everywhere. Earlier versions of CreateAutoSubmitChange had a possibility of c…
I left a trivial nit, but overall this looks good and I'm not seeing any issues. Thanks for implementing this. Leaving a +1 since I mostly defer to Michael on this review, and he already +2'ed.
This…
> that telemetry is mixing devel toolchains with "production non-standard" toolchains. The later data set should be more valuable than the former, but (AFAIU) there is no way to diferentiate them.
Y…
This is a follow up for issue #75989, a Go 1.25 backport issue.
The fix for that issue in [CL 715360](https://go.dev/cl/715360) added a `ReOpenFile` syscall to be used by `deleteatFallback`. Its err…
It's also possible to have both (a descriptive test name and a link to a related Go issue number) by moving the Go issue reference into a comment. Something like:
```Go
// Test that <brief descripti…
Thanks.
(nit) Since this is the main repo, the "golang/go" prefix isn't needed and could be left out. Other than a few extra characters, including it is harmless though.
Thanks.
It can sometimes be handy to do pure algorithmic changes in patch set 1, and the manual followups in patch set 2, and leave a comment about that. That way the end result code being checked i…
CL 720581 replaced almost all instances of it, this gets the last one.
[git-generate]
cd sumdb/note
rf '
ex { import "strings"; chop -> strings.Cut }
rm chop
'
Thanks. This generally looks good, but I left some suggestions to avoid leaving some of the code in a state where it's doing something in a more verbose/complicated way, making it harder to read. If …
@qmuntal On the point about telemetry, I think that is 1) working as intended and 2) there's no change being introduced here.
In the general case, a toolchain built with an experiment may differ in …
The suffix in a non-standard toolchain version can be any string. Show
more of a middle ground example of a non-standard version suffix,
aligning it with the example used at https://go.dev/doc/toolch…
The suffix after the dash of a non-standard toolchain can be any string, and at https://go.dev/doc/toolchain#name the example shown uses "custom" rather than "bigcorp". Perhaps it'd be more clear if …
This special case was added in CL 310171 for test/run.go use, as the
comment still says, but run.go (cmd/internal/testdir/testdir_test.go
by now) stopped using this in CL 310732. There don't seem to …
Thanks.
I suspect that it will be possible to cause this test to fail by doing something like:
```
cat "bad" > VERSION
cd src && ./make.bash
```
That is, since it's possible to set a custom versio…
(1 comment)
If you want, consider modifying this test case to also check that version.IsValid(runtime.Version()) isn't unexpectedly false.
It's probably not going to catch every instance of regress…
A new builder is typically appropriate when the goal is to run all of the Go tests under a different mode. For example, if the GOEXPERIMENT modifies runtime behavior.
If the change of behavior here …
Thanks.
You added a Auto-Submit+1 vote to patch set 2, which had no effect because patch set 3 was latest, and that vote doesn't transfer between patch sets. Re-adding it to PS3 which I understand w…
Thanks.
Yes, that seems like a false positive in that vet check, especially since the package documentation at https://pkg.go.dev/testing#hdr-Benchmarks shows examples of for b.Loop() loops, and non…
Thanks.
(nit) What's the motivation to include an underscore prefix in the result bool name?
I don't quite see how this comment is connected to the code, `stdlib.IsBootstrapPackage(pkgpath)` as I i…
(1 comment)
@adonovan@google.com Would it make sense to add a special case here to not apply the lower BootstrapVersion to package tests?
The packages used during bootstrap do need to build and wor…
Thanks.
None of these tests were sensitive to whether interface{} or any is used.
This variable name becomes more indirect than it was before, but it seems fine.
@luismferreira You should confirm that it's not your environment forcing the go1.25.0 toolchain to [be selected](https://go.dev/doc/toolchain#select). Try re-running `go version` with `GODEBUG=toolch…
Thanks.
Would it be better to resolve the unused result by modernizing this benchmark with the `testing.B.Loop` API?
```
func BenchmarkString(b *testing.B) {
for b.Loop() {
USD.String()
}
}
```…
Thanks.
I'll note that compared to other things vet reports, it's not clear to me that report is in this context is very useful. The parse.SyntaxError type is defined in an internal package relative…
Thanks.
I see. Well, if we're going to rely on being able to generate these files, the generator program probably needs to be added to this repo where it can be modified more easily.
But this packa…
9fa5ffeda4170de60f67f3aa0f824e426421ba724c21e133c1e35d6159ca1bec is the right sha256 checksum for the go1.25.4.linux-amd64.tar.gz file. It can be reproduced with distpack by building Go 1.25.4 from s…