Refuse a converged genesis on a machine in use, naming every container and listener counted (hq ADR 0100)

This commit is contained in:
2026-09-22 17:29:32 +02:00
parent 3964d9da0a
commit 4811f176fd
3 changed files with 217 additions and 0 deletions
+5
View File
@@ -105,6 +105,11 @@ func Preflight(ctx context.Context, o Options, d Deps, say func(string)) ([]byte
if err := waitForRuntime(ctx, d.Run, o.Timeout, o.Wait, say); err != nil {
return nil, err
}
// A converged genesis refuses a machine in use (novox/hq ADR 0100) — asked once the runtime
// answers, so what it runs can be counted, and before anything changes.
if err := RefuseAMachineInUse(ctx, o, d.Run, say); err != nil {
return nil, err
}
// 4. Can this machine reach what the bundle's images come from?
//