You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The quick start shows Running after ax apply, but new tasks start Suspended #426
What happens: In the README quick start, ax get tasks shows PHASE Running right after ax apply. CreateTask (internal/server/server.go:141) always stores a new task with phase Suspended. The task does not start until ax resume task <name>. demo.sh does this and says so, but the README does not.
Suggested fix: Add ax resume task task123 to the quick start after ax apply, or document that new tasks start suspended.
Environment: google/ax d0bc38b and Agent Substrate 1d7ca8c, on a local kind cluster (Docker Desktop on Apple Silicon).
Fix ready on my fork: docs/quick-start-workerpool-and-examples (diff vs upstream) — PR creation is currently rejected by the repo's collaborators_only policy (as tracked in #358), so I'm leaving the branch here and will open the PR as soon as that allows.
For this issue, the quick start now runs ax resume task task123 right after ax apply (matching CreateTask storing new tasks as Suspended), keeps the sample ax get tasks output as post-resume Running, and notes that a slow first resume usually means workspace initialization rather than failure — the CLI's 15s timeout can fire before the workspace finishes cloning while the task keeps coming up in the background (ax get tasks shows where it is). Also synced the demo.sh header outline with the resume step the script already performs.
Nudging the branch that also carries this fix: docs/quick-start-workerpool-and-examples (covers #437, #426 and #425). It test-merges cleanly against current main, and the Suspended-start premise still matches CreateTask on today's code. See my comment on #437 for the PR request.
I checked this branch against current main (b2c59ae). CreateTask still stores new tasks as Suspended. The quick start now runs ax resume task task123 right after ax apply, so the Running output matches what you see. This fixes the issue for me.
Activity
cloudonly commentedon Sep 28, 2026
Fix ready on my fork:
docs/quick-start-workerpool-and-examples(diff vs upstream) — PR creation is currently rejected by the repo'scollaborators_onlypolicy (as tracked in #358), so I'm leaving the branch here and will open the PR as soon as that allows.For this issue, the quick start now runs
ax resume task task123right afterax apply(matchingCreateTaskstoring new tasks asSuspended), keeps the sampleax get tasksoutput as post-resumeRunning, and notes that a slow first resume usually means workspace initialization rather than failure — the CLI's 15s timeout can fire before the workspace finishes cloning while the task keeps coming up in the background (ax get tasksshows where it is). Also synced thedemo.shheader outline with the resume step the script already performs.cloudonly commentedon Oct 19, 2026
Nudging the branch that also carries this fix: docs/quick-start-workerpool-and-examples (covers #437, #426 and #425). It test-merges cleanly against current
main, and the Suspended-start premise still matchesCreateTaskon today's code. See my comment on #437 for the PR request.eren23 commentedon Oct 19, 2026
I checked this branch against current main (b2c59ae).
CreateTaskstill stores new tasks as Suspended. The quick start now runsax resume task task123right afterax apply, so the Running output matches what you see. This fixes the issue for me.cloudonly commentedon Oct 20, 2026
Thanks @eren23 for re-checking this against current
main— good to know the resume flow holds onb2c59aeand matches what the quick start shows now.mayawang commentedon Nov 4, 2026
Fixed by #505: the quick start now runs ax resume after ax apply.