Activity

Yesterday
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…
CC @golang/windows.
This Week
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…
Last Week
Reopening since the information in https://github.com/golang/go/issues/78513#issuecomment-4215930937 suggests this can be an enhancement.
Reopening since the information in https://github.com/golang/go/issues/78513#issuecomment-4215930937 suggests this can be an enhancement.
Done in PS 3 by updating to `x/net@v0.54.1-0.20260508232935-23ee2efe81a3`.
(1 comment) I'll update this to v0.54.1-0.20260508232935-23ee2efe81a3 to pull in the fix in CL 776180, needed to break build errors at tip.
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…
dmitshur closed an issue cmd/api:check: TestCheck failures4d
Looks like a memory bit flip on a darwin builder that happened exactly once in years. Closing in favor of issue #77515.
(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.
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://…
(1 comment) This change is ready for review. Hold submission for a later release, though it's fine to review now.
This change is ready for review.
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…
This change has been applied as https://go.googlesource.com/open2opaque/+/3d04330bec09d438a41877cf8c354f63a5fab476.
(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…
This gradual step towards removing/inlining subjectsEqual can happen after Go 1.27.0 is released and the bundle starts being generated with it.
This final step of removing/inlining subjectsEqual can happen after Go 1.28.0 is released.
dmitshur commented on cmd/go: add -buildversion build flag4d
@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…
Friendly ping since it's been a while. Thanks.
The 'typedef int bool;' line has become a compile error as of -std=c23 because bool became a reserved keyword. true and iszero are also newly reserved. Gain compatibility with C23 by switching to '#…
Thanks.
@mpoliwczak34@gmail.com Thanks for making this change. I left a small comment inline. A comment/suggestion on the example, which is used in multiple places. I recognize that it's intended to show a…
We're intending to always use authentication here, so the /a/ endpoint should work. (It would tell us if somehow we're making unauthenticated requests, and maybe has different quotas associated with …
dmitshur commented on cmd/go: add `-test` to `go doc`6d
https://go.dev/doc/comment documents the concept of "Go doc comments" and how to write them. Go users who are looking to document exported APIs rely on the mechanisms there because it has effect on t…
Thanks. Feel free to submit as soon as as https://go.googlesource.com/dot-github exists. (Submitting it before then would cause x/build/cmd/gitmirror to run into errors if we were to redeploy it, so…
(1 comment) I almost forgot and somehow remembered this, [again](https://go-review.googlesource.com/c/open2opaque/+/678895/comment/0188ea8c_6055f78a/). This time before this CL is submitted, so Hold…
As visible on the post-submit dashboard at https://ci.chromium.org/p/golang/g/z-open2opaque-gotip-by-go/console, there are on the order of 400 failing tests at Go tip (Go 1.27 to be), for example: `…
Proposal #71287 to add support for test artifacts was accepted and implemented in Go 1.26. We should update golangbuild accordingly, so that it's possible for us to take advantage of this new feature…
> I'm happy to make whatever changes are needed to packages.Load but I'm not sure what they are. @adonovan The documentation at https://pkg.go.dev/golang.org/x/tools/go/packages#Config.Env includes …
@h9jiang Given [CL 729480](https://go.dev/cl/729480) is submitted, do you know if it's expected to start to show up at https://telemetry.go.dev/config now? Is it waiting on a redeploy to pick that ch…
CC @golang/compiler.
From triage, this sounds like an enhancement. @Jorropo Are you planning to work on this or did you mean to report it so someone else can pick this up?
From triage, we discussed this and believe the go command itself is working as intended. It's expected that the intended version of the go command needs to be first in PATH environment variable. We'r…
From triage, it seems windows-386 is running into 180 second timeout in some packages like runtime, net/http more frequently recently.
CC @golang/compiler. From triage, we think this probably cannot be made to fail to compile, but instead can be a vet check.
The cmd/api checker bug is fixed, and there's no API change involved, so I think this can become a regular issue to improve documentation clarity. Retitled.
This is a false positive due to #27489: the backport request was for 1.26 only, "1.27" happened to be mentioned for an unrelated reason (CC @cherrymui). Though it means the heuristic of ignoring othe…
This is a false positive due to #27489: the backport request was for 1.26 only, "1.27" happened to be mentioned for an unrelated reason (CC @cherrymui). Though it means the heuristic of ignoring othe…
go/vcs:{git,hg,svn,bzr,fossil} covers all of the VCSes but one: the "mod" pseudo-vcs which represents the "neither Git, Mercurial, etc. was used" case. Given the goal of this proposal is to give insi…
I think it's a good idea at least for the PULL_REQUEST_TEMPLATE file. That template seems pretty general and applies to all Gerrit repositories mirrored to GitHub that accept PRs via [gerritbot](http…
I'm supportive of adding these counters. Some of the Go ports may be commonly targeted via cross-compilation from other host platforms, and some Go ports are only accessible as cross-compilation tar…
cmd/dist has a small //go:build constraint parser and evaluator for the needs of bootstrapping. Back when it was added ([CL 359314](https://go.dev/cl/359314), CC @rsc), go/build/constraint couldn't b…
Earlier
This is a minor friction report and a suggested feature request to address it, similar to #74739, except it's about the `godebug` directive and its default key. Consider a module with a `go 1.25.0` …
dmitshur pushed to main in dmitri.shuralyov.com/service/change1y
6140fdcb140798fe4fda313c57be133bf235e796maintner, gerritapi: handle draft status
ce8900dcd6898d396808d962fd777dcf7be445e9gerritapi: pass context to Gerrit calls
96ed021e15235cb4abcdaa86b88cc271e47f04c1add minimal go.mod
July 4, 2024. Today I got a chance to try out the Apple Vision Pro. :)
dmitshur pushed to main in dmitri.shuralyov.com/scratch2y
5eb48b5f5d31d39777719edb35d37b724f183dc8quine: add load-bearing trailing space
dmitshur created package in dmitri.shuralyov.com/scratch/quine2y
LGTM. Thanks, and congrats on your first new Go package here! Done in PS 2. Patch set 2 seems to resolve this.
Thanks! If it's ready to be submitted from your side, I can do that now.
dmitshur pushed to main in dmitri.shuralyov.com/html/belt2y
d8009a3578d1be4dafb93e9ee4894d2bbd2b5e3badd OnClick field to CommitID
63f3644d8635396fd13789affe363ee9f693e8ecadd dark mode support in Reference
They are. Although Go can make them too easy via `go:embed`. See some initial comments. I suggest either adding a quite that can be licensed via the existing BSD-3-Clause LICENSE at the top level o…
Thanks! Congrats on your first change. :D See one inline comment that's unresolved (yellow border). You can leave a draft comment like "Done." and mark the 'Resolved' checkbox, then when you upload …
dmitshur pushed to main in dmitri.shuralyov.com/go/generated3y
e1de015411532fa144166aada4201ee443800425add test case with no final newline
6904a2a3d88d6c3ad39737a7c5bf226f5ebbd482modernize test code slightly
dmitshur pushed to main in dmitri.shuralyov.com/gpu/mtl3y
85de2813cf6bd8d6d2f0240fdebf943cbffc2b8afix "supportsFamily not found" warning on macOS 10.13 and 10.14
dmitshur pushed to main in dmitri.shuralyov.com/gpu/mtl3y
b78c9fe623cca0431d866c9e206d3f83665bcf8bdeprecate FeatureSet and Device.SupportsFeatureSet
2a3c46a829b92964146abf7f6c2d649cd66cce97add GPUFamily and Device.SupportsFamily
I agree with the points made above. This entry tried to say "use this language feature when it's appropriate; don't use it when it's not", which can be said for any language feature. I'll close this …
dmitshur pushed to master in dmitri.shuralyov.com/service/change3y
67e22b2f18a260a33a98c6a7d601726a58c53767maintner: update for GitCommit API change
Go fuzzing support is out of beta and no longer uses this build constraint. It should be replaced with `go1.18` by now. Done in PS 3. I'm following the Go style for commit messages, which chooses…
Shortened 'golang.org' to 'go.dev' here, and on line 24.
dmitshur pushed to master in dmitri.shuralyov.com/website/gido4y
f460621dc784d8a8f3a1593a068115b62baf214dadd support for multiple comma-separated import path patterns
be77a538f6a64b287e073b59d1b9f7e1314cf3a9upgrade to go-git v5
b5ce3c19e6b977800ee3c80bc722192f96ef657breplace mention of godoc.org with pkg.go.dev
dmitshur pushed to master in dmitri.shuralyov.com/gpu/mtl5y
28db891af037715d8c1deec7652485a173c60e25all: add darwin/arm64 (macOS) support
dmitshur pushed to master in dmitri.shuralyov.com/website/gido5y
d2c7b7eec450806980d4eefb626ccf6df2ef99dcupdate release branches to be for Go 1.15 and 1.14
dmitshur pushed to master in dmitri.shuralyov.com/website/gido5y
a78bd3c7abc465e1864ecadce67a826711a27caeadd support for "golang.org/x/pkgsite/..." issues
dmitshur pushed to master in dmitri.shuralyov.com/html/belt5y
Resolved a while ago in [commit `431bb22d`](https://github.com/shurcooL/issuesapp/commit/431bb22d86ad0a95db0780e27ab6221b49238464).
I've decided to publish this post on the [blog front page](https://dmitri.shuralyov.com/blog) now, so re-opening.
dmitshur pushed to master in dmitri.shuralyov.com/website/gido6y
b7141fef43ec3cefbd93cc444ab1f27bdc0a7725add support for "golang.org/dl/..." issues
1fdfe09b78364e4305cfc7fec4b2888fac391bb3update release branches to be for Go 1.14 and 1.13
dmitshur pushed to master in dmitri.shuralyov.com/go/prefixtitle6y
500817462677553a6769e268d66193c36b423cd6add support for "golang.org/dl/..." issues