-
Notifications
You must be signed in to change notification settings - Fork 18k
x/build/buildlet: add context support #35707
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
Comments
Change https://golang.org/cl/207908 mentions this issue: |
(And update all the callers in the tree.) Updates golang/go#35707 Change-Id: I504ef73ea4ba7f8028f47a658c1cd519c7b5d986 Reviewed-on: https://go-review.googlesource.com/c/build/+/207908 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Change https://golang.org/cl/208157 mentions this issue: |
(And update all the callers in the tree.) Updates golang/go#35707 Change-Id: I54769bbe374f31ae1dd07776b27818db91ce8c70 Reviewed-on: https://go-review.googlesource.com/c/build/+/208157 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
I suspect CL 207908 and CL 208157 made a lot of progress on this, and we're in a state where most buildlet methods that should have a context already have it. For the rest, we may add context when there's a need, or leave it as is otherwise. There's probably not much remaining value in keeping this issue open since it's less actionable now, so we can consider closing it as done. CC @cagedmantis who's working with the buildlet API recently as part of #47521 and may have thoughts on this. |
Change https://go.dev/cl/407555 mentions this issue: |
The coordinator relies on Exec reporting that the given timeout was exceeded in order to mark a build as failed instead of retrying it. A refactor resulted in Exec no longer doing that, despite what its documentation promises, so fix that. Also add a test since evidence shows that catching a regression can be helpful. For golang/go#42699. Updates golang/go#35707. Change-Id: Iacef90b83e7b81fad88a33baa6489d5157e3528f Reviewed-on: https://go-review.googlesource.com/c/build/+/407555 Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
We can call this done. At least no use in tracking this via an open issue anymore. |
The build system in general predates the context package.
The coordinator and other pieces have started using contexts over time, but the biggest missing piece right now is the buildlet package.
This is a tracking bug to add context support to the buildlet client.
The text was updated successfully, but these errors were encountered: