_content/doc/go1.27: document go test -json output annotation Updates golang/go#62728. Change-Id: Id6b1f26bd87779a9f942ed9dfa5fd4dc805c75e5 Reviewed-on: https://go-review.googlesource.com/c/website/+/788980 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
diff --git a/_content/doc/go1.27.md b/_content/doc/go1.27.md index f33aa4c..4caa92a 100644 --- a/_content/doc/go1.27.md +++ b/_content/doc/go1.27.md
@@ -52,6 +52,13 @@ for the Go version in force in the referring file, as determined by `go` directive in `go.mod` and build tags on the file. +<!-- go.dev/issue/62728 --> + +`go test -json` now annotates `"Action":"output"` lines with an optional +new field `"OutputType"`, specifying the type of output. +Currently, the possible values include "error", "error-continue", and "frame". +See [cmd/test2json help](/cmd/test2json#hdr-Output_Format) for details. + <!-- go.dev/issue/78090 --> The `go` command no longer has support for the `bzr` version control system. @@ -551,13 +558,6 @@ Some of them may not need any documentation or may be false positives from automation. -### TODO: accepted proposal [/issue/62728](/issue/62728) (from [/cl/601535](/cl/601535), [/cl/628615](/cl/628615), [/cl/751940](/cl/751940)) - -- `testing: annotate output text type` -- `testing: annotate output text type` -- `cmd/internal/test2json: generate and validate test artifacts` -- `testing: escapes framing markers` - ### TODO: accepted proposal [/issue/63741](/issue/63741) (from [/cl/723102](/cl/723102)) - `doc/godebug: allow carve out for GODEBUGs introduced in security releases`