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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user