Activity

Today
Thanks. This makes sense to me. My one minor comment is about possibly simplifying the probe configuration a bit, but I have no objections to any of it if it helps. From briefly re-reading about ho…
This PR is being closed because [go.dev/cl/234660](https://go.dev/cl/234660) was closed. The x/build/gerrit [package comment](https://pkg.go.dev/golang.org/x/build/gerrit#pkg-overview) is now more…
This should be covered at https://go.dev/wiki/MinorReleases. In particular, see this paragraph: > When the child issue is labeled CherryPickApproved, the original author of the change fixing that is…
Pull in x/build CL 783780 so that its effect on the /doc/go1.27 page applies sooner.
Yesterday
A fixup for CL 768223 to unbreak x/build tests with Go 1.25.
> as far as I know that is not considered an "API change" and so no proposal needed I prepared CL 783580 but became less sure about that. After all, a similar argument may apply - adding a go:fix in…
I suspect it may work to make GO111MODULE=on work by taking advantage of go:generate directives being defined to execute in a predictable order, and doing something like: ``` //go:generate go get go…
(Someone may extend that argument to say that it's odd to accept an error return from example and test functions, but not from net/http [handlers](https://pkg.go.dev/net/http#Handler).)
This change is ready for review.
(1 comment) This change is ready for review. (nit) This should maintain a trailing newline. A self-reminder to remember to push a patch set with a fix.
This is before the fix. The test case passes, but it's exhibiting the buggy behavior. The next CL implements a fix and updates the test case to require intended behavior. The test case defines a vcs…
@prattmic Do you happen to have a link to the build handy? I tried looking over the last few https://ci.chromium.org/ui/p/golang/builders/luci.golang.ci/gotip-linux-amd64-noopt and didn't spot this f…
Thanks. I left a comment at https://go.dev/issue/79676#issuecomment-4557824015 on a similar issue. It seems to apply to issue #79677. The test is passing at the tip commit of the main branch. But ma…
@4a6f656c Should we take the next steps towards removing the known issue for this builder, so that it starts to shows up at https://ci.chromium.org/p/golang/g/go-gotip/console instead of only appeari…
Generated with updatestd, though it's equivalent to manually running: cd src/cmd go get golang.org/x/tools@internal-branch.go1.26-vendor # v0.39.1-0.20260527181557-0f52e3809b35 go mod tidy go mod v…
The failures seem to be commits on the dev.simd branch, prior to it being merged into the main branch. The merge conflict that was resolved at https://go-review.googlesource.com/c/go/+/782083/4/src/g…
The failures seem to be commits on the dev.simd branch, prior to it being merged into the main branch. The merge conflict that was resolved at https://go-review.googlesource.com/c/go/+/782083/4/src/g…
The build log is large, but "could not import _gen/sgutil (cannot find package "_gen/sgutil" in any of: ..." seems to be the problem inside.
We should avoid suggesting a fix if the needle or predicate may have side effects. Otherwise, the program behavior may change. For example, in converting from a loop to slices.ContainsFunc, the needl…
(2 comments) Are there still tests that fail when running 'go test os' on Windows without an administrator account after this change? If not, this can become Fixes, otherwise Updates is fine. The n…
Copied votes on follow-up patch sets have been updated: * Code-Review+2 has been copied to patch set 2 (copy condition: "is:ANY"). (3 comments) For golang/go#64169. Though I guess by now that issu…
This Week
I think it's a good idea to add //go:fix inline directive, and as far as I know that is not considered an "API change" and so no proposal needed. But deprecating symbols does need a proposal. Up to y…
Thanks. This was a minimal change to get the test working at tip. It was only afterwards that I realized the entire 1.17 codepath and the test are made obsolete by the go.mod file's go 1.25.0 direct…
runtime.TestGoroutineLeakProfile/Istio18454 failure is not caused by this documentation-only change.
I initially left a 👍 reaction, but have since removed it. I originally thought this package's scope was only to cover the transition period. The commit message of [CL 383375](https://go.dev/cl/38…
dmitshur commented on go/types: add String methods1d
Sent CL 783322.
TestAPIConsistency correctly reports at Go tip that String methods on the TypeList, TypeParamList, and Instance types are inconsistent. They were added in Go 1.27 as part of proposal go.dev/issue/792…
Thanks. [CL 775981](https://go.dev/cl/775981) added a local counter for the target port GOOS/GOARCH, and [CL 776000](https://go.dev/cl/776000) enabled its uploading for Go 1.27+. We should start se…
Thanks. [CL 775981](https://go.dev/cl/775981) added a local counter for the target port GOOS/GOARCH, and [CL 776000](https://go.dev/cl/776000) enabled its uploading for Go 1.27+. We should start se…
Thanks. I take it you mean across multiple lines? Sure, done in PS 3.
The longtest builders in this repository are fast (3 min), and this should help catch problems that tests miss when -short flag is used.
This should be safe to do before or after Go 1.27 RC 1, probably better no later than RC 2. Added that label for visibility.
The two CLs above did the "at the end of dev cycle" update for Go 1.27. Moving to the next.
Closing since this hasn't happened in a while. [CL 588235](https://go.dev/cl/588235) may have helped (or will help for next time it flakes.) Watchflakes will reopen or file a new issue as needed.
Closing since this hasn't happened in a while. [CL 588235](https://go.dev/cl/588235) may have helped (or will help for next time it flakes.) Watchflakes will reopen or file a new issue as needed.
internal/coverage/cfile.TestCoverageApis is a flaky test tracked in issue #74632. It also passed in the parent CL. Bypassing.
dmitshur commented on all: update vendored dependencies1d
It also passed in the next CL. Bypassing.
dmitshur commented on all: update vendored dependencies1d
TestFileAssociatedWithExternalIOCP looks like a pre-existing flaky test, tracked in issue #73726.
@gri@golang.org Since you are the author of this change, and self-review in this repository is not allowed, it would be better to leave a +1 vote with your @google.com account rather than +2. This al…
Pull in the latest published version of github.com/google/pprof as part of the continuous process of keeping Go's dependencies up to date. For #36905. [git-generate] cd src/cmd go get github.com/go…
[CL 767441](https://go.dev/cl/767441) generated a preliminary list for Go 1.27. It's the same list as for Go 1.26 except the macOS minimum version became 13, and that's noted at https://tip.golang.or…
There haven't been any accepted proposals related to old versions of Linux during the Go 1.27 development cycle, so moving to the next milestone.
There haven't been any accepted proposals related to old versions of Windows during the Go 1.27 development cycle, so moving to the next milestone.
[CL 739380](https://go.dev/cl/739380) added an entry to the Go 1.27 release notes. Moving to the next milestone.
Thanks. @olivier.mengue@gmail.com See comments Russ and I left on issue #13440 about why it's difficult to do better. @sean@liao.dev This seems like a bigger question and discussion. `go run` could…
@alexbrainman Your understanding above about longtest builders is right. Only builders with the "longtest" runtime modifier run `go test` without `-short` flag. All other builders run `go test -short…
(3 comments) Consider changing this to: ``` // hasLink reports whether the test filesystem ... func hasLink ... ``` Based on https://go.dev/s/style#mixed-caps. Since the first two return values f…
dmitshur closed a change golang.org/x/mobile: Create SECURITY.md3d
Last Week
dmitshur closed a change golang.org/x/mobile: Create SECURITY.md4d
dmitshur starred github.com/AlekSi/xfail4d
Thanks. This is pretty minor so either one will do. `go 1.24.0` is fine because this go.mod file uses `tool` directives and those were introduced in Go 1.24, so it can't be lower than that. `go 1.26…
(3 comments) Have you tried running this task locally with -dry-run flag? Does the output match your expectations? How long does it take to run? There's quite a bit of regexp matching. Some of the …
This sounds like a useful automatic behavior. It would help make existing CLs (or lack thereof) easier to see, and it would reduce some of the toil involved in [issue gardening](https://go.dev/wiki/G…
I agree that -author:gopherbot is probably a reasonable way to filter out such issues. Still, since the Automation label exists and its description matches, watchflakes might as well use it. Note th…
Thanks for finding where exactly in the tool layer the problem was. I left some minor suggestions. I'm a bit surprised that this exported function isn't documented. https://go.dev/doc/comment sugges…
dmitshur commented on golang.org/x/build: go vet std cmd5d
My recollection of the current behavior from issue #74011 is that: - in the main Go repository, `go test` has a special case to run almost all vet checks that `go vet` would run, not only the usual …
It seems that the recent #79622 is another instance of friction caused by skew, though a slightly different case compared to the more common vendoring case described here. Based on discussion above,…
Thanks. I interpret no comment from Austin as no objection, but otherwise I can follow up. Submitting. (Even if our code owner tracking system is imperfect, this should make it slightly more useful …
dmitshur commented on go/types: add String methods5d
Note that the TestAPIConsistency test in golang.org/x/exp/typeparams starts to fail at tip as of this change: ``` === RUN TestAPIConsistency typeparams_test.go:46: "*Instance.String": got func…
Thanks for doing this. A few minor suggestions. Let's remove 'under' to keep this in sync with the other template, and s/./,/ too. ```suggestion + Keep the title as short as possible, ideally 72 …
Thanks.
Thanks. One of the https://pkg.go.dev/net/http#ResponseWriter behaviors is that: > If WriteHeader is not called explicitly, the first call to Write will trigger an implicit WriteHeader(http.StatusO…
Misc-compile builders are primarily intended for pre-submit, to help quickly catch cases when a non-first class port (one that may not have a builder in the default pre-submit builder set) starts to …
It was fixed in CL 781920. For golang/go#79605. For golang/go#79607.
(1 comment) Since this sentence talks about "repo other than golang/go", it might be more helpful to show an example of that. Maybe vscode-go is a reasonable example of a Go repo with its own dedica…
Thanks. Is the reason this file is placed in a .github/PULL_REQUEST_TEMPLATE directory so that if we want later on to add another template, the diff will be smaller? Right now it's a single template…
Thanks. It's true that these are accessed via assembly in x/sys/unix (and in x/net/internal/socket) for linux/386. However, on linux/390x, they don't seem to be accessed in x/sys/unix at all, only i…
(1 comment) The fix for the PUBLIC-track issue #78916 (CVE-2026-39824), CL 770080, was submitted on April 23rd. It got picked up when the monthly tagging workflow ran on May 8th and tagged x/sys at …
The tagging workflow's findMissingBuilders method already has logic to block on failures within first-class ports. A -misccompile builder may fail due to any number of port(s) running into a problem,…
Based on https://ci.chromium.org/p/golang/g/x-net-gotip-by-go/console?limit=200, it seems that Go tip (1.27 to be) starting with [CL 761481](https://go.dev/cl/761481) runs into a build error in x/net…
Would it be worthwhile to try making the 32K → 16K change @ianlancetaylor suggested in https://github.com/golang/go/issues/78883#issuecomment-4310496625? It's hard to track this issue since it's cu…
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…
@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;…
The Critical label tracks upstream issues; it was applied there (https://github.com/golang/go/issues/79182#event-25767278742) so removing it here.
The Critical label tracks upstream issues; it was applied there (https://github.com/golang/go/issues/79182#event-25767278742) so removing it here.
Earlier
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. :)