The deploy repo NetworkPolicy admits :8100 only from named apps and the traefik/cms-proxy namespaces; agent/script pods time out, so state-tx / cp-cli calls silently lost transitions. Invariant now rejects the in-cluster form and pins the ingress URL. Claude-Session: https://claude.ai/code/session_01N218bERyNeLhbLmDRDvbWF
36 lines
957 B
YAML
36 lines
957 B
YAML
name: test-validate
|
|
version: 1
|
|
description: Validate tests are runnable and non-failing by default
|
|
runtime: script
|
|
input:
|
|
state: test-write-pending
|
|
tags_required: []
|
|
required_artifacts: [test_file]
|
|
output:
|
|
state: test-validated
|
|
scope_budget:
|
|
files_modified_max: 1
|
|
lines_diff_max: 50
|
|
wall_clock_seconds_max: 600
|
|
nodes:
|
|
- id: preflight-test-collection
|
|
kind: script
|
|
cmd: scripts/workflow/preflight-test-collection
|
|
on_fail: refuse_dispatch
|
|
- id: preflight-fixture-lint
|
|
kind: script
|
|
cmd: scripts/workflow/preflight-fixture-lint
|
|
on_fail: refuse_dispatch
|
|
- id: preflight-test-fail-mode
|
|
kind: script
|
|
cmd: scripts/workflow/preflight-test-fail-mode
|
|
on_fail: continue
|
|
- id: state-tx
|
|
kind: script
|
|
cmd: scripts/workflow/state-tx
|
|
on_fail: continue
|
|
runtime_env:
|
|
CP_URL: "https://agents.oreillyit.nz/api"
|
|
STATE_TX_NEW_STATE: test-validated
|
|
STATE_TX_FROM_STATES: test-write-pending
|