fix: declare runtime_env on state-tx nodes in test-validate@1 and frozen-fixture-emit@1

state-tx exits 2 without CP_URL and STATE_TX_NEW_STATE. Each template's
target state is its own output.state (test-validated / test-skeleton-ready).
Adds an invariant test.

Claude-Session: https://claude.ai/code/session_01N218bERyNeLhbLmDRDvbWF
This commit is contained in:
Paul O'Reilly
2026-10-01 16:08:39 +13:00
parent 58612d9734
commit c5a5293edc
3 changed files with 37 additions and 2 deletions

View File

@@ -20,4 +20,7 @@ nodes:
- id: state-tx
kind: script
cmd: scripts/workflow/state-tx
on_fail: continue
on_fail: continue
runtime_env:
CP_URL: "http://controlplane.agent-runtimes.svc.cluster.local:8100"
STATE_TX_NEW_STATE: test-skeleton-ready

View File

@@ -28,4 +28,7 @@ nodes:
- id: state-tx
kind: script
cmd: scripts/workflow/state-tx
on_fail: continue
on_fail: continue
runtime_env:
CP_URL: "http://controlplane.agent-runtimes.svc.cluster.local:8100"
STATE_TX_NEW_STATE: test-validated