Activity

Today
dmitshur fixed an issue golang.org/x/build: auto-detect flakes2h
I think we can call this done. https://go.dev/wiki/Watchflakes
dmitshur commented on runtime: remove ret field from gobuf2h
Not sure if it's the same underlying issue or not, but noting that perf_vs_release also broke on linux/amd64 (but not on linux/arm64), e.g., https://ci.chromium.org/b/8721827199841767905.
The 'tour/v0.1.0' tag has been made. Nothing more to do here than to close the CL, since it's not intended to be submitted.
We've retracted all versions of the unintended x/website/tour module in [v0.1.0](https://pkg.go.dev/golang.org/x/website/[email protected]?tab=versions) (including v0.1.0 itself), so now installing or runn…
See my comment above. The CL isn't intended to be rebased on HEAD and submitted. It's meant to be tagged only. The parent is intentionally chosen as the very last commit before tour/go.mod was delete…
(1 comment) This change is ready for review. This CL is to review a commit intended to be tagged as "tour/v0.1.0", in order to publish a v0.1.0 version of the golang.org/x/website/tour module. Othe…
(1 comment) Doesn't need to be this CL, but you'll likely also want to update the primary Gerrit email so that gopherbot doesn't use the previous one: ```suggestion addPerson("Tim King", "taking@g…
It appears this issue is resolved by now. The plan9-386 bot is currently alive and [working](https://ci.chromium.org/ui/p/golang/builders/luci.golang.ci/gotip-plan9-386). Thanks.
dmitshur commented on net: return proper error from Context10h
(1 comment) Since the named error return value isn't being used in a defer or a bare return, and the name "err" doesn't add more context that the "error" type already communicates (in contrast to us…
Yesterday
Fixed by [CL 468355](https://go.dev/cl/468355) (commit golang/tools@c3550e9181961ca59dfc54232f9690ee4794dbe1).
Fixed by [CL 468355](https://go.dev/cl/468355) (commit golang/tools@c3550e9181961ca59dfc54232f9690ee4794dbe1).
Fixed by [CL 468355](https://go.dev/cl/468355) (commit golang/tools@c3550e9181961ca59dfc54232f9690ee4794dbe1).
It stopped being a nested module and its content was merged into x/website in CL 323897. It was never intended to be a published module, rather it happened to be one during earlier development of x/w…
@ericfrederich Yes, there is a workaround, as mentioned in the original report: > A workaround is to specify `@HEAD` or the exact version of tour one wants. For example, `go run golang.org/x/websit…
Thanks. Ah, never mind, the \\d+ vs -vendor suffix is different.
Thanks. I think you need to fix formatting to fix trybots; I'll add review vote after that. Optional suggestion. Might be slightly simpler to use a single regexp that matches both: ``` "private-(re…
@jsteenb2 The intersection of directories "testdata" and "vendor" is an interesting edge case. (It's possible it already came up and was discussed in a prior issue.) It may be reasonable to expect th…
O_DIRECTORY is not available on all platforms, as described at https://nodejs.org/docs/latest/api/fs.html#file-open-constants . On Windows, only O_APPEND, O_CREAT, O_EXCL, O_RDONLY, O_RDWR, O_TRUNC…
Removing Critical from backport issue, it only applies to upstream issues (which already has it).
Removed Critical label here, since it only applies to upstream issues.
@gopherbot Please add this issue for us to consider for backport to 1.24. I can be convinced otherwise, but not sure if this meets the bar: the experimental js/wasm port is intended to run in browse…
An unrelated flake. Not enough information to make any changes now (maybe the 'search' endpoint sometimes produces fewer results?), so will let watchflakes report how often it happens in CI.
A fix for https://github.com/rsc/rf/issues/30 has landed.
LGTM. Thanks. I'm not sure how helpful it is to use goimports instead of using gofmt. I think gofmt would be helpful and sufficient. But if you think there's enough upsides to goimports, let's ke…
dmitshur deleted branch in rsc.io/rf1d
fix-windows
dmitshur deleted branch in rsc.io/rf1d
preserve-tab
Thanks for doing this. I suggest reducing the scope to test only the module in v3.3 (and v3.4 when that’s in), not the top-level one with v3.2 and older. We’re not doing development for v3.2 a…
dmitshur starred github.com/ttkb-oss/dedup1d
This Week
Thanks for getting to that trace. Yes, it looks like swarming_bot's logic for auto-detecting information about the CPU in order to populate its dimensions doesn't work as expected on the machine you'…
Test of CloudBuild.GenerateAutoSubmitChange is complete. Closing.
Thanks. One minor optional comment. This is a minor and unlikely edge case, but consider a sequence where: 1. a draft release is created with CreateRelease 2. one of its fields (other than "draft")…
(1 comment) Yeah, we have that in some places, and this approach as well (e.g., [here](https://cs.opensource.google/search?q=%22flag.Lookup(%5C%22test.run%5C%22)%22&sq=&ss=go%2Fx%2Fbuild)). My inte…
Copied Votes: * Code-Review+1 (copy condition\*: "**is:ANY**") Outdated Votes: * LUCI-TryBot-Result+1 (copy condition: "changekind:NO_CODE_CHANGE") \* The label has `labelCopyEnforcement` or `label…
(1 comment) Can be more precise here: there are 4 leases to add the 4 instances, though only 3 unique makeLeaseRequest calls - one per image config and its cert/key pair. Reworded in PS 3 to clarify.
Copied Votes: * Code-Review+1 (copy condition\*: "**is:ANY**") Outdated Votes: * LUCI-TryBot-Result+1 (copy condition: "changekind:NO_CODE_CHANGE") \* The label has `labelCopyEnforcement` or `label…
This should be fixed now per above. See https://ci.chromium.org/ui/p/golang/builders/ci/x_tools-go1.23-js-wasm, and in particular, https://ci.chromium.org/b/8721951848493527569 is the first build wit…
This is done via the CL mentioned above. There's some cleanup for after Go 1.23 stops being supported, but we don't need to keep this open for that.
This is done via the CL mentioned above. There's some cleanup for after Go 1.23 stops being supported, but we don't need to keep this open for that.
In that section, where the 3 parts of go-import are being explained, the following written for "vcs": > `vcs` is the version control system. It must be one of the tools listed in the table below or …
Makemac already takes on increasing instance count when the current amount falls under the configured MinCount, and decreasing instance count down to zero when an image outright stops being used. Ex…
> Can we (hopefully temporarily) disable the go1.N-1 js/wasm builder for the x/tools/gopls module? Yes, that's certainly fine. > I filed issue #71902 with the long term fix for the builders. Unfort…
Sent [crrev.com/c/6299734](https://crrev.com/c/6299734).
(1 comment) Yeah, this is certainly still not ideal. It started out with hardcoded step constants in the completedGeneratingCL method, which was really not great. As you say, adding an extra step is…
(3 comments) Oh, I understand my confusion now. I was thinking of the "target" property with "goos" and "goarch" values. We do in fact set those on every builder definition ([here](https://cs.opens…
Copied Votes: * Code-Review+1 (copy condition\*: "**is:ANY**") Outdated Votes: * LUCI-TryBot-Result-1 (copy condition: "changekind:NO_CODE_CHANGE") \* The label has `labelCopyEnforcement` or `label…
(1 comment) This doesn't work on Windows due to a problem in git-generate (https://github.com/rsc/rf/issues/30). I sent a fix which is enough to make this work (tested [here](https://ci.chromium.org…
DO NOT REVIEW, DO NOT SUBMIT. This is meant to test out fixes for https://github.com/rsc/rf/issues/30 and https://github.com/rsc/rf/issues/31.
dmitshur pushed to main in rsc.io/rf4d
b943bdc84d57d1e4dbd28a0a3652e865bc6e93fdgo.mod: change module path to github.com temporarily
dmitshur pushed to main in rsc.io/rf4d
464a00f1ddc499a268bc75cf665d08232f8e524ego.mod: change module path to github.com temporarily
The git log command is considered porcelain, and by default it expands tabs into spaces, which can break some scripts that are sensitive to whitespace changes. It's possible to add the --no-expand-ta…
For some reason, on Windows, git prints the path with '/' separators instead of '\'. This by itself isn't a problem, but it intersects poorly with prefix-based relative path computation in walkGit: …
dmitshur pushed to preserve-tab in rsc.io/rf4d
535a5b468fe318cea8b7e8684da6ed06467ffe9egit-generate: use git cat-file to get the raw commit message body
dmitshur pushed to main in rsc.io/rf4d
0c28ee4179d4e6b7b47ac440c18615fdc855546fgit-generate: use git cat-file to get the raw commit message body
f05d41ac864e27330647ba11196a63c1edc34fe4git-generate: clean gitdir filepath on Windows
dmitshur pushed to fix-windows in rsc.io/rf4d
5c606478e2987df18dea50a9b5197fe2f2373ecbgit-generate: clean gitdir filepath on Windows
Consider any git-generate script that happens to contain tab characters; for example: ``` [git-generate] cat <<EOF | wc -c > out.txt . EOF ``` Running that under bash -e, or by placing it in a fil…
Trying to use git-generate on Windows seems to ouright not work, failing with an error like: cannot compute relative path: C:/reporoot vs C:\reporoot\file.txt This reproduces with git on 2 Windows…
dmitshur pushed to main in rsc.io/rf4d
c3d83cad7da234ba7350c55234c7b85c83f22b3dgit-generate: use git cat-file to get the raw commit message body
c368e67ac3ef33c64850a6c49918a7b95d20a8a7git-generate: clean gitdir filepath on Windows
dmitshur created branch in rsc.io/rf4d
fix-windows
dmitshur created branch in rsc.io/rf4d
preserve-tab
dmitshur forked in rsc.io/rf4d
(1 comment) Let's drop the '#' before the number, it causes it to get interpreted as an issue number rather than the CL as you intended. ```suggestion CL 568616. This means that the late lower pass…
Last Week
Yeah, this is indeed related to the new toolchain behavior introduced in Go 1.21, and the wasm builders not yet being updated to handle it. We just haven't really noticed it until now. I filed issue…
The first GOARCH=wasm port was added [in Go 1.11](https://go.dev/doc/go1.11#wasm), way before the [Go 1.21 toolchain selection/switching](https://go.dev/doc/toolchain) behavior was added. Builders t…
Thanks for taking a look at this @mengzhuo. Deleting LUCI bots is currently requires administrative access. If it's viable to extend access to you as the bot owner, we'll do that, but for now you ha…
Thanks for taking a look at this @mengzhuo. Deleting LUCI bots is currently requires administrative access. If it's viable to extend access to you as the bot owner, we'll do that, but for now you ha…
Copied Votes: * Code-Review+1 (copy condition\*: "**is:ANY**") Outdated Votes: * LUCI-TryBot-Result-1 (copy condition: "changekind:NO_CODE_CHANGE") \* The label has `labelCopyEnforcement` or `label…
The GenerateAutoSubmitChange API is hopefully slightly simpler, but mostly I'm using this small task as a convenient way to test out both the real Cloud Build implementation and the fake at a more fi…
(1 comment) `r.Body.Close` [should happen](https://pkg.go.dev/net/http#pkg-overview) even if status code is unexpected; re-arranging their order gets you that behavior: ```suggestion defer r.Body.…
Thanks. That's one of the advantages of doing `if new, err := ...; err != nil` over `new, err := ...; if err != nil`, i.e., can't accidentally reuse it after the if block.
(2 comments) Thanks, at first glance that's unexpected to me, I thought we try to always set it. I'll take a look at that, but no need to make changes here now. Thanks. Sure; I'm referring to this …
(1 comment) Is it intentional PS 2 makes the change in the other file but not here?
Whoops, yeah. Hmm, if MoveChange succeeds and RebaseChange gets here, newCI from successful MoveChange will be overwritten with the original one. I guess you don't want that? Since you're already c…
Thanks. (nit) The comment and `var httpErr` line order seem swapped? I think it'd be nice for this to not to ignore the status code, since the docs for this endpoint promise 409 Conflict in this ca…
dmitshur reviewed +2 on crypto/rand: add example for Int6d
Thanks. Re-adding votes from PS 3.
Thanks! Some minor comments. It's great to have automation notice when a builder needs attention and CC its owners for awareness. I understand it'll be mostly up to humans to follow up on the issue,…
Thanks. One question for Roland, since the build constraint affects the language version in addition to specifiing the minimum toolchain. This is the only loop, and it's not the kind whose behavior …
Copied Votes: * Code-Review+1, Code-Review+2 (copy condition\*: "**is:ANY**") Outdated Votes: * LUCI-TryBot-Result+1 (copy condition: "changekind:NO_CODE_CHANGE") \* The label has `labelCopyEnforce…
Copied Votes: * Code-Review+1 (copy condition\*: "**is:ANY**") Outdated Votes: * Commit-Queue+1 (copy condition: "changekind:NO_CODE_CHANGE") \* The label has `labelCopyEnforcement` or `labelCopyRe…
(1 comment) This change is ready for review. Resolved via CL 650156, so this can be removed now. Done in PS 4.
Copied Votes: * Code-Review+1, Code-Review+2 (copy condition\*: "**is:ANY**") Outdated Votes: * LUCI-TryBot-Result+1 (copy condition: "changekind:NO_CODE_CHANGE") \* The label has `labelCopyEnforce…