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 e6a28a2d28 - Show all commits
+2
View File
@@ -102,11 +102,13 @@ func leaveSameAsRunning(ctx context.Context, inv *inventory.Inventory, plan *inv
builds, err := checkedBuildsOf(ctx, pulls)
if err != nil {
fmt.Printf(" the checks' builds could not be read, so every module moves: %v\n", err)
// empty-on-error: said above; nothing left out of the walk is the safe answer, every module moves as before
return nil
}
held, err := inv.Held(ctx)
if err != nil {
fmt.Printf(" what the mesh holds could not be read, so every module moves: %v\n", err)
// empty-on-error: said above; nothing left out of the walk is the safe answer, every module moves as before
return nil
}
same := sameAsRunning(plan, builds, held)