From 2a1ad896fac827bc30f0c1e5f1e990242f4c5f54 Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 28 Oct 2026 09:09:23 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Checker=20seat:=20the=20try's=20verb=20also?= =?UTF-8?q?=20replaces=20docker=20run=20postgres,=20as=20the=20controller'?= =?UTF-8?q?s=20try=20did=20(ADR=200547=20=C2=A710,=20issue=20774)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go/catalogue/checker_seat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/catalogue/checker_seat.go b/go/catalogue/checker_seat.go index 7426d2c..e9a5821 100644 --- a/go/catalogue/checker_seat.go +++ b/go/catalogue/checker_seat.go @@ -23,7 +23,7 @@ func checkerVerbs() []Verb { "tests": "a go test -run pattern: only those tests run, and nothing is kept", "level": "unit or integration: only this level; both when absent"}, []string{"repository", "head"}), - Replaces: []string{"sh merge-check.sh"}}, + Replaces: []string{"sh merge-check.sh", "docker run postgres"}}, {Name: "try-read", Optional: true, Description: "Where a try stands, as stored: queued, running, or its end " + "(pass, fail, or error when it could not run), with what was said of it, the head and the trunk commit " + "it was merged onto, the time it took and what failed first. Read-only.", From c527fc722219992055f761a5e0bfb40a6c600f00 Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 28 Oct 2026 09:09:58 +0100 Subject: [PATCH 2/2] Checker seat test: the try replaces both shell commands (issue 774) --- go/catalogue/seats_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/catalogue/seats_test.go b/go/catalogue/seats_test.go index 137cc98..e8b5a51 100644 --- a/go/catalogue/seats_test.go +++ b/go/catalogue/seats_test.go @@ -49,7 +49,7 @@ func TestTheSeatsAreAClosedSetAndEachNamesItsDecision(t *testing.T) { if s.Name == CheckerSeat { for _, v := range s.Serves { checkerVerbs = append(checkerVerbs, v.Name) - if v.Name == "try" && strings.Join(v.Replaces, "|") != "sh merge-check.sh" { + if v.Name == "try" && strings.Join(v.Replaces, "|") != "sh merge-check.sh|docker run postgres" { t.Errorf("try replaces %v", v.Replaces) } }