Michael initially authored CL 461961 to allow HTTP handlers to access
the IAP user in January 2023, though that same functionality ended up
being submitted in August 2024 via CL 593915, with a follow…
A few minor suggestions from reading over this.
It's good that this documents that these two parameters are optional. It'd be good to also say what they represent, too. Issue #79497 describes them, …
Note that archive/zip tests on linux/386 (without -short flag) have started to fail as of this change. See https://ci.chromium.org/ui/test/golang/archive%2Fzip?q=V%3Abuilder%3Dgotip-linux-386-longtes…
Thanks.
Noting that the -u flag causes 'go get' to update not only the direct dependencies, but indirect dependencies of dependencies too. If you don't want that to be managing indirect dependencies…
Thanks.
Not for this CL, of course, but noting that this can happen by now (issue #65917 is resolved).
```suggestion
// master branch to simulate license changes.
```
(2 comments)
The parameter was there to make it possible to automatically add reviewers, by specifying them in the parameter.
There's a comment below:
> // We don't typically specify reviews in th…
Thanks.
'For golang/go#79034.' maybe.
FWIW, Gerrit has URLs that redirect from a CL number to any project, if you leave out the '{proj}/+' part. E.g., https://go-review.googlesource.com/c/780821 (w…
The original failure from Jan 8 was likely due to #77515,
and today's failures were handled by [CL 780760](https://go.dev/cl/780760)
(issue #79547 tracks the problem and removing the skip; CC @prattm…
The original failure from Jan 8 was likely due to #77515,
and today's failures were handled by [CL 780760](https://go.dev/cl/780760)
(issue #79547 tracks the problem and removing the skip; CC @prattm…
(1 comment)
Is the reason there isn't something like `testlog.Open(f.name) // observe likely non-existent directory` line here, similar to how it's there in os.Chdir, because that must've already ha…
@matloob Is this intended to be a [proposal](https://go.dev/s/proposal)? It's in the Proposal milestone, but doesn't have a "proposal: " prefix in the title nor Proposal label. I fixed that assuming …
As a baseline, the `go test` command does return a non-zero exit code on Ctrl+C (SIGINT):
```shell
src $ go test all
ok archive/tar (cached)
ok archive/zip (cached)
ok bufio (cached)
^C
src $ …
Here's a small reproducer for `go tool` itself, found while looking into #79535:
```shell
$ cd $(mktemp -d)
$ go mod init test && go get go@1.26.0
$ mkdir -p cmd/importantwork && echo 'package main;…
Thanks.
I left some inline comments. In general this looks like a good step to move #79034 forward. I understand there may be future enhancements, and it might be better to leave them out of scope h…
Thanks.
Nice catch that this error message was accidentally including the clNumber parameter definition rather than the value as was intended. (It could go unnoticed while this was a closure because…
Thanks.
milestoneYAML was previously defined inside testSecurityReleaseCoalesceTask, the only place where it was being used.
It's still used only in that one place, inside testSecurityReleaseCoales…
Other than being rebased, nothing changed between PS 3 and PS 5, so re-adding bypass. This is a documentation-only change and the only possible failure here is bad link or Markdown or so, but [an ear…
(3 comments)
Note there's a list of flags manually enumerated here. It'll need to be updated to include the new flag.
(Maybe a future CL can refactor the flag.Usage function to print the part above…
(1 comment)
This probably needs something like ", appends the result to the byte slice, and returns the updated slice." added here (similarly to how https://pkg.go.dev/fmt#Append has it).
(2 comments)
'mustDowncastTo32bits' seems to refer to this very method, but the method's name is slightly different.
```suggestion
// mustDowncastToTimespec32 converts a 64-bit timespec to a 32-bit…
@qsq8t65pxs It's important for backport requests to include a rationale - please see https://go.dev/wiki/MinorReleases. This issue is about a package in x/text; is there involvement of the standard l…
I agree that x/crypto behaves as if it’s already tagged v1.0.0, both when this was filed and now, it just hasn’t been tagged v1 yet, and it should. This issue hasn’t been progressing as is, and…
Yes, that’s true. They should probably be tagged v1, their owners just haven’t done it yet. See issue #56325 (CC @FiloSottile) for example. We can still include them in scope of this issue.
I ti…
I intended to leave it pinned for some time after closing in case people whose CLs ran into this tried to look here. It’s probably fine to unpin by now. Thanks.
Thanks.
```suggestion
### Linux {#linux}
```
Also, if there was a tracking issue, it'd be helpful to mention it here in an HTML comment (similar to line 5 above). If not, then nothing to do.
```s…
It seems to be helping so far, linux/amd64 builders are showing up:
<img width="478" height="393" alt="Image" src="https://github.com/user-attachments/assets/062662f0-cfab-4270-a045-c9f22b523b78" />…
The linux/amd64 builder query at https://chromium-swarm.appspot.com/botlist?f=cipd_platform%3Alinux-amd64&f=machine_type%3An1-standard-16&f=os%3ADebian-11&f=pool%3Aluci.golang.try-workers finds 0 bot…
We're aware of an issue where many of the builders involved in the default trybot set are unavailable. For example, as visible at https://ci.chromium.org/ui/p/golang/builders/try-workers/gotip-linux-…
TestTransportBodyReadError and other net/http flakes are likely related to the known flakes tracked in issue #78737 (CC @neild, @nicholashusin). There have been recent changes that helped, like https…
(1 comment)
The symbol name and doc comment are slightly different (d vs D). Maybe the doc comment name better and it's worth renaming this unexported function, but in general they should match one …
The trybot failure on that one builder seems like an infrastructure problem; sent crrev.com/c/7842813 (CC @cherryyz@google.com) to start annotating such cases accordingly in the future. Retrying tryb…
One way to keep the function (with possible side effects) executed the same number of times might be to use slices.ContainsFunc with a trivial equality func. That is, if the for range loop is rewritt…
@gopherbot Please consider this for backport to Go 1.26. It's needed to prevent `go fix` from incorrectly rewriting code to use `slices.Contains` in some cases when doing so could cause an unintended…
Thanks.
(nit) Could get rid of ": removed" here, it's not needed.
Edit: Already resolved in PS 5.
(Same here and the two lines below.)
Edit: Already resolved in PS 5.
We don't want to check in t…
The change itself is good, though trybots are reporting a build breakage at tip because x/net v0.54.0 accidentally included breaking API changes (that affect tip only, not any of the stable Go releas…
Thanks.
There are a few more symbols that also need attention, in case you prefer to handle them in the same CL, though of course it's fine to submit this one as is since it's making forward progres…
The cmd/api check runs in the main Go repo and is generally very helpful there. There are some opportunities to extend it, such as issues #53205 and #56773. I didn't find an existing issue for extend…
(1 comment)
I'm not sure off hand, other than it's plausibly related to https://go.dev/ref/mod#graph-pruning, but a few observations:
1. these records are only for go.mod files of x/crypto modules,…
(3 comments)
```suggestion
internal/chartconfig: add counter for goimports invocation
```
(The "x/telemetry" prefix is needed on the issue tracker because it tracks all x/ repos in one place, where…
Issue #75651 also exists to track adding the telemetry config. So this can proably stay focused on adding the local counter, which was done in [CL 700595](https://go.dev/cl/700595). Closing again.
Thanks for the suggestion to check local counters in `go env GOTELEMETRYDIR`. They seem as expected to me, and "go/vcs" shows up at https://telemetry.go.dev/config now (thanks to [CL 775820](https://…
Thanks. I wasn't very familiar with our perf_vs_parent runmod, but good to learn more about it.
Just noting that I expect (but haven't confirmed) that it will have the GOEXPERIMENT env var set both …
They provide a subset of the information that the newer port:*-* counter
provides, making them generally redundant. They were never uploaded, and
there are no plans to start using them, so remove the…
(1 comment)
Using two brackets for expansions isn't supported. Even if it were supported, we probably don't want to permit unexpected combinations (like aix-386) to be accepted for upload, so I'll c…
The accepted GOOS and GOARCH values come from the 49 ports that
includes 2 broken ports (they may still be attempted to be used)
as reported by 'go tool dist list -broken' at tip, Go 1.27 to be.
For…
CL 587115 added separate counters for target GOOS and target GOARCH:
go/platform/target/{goos,goarch}:*
For the purpose of being able to tell usage of each target port
(telemetry proposal go.dev/i…
(1 comment)
Since those steps are fairly predictable and might be easier to do now while the context is fresh in memory, prepared CL 775782 and CL 775783 for that in case it helps.
The go1.25 build constraint is guaranteed to always be satisfied because
the go directive is at 1.25.0, so the separated out go125.go file is not
needed. Move the assertion that the *xof type impleme…
@thepudds Thanks for mentioning the VERSION files used by the Go toolchain; I was going to do that too since it hadn't come up yet, and it seems good to at minimum consider in this proposal. I'll not…
Thanks.
```suggestion
With the go.mod go version updates, we need at least Go 1.25 to build
```
Using 1.25 is certainly fine as is, since it meets the minimum requirement of this module. Just notin…