A build step's failure contract: go -json and TAP parsers and a conformance kit every build module runs, so a verdict names the failing test (issue 1901) #104

Merged
mesh-tools merged 4 commits from fix/1901-failure-contract into main 2026-10-26 23:44:13 +00:00
Showing only changes of commit 81ec7bd7de - Show all commits
-4
View File
@@ -31,10 +31,6 @@ type Failure struct {
Output string `json:"output,omitempty"`
}
// Version is the version of this contract a build module names in its result (Result.Contract): 1 is the first, a
// failure with a Cause that is never a passing line and an Output of the failing test's own lines.
const Version = 1
// OutputBytes is the most a failure keeps of its output, and LineBytes the most of one line: four kilobytes holds a long
// assertion message and stays far under a bus message's or a verdict's bound.
const (