-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/build: use streaming RPC to list gomote files #69732
Comments
Related Issues and Documentation (Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
Change https://go.dev/cl/617155 mentions this issue: |
Change https://go.dev/cl/617056 mentions this issue: |
Change https://go.dev/cl/617057 mentions this issue: |
Change https://go.dev/cl/617161 mentions this issue: |
Change https://go.dev/cl/617160 mentions this issue: |
A following CL regenerates the gomote protobuf files, so update to the most recent gRPC/protobuf modules while we're at it. For golang/go#69732 Change-Id: I5de0a5c536ee027556e7bd66d485e6c7658d8a73 Reviewed-on: https://go-review.googlesource.com/c/build/+/617155 Reviewed-by: Carlos Amedee <carlos@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Direct comparison of proto messages (*a == *b) is not supported. Use proto.Equal instead. For golang/go#69732 Change-Id: I14db4806e37519a1b988db99ed6c5f5c0284c52b Reviewed-on: https://go-review.googlesource.com/c/build/+/617056 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Carlos Amedee <carlos@golang.org>
I am interested in working for this issue. |
Add a internal/cmd/update-protos command which regenerates all protobuf files within the repo, using the versions of the code generators listed in the go.mod file. Replace the per-directory //go:generate commands with a single top-level one. Regenerate all .pb.go files. For golang/go#69732 Change-Id: I337badfb49fc29f638d71eee609d5995262ccd75 Reviewed-on: https://go-review.googlesource.com/c/build/+/617057 Reviewed-by: Carlos Amedee <carlos@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
ListDirectory responses can overflow the maximum RPC message size. Add a streaming version which returns its results in chunks. For golang/go#69732 Change-Id: I3f7d50a3899f0cbc9954da89a26906f1f5850a93 Reviewed-on: https://go-review.googlesource.com/c/build/+/617160 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Carlos Amedee <carlos@golang.org>
Change https://go.dev/cl/617515 mentions this issue: |
Related Issues and Documentation (Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
For golang/go#69732 Change-Id: I72ef0672cfffa7d33afd44f886c67933242801fb Reviewed-on: https://go-review.googlesource.com/c/build/+/617515 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Use the streaming directory listing RPC to avoid overflowing the maximum RPC response size. For golang/go#69732 Change-Id: I2529d3788843844e3ccdde79c12c5c453b09bb25 Reviewed-on: https://go-review.googlesource.com/c/build/+/617161 Reviewed-by: Carlos Amedee <carlos@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
The number of files on a gomote has passed an RPC size limit event horizon. I can no longer run
gomote push
more than once:Perhaps we can increase that limit, but a more future-proof solution would be to use a streaming RPC to list files.
The text was updated successfully, but these errors were encountered: