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:
Marius Ciepluch
2026-09-29 20:26:30 +02:00
co-authored by Claude Opus 5.5
parent 14ea48b1ea
commit 30e4778b11
6 changed files with 78 additions and 12 deletions
+1 -1
View File
@@ -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: