Register the replay of issue 305, run in the catalogue module it lives in (hq ADR 0237)
mesh/merge-gate pass: the change touches no module of the mesh's graph
mesh/repo-check pass: its merge-check.sh passed, each part in its toolchain: merge-check.sh (typescript), replays/merge-check.sh (go)
mesh/delivery delivered

A catalogue module is a Go module of its own, so the prover runs a replay
in the directory its register entry names. R305 fails on the commit before
the fix and passes on it.
This commit is contained in:
jochen
2026-10-08 10:11:57 +02:00
parent 35babebbd1
commit 09d347a045
2 changed files with 17 additions and 2 deletions
+2 -2
View File
@@ -128,11 +128,11 @@ func run(r replays.Replay, repos, at string, fixed bool) (string, string) {
return verdictOf(string(out), err, false)
}
mode := "-mod=vendor"
if _, err := os.Stat(filepath.Join(tree, "vendor")); err != nil {
if _, err := os.Stat(filepath.Join(tree, r.Module, "vendor")); err != nil {
mode = "-mod=mod"
}
cmd := exec.CommandContext(ctx, "go", "test", "-count=1", "-run", "^"+r.Test, r.Package)
cmd.Dir = tree
cmd.Dir = filepath.Join(tree, r.Module)
cmd.Env = append(os.Environ(), "GOFLAGS="+mode, "GOPRIVATE=git.novox.be")
out, err := cmd.CombinedOutput()
return verdictOf(string(out), err, r.Kind == replays.Gate)