mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-16 11:49:28 +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
@@ -167,7 +167,7 @@ def render_task(run: Run, entry: RunTask, manifests: Manifests, base: Path, arti
|
||||
spec["workspaces"] = bindings
|
||||
if task.debug:
|
||||
spec["debug"] = True
|
||||
return [_doc("Task", ax_name, spec, task.metadata.atespace), *docs]
|
||||
return [*docs, _doc("Task", ax_name, spec, task.metadata.atespace)] # ax snapshots bound Workspaces at Task create
|
||||
|
||||
|
||||
class Ax:
|
||||
|
||||
Reference in New Issue
Block a user