test(host): run production finalization wiring assertions without a skip
Separate the parked publication harness from the production armPhase1 checks so required hooks and the unarmed finalization gate remain covered.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+4
−1
internal/host/movesfinal_test.go+4 −1
diff --git a/internal/host/movesfinal_test.go b/internal/host/movesfinal_test.go| index ad8cb85d7..09fce6dbf 100644 |
| --- a/internal/host/movesfinal_test.go |
| +++ b/internal/host/movesfinal_test.go |
| @@ -785,7 +785,7 @@ func TestMovesParticipantRecord(t *testing.T) { |
| // Production leaves the finalization unarmed (no park engine leases until |
| // Plan 5, ruling G17) but wires the registry's delete; an unarmed pass |
| // changes nothing. |
| -func TestSourceParkWaitsUnarmedInProduction(t *testing.T) { |
| +func TestSourceParkWaitsWhenHooksMissing(t *testing.T) { |
| t.Parallel() |
| skipParkedSecretFlow(t, "the move's install places <host>.env, so its prepared manifest is refused (BuildPrepared, wantEnv)") |
| h := newFinalHarness(t) |
| @@ -805,6 +805,9 @@ func TestSourceParkWaitsUnarmedInProduction(t *testing.T) { |
| h.untouched(t, name) |
| h.cfg = saved |
| } |
| +} |
| + |
| +func TestSourceParkWaitsUnarmedInProduction(t *testing.T) { |
| var prod moveCfg |
| reg, err := registry.Open(filepath.Join(t.TempDir(), "r.db")) |
| if err != nil { |