]> Cypherpunks repositories - gostls13.git/commit
cmd/go: track root failing Action
authorAustin Clements <austin@google.com>
Tue, 17 Oct 2023 21:21:47 +0000 (17:21 -0400)
committerAustin Clements <austin@google.com>
Sun, 17 Nov 2024 14:32:03 +0000 (14:32 +0000)
commit9060fa5afd52fcdb60c09e26c73f5980520ca9f9
tree9e7bdf2ba72e79027e433046fe3757adb5cbbe22
parent49b3ab0d81824f060b9ba459a076f6ff9ad04bc6
cmd/go: track root failing Action

Currently, each Action tracks whether it failed, which is propagated
up from dependencies. Shortly, we'll need to know the root cause if a
test fails because of a build failure. To support this, replace the
Failed boolean with a Failed *Action that tracks the root Action that
failed and caused other Actions to fail.

For #62067.

Change-Id: I8f84a51067354043ae9531a4368c6f8b11d688d5
Reviewed-on: https://go-review.googlesource.com/c/go/+/536398
Reviewed-by: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/internal/test/test.go
src/cmd/go/internal/work/action.go
src/cmd/go/internal/work/exec.go