Repository navigation
docs: fix the quick start (WorkerPool, resume after apply) and examples - #505
Conversation
|
Thanks for opening this and for the schema fix in f93cf54 — that covered the singular binding. I pushed one small follow-up (cf42be4): the header comment still claimed the filename keeps the On the One heads-up while checking: |
|
An alternative idea: Allow an actor template when starting a Task so the user can bring all the custom configuration through the template and we don't have to replicate the Substrate API into AX. See #491. |
|
@cloudonly #508 replaced ko with |
|
Rebased onto main (677da8d); the branch is now up to date and mergeable. Changes since the last review:
The Go / E2E / Check Binaries workflows are waiting for approval ("action required") on this fork PR. Could someone approve them? Thanks @mayawang. |
|
Thanks for rebasing! Since a task takes one workspace now, multi-workspace.yaml is just a repo example. Could you rename it (repo-workspace.yaml?) or drop it, since examples/task.yaml covers the same thing? |
|
Small update: we're consolidating the examples around one realistic one (#513), so please drop multi-workspace.yaml rather than rename it. The WorkerPool example and the rest look good. |
677da8d to
92cedf0
Compare
|
Done — dropped |
|
Thanks for sticking with this! One more round now that #513 landed: it replaces examples/task.yaml with simple.yaml, so the quick start should use that. And since the README is meant to stay the short path, could the WorkerPool step be a couple of lines pointing to examples/workerpool.yaml and the install guide, instead of the ko walkthrough? The resume fix is great as is. |
…ti-workspace example The quick start jumped from deploying the control plane straight to running a task, but nothing creates a WorkerPool: the first ax resume fails with ResourceExhausted (no free workers available) until one is applied. Add a step that applies examples/workerpool.yaml, with guidance on the ate.dev/substrate-version nodeSelector label and the ko apply flow from a Substrate checkout. New tasks are stored Suspended and only start on ax resume, so the quick start now resumes task123 after applying it instead of showing Running straight away, and notes that a slow first resume does not mean failure. docs/manifests.md links to examples/multi-workspace.yaml, which did not exist; add it as a Task binding two Workspaces (one git-backed, one built from inlined files).
google#496 moves AX to one workspace per task, so the example linked from docs/manifests.md now shows a Task bound to a single git-backed Workspace instead of composing two. The filename is kept so the link keeps resolving.
google#496 removed the docs/manifests.md link to this file, so the header comment no longer needs to claim the filename keeps that link resolving.
Substrate v1.0.0-rc.1 serves WorkerPool only as ate.dev/v1.
… step examples/task.yaml was replaced by simple.yaml in google#513. The WorkerPool step now links to examples/workerpool.yaml and the installation guide instead of walking through ko.
92cedf0 to
e1bbcb9
Compare
|
Thanks @mayawang, updated and rebased onto main (
AI disclosure: These changes and this reply were prepared with assistance from Claude. |
|
Thanks @cloudonly, this reads really well now. Re-checked, LGTM! |
Opened on behalf of @cloudonly while PR creation is limited to collaborators (#448). All commits are theirs. @eren23 verified the branch on a kind cluster.
Fixes #437 (the quick start never creates a WorkerPool, so the first Task fails with ResourceExhausted), #426 (the quick start shows Running, but new tasks start Suspended) and #425 (docs/manifests.md links to an example that doesn't exist):
Docs and examples only.