A module moves only when its program changes (hq issue 721) #336

Merged
mesh-admin merged 7 commits from fix/a-module-moves-only-when-its-program-changes into main 2026-10-14 20:21:06 +00:00
Showing only changes of commit b34055f580 - Show all commits
+1 -1
View File
@@ -111,7 +111,7 @@ func TestAWalkWhoseEveryBuildCameOutTheSameIsDone(t *testing.T) {
// What runs: the module registered with that build's image (RegisteredHeld reads the module table).
if err := inv.RegisterModule(ctx, catalogue.Manifest{Module: "one", Version: "1", Resources: []map[string]any{
{"id": "app", "type": "container", "name": "one", "image": "store/one@sha256:aaaa"}}},
inventory.Source{Repository: "novox/one", Ref: "main", BuiltFrom: "c0", Asked: t0.Add(-time.Hour)}); err != nil {
inventory.Source{Repository: "novox/one", Ref: "main", BuiltFrom: "c0", Asked: time.Now()}); err != nil {
t.Fatal(err)
}
pull := link.PullRef{Owner: "novox", Repo: "one", Number: 7}