mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-17 12:09:27 +00:00
fix(plane): apply a Task after the Workspaces it binds; end-to-end smoke Run
On the live cluster ax created the Task before its Workspace in the same apply and the runner saw an empty AX_WORKSPACES_YAML. Tests now find rendered documents by kind and name, not position. ops/ax/smoke-run.sh renders a model-free repo-facts Run with the current runner digest and executes it through the reconciler. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EmM1j46qgKMh3zqD1QMwEo
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
14ea48b1ea
commit
30e4778b11
@@ -73,8 +73,9 @@ def test_validation_run_resolves_and_renders_every_task(tmp_path: Path) -> None:
|
||||
assert not non_ax_fields(doc["spec"], AX_FIELDS[doc["kind"]], doc["kind"])
|
||||
assert set(doc["metadata"]) <= {"name", "atespace"}
|
||||
assert len(doc["metadata"]["name"]) <= 63, doc["metadata"]["name"]
|
||||
assert docs[0]["metadata"]["name"] not in ax_names
|
||||
ax_names.add(docs[0]["metadata"]["name"])
|
||||
assert docs[-1]["kind"] == "Task"
|
||||
assert docs[-1]["metadata"]["name"] not in ax_names
|
||||
ax_names.add(docs[-1]["metadata"]["name"])
|
||||
|
||||
|
||||
def test_inputs_carry_the_validation_set() -> None:
|
||||
|
||||
Reference in New Issue
Block a user