-
Notifications
You must be signed in to change notification settings - Fork 18k
x/build/cmd/golangbuild: update result_adapter to handle Go 1.24's go test -json output #70435
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
Related Code Changes (Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
Change https://go.dev/cl/634237 mentions this issue: |
We'll drop it from tip and the new release-branch.go1.24 branch as soon as result_adapter is ready to handle events that contain ImportPath but not Package fields, but that's not the case this week. For golang/go#70402. For golang/go#70435. Change-Id: Ibd5ce399e2b8e072eb9066a1d304964b41f6cc1b Reviewed-on: https://go-review.googlesource.com/c/build/+/634237 Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
crrev.com/c/6174231 updates result_adapter with better support for Go 1.24 structured build events. After that's in, we can stop setting GODEBUG=gotestjsonbuildtext=1 in configuration. |
Change https://go.dev/cl/642995 mentions this issue: |
Change https://go.dev/cl/642996 mentions this issue: |
As part of a gradual rollout, apply the change to one repo first. For golang/go#70435. Change-Id: I20e15cd5c72b6119696d701fe5b51b3dd6c5a417 Reviewed-on: https://go-review.googlesource.com/c/build/+/642995 Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
This is viable to do now that result_adapter is updated with better support for Go 1.24 structured build events (CL crrev.com/c/6174231). Fixes golang/go#70435. Change-Id: I9afbc244438c2f8c1b0c4fddcf0bf3a04ffd6bcd Reviewed-on: https://go-review.googlesource.com/c/build/+/642996 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
Closed by merging CL 642996 (commit golang/build@ce98cb1) to |
Go 1.24 gained support for emitting build events in structured JSON on stdout, instead of the usual unstructured output on stderr (proposal #62067, release note).
This issue is a continuation of #70402 (comment), tracking the change needed on the LUCI side to be able to take advantage of this new feature.
CC @golang/release, @mknyszek.
The text was updated successfully, but these errors were encountered: