Name the pull request a failure is of, so its last failure is found after its candidate is gone

This commit is contained in:
2026-10-30 10:58:16 +01:00
parent 16bc0dcf3e
commit 530d8d3007
+3
View File
@@ -147,6 +147,9 @@ type FailedFirst struct {
Step string `json:"step,omitempty"`
Module string `json:"module,omitempty"`
Run string `json:"run,omitempty"`
// Pull is the pull request whose check failed, <owner/repo>#<number>: a verdict outlives its candidate, and a reader
// finds a pull request's last failure by it.
Pull string `json:"pull,omitempty"`
}
// MaxFailures is the most entries a verdict's Failures holds (issue 1921): fifty tests named one by one, and an entry