From 5f13bf0aff9c7b584054b53b237d646dfc5d42ce Mon Sep 17 00:00:00 2001 From: jochen Date: Tue, 13 Oct 2026 07:01:47 +0200 Subject: [PATCH] Register R363: a README-only merge made a new digest of an unchanged Go program (hq issue 363) Proved with replays/cmd/prove: it fails on mesh-controller #292's first parent and passes on its merge. --- replays/register.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/replays/register.go b/replays/register.go index 3a5ce65..a80a51a 100644 --- a/replays/register.go +++ b/replays/register.go @@ -549,6 +549,19 @@ var Register = []Replay{ Package: "./cmd/mesh-controller", Test: "TestReplay348AFaultFromBeforeTheSendFailsNoGate", Files: []string{"cmd/mesh-controller/replay348_test.go"}, Home: "mesh-controller", HomeRef: "6eea92c323f4862d4162f9d977c8783d8a62efc3"}, + // A README-only merge made a new digest of an unchanged Go program (2026-10-13): a module built from its + // repository's root is compiled with the clone's .git in view, and Go stamped the commit into the binary — the + // node-engine on the laptop carried vcs.revision=7a41e120… — so a rebuild of an unchanged build source was a new + // program (novox/hq ADR 0267 rule 6). The builder run whole, Build to the packed bundle, at two commits differing + // only in README.md, with the toolchain's command run on this machine; written with only what the builder had + // before. Fix is the merge of its pull request (mesh-controller #292); Home is the commit that added the replay, + // reachable once its pull request merges. + {ID: "R363", Issue: 363, Kind: InRepository, Repository: "mesh-controller", Fix: "cd6757f1e3c818bc6043178bfb4edb42b8f3c63d", + What: "two builds of a Go module built from its repository's root, at commits differing only in its README, " + + "made two digests: the commit was stamped into the binary", + Asserts: "two builds of one Go module whose sources differ only outside its build source give one digest", + Package: "./internal/builder", Test: "TestReplay363", Files: []string{"internal/builder/replay363_test.go"}, + Home: "mesh-controller", HomeRef: "94c928b1f5af099c328eb6950550b6380df24b31"}, } // Find is the replay of that id, or of that issue. -- 2.54.0