Skip to content

The quick start shows Running after ax apply, but new tasks start Suspended #426

Closed

Description

@eren23

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).

Activity

  1. cloudonly commented on Sep 28, 2026

    @cloudonly
    Contributor

    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.

  2. cloudonly commented on Oct 19, 2026

    @cloudonly
    Contributor

    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.

  3. eren23 commented on Oct 19, 2026

    @eren23
    Author

    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.

  4. cloudonly commented on Oct 20, 2026

    @cloudonly
    Contributor

    Thanks @eren23 for re-checking this against current main — good to know the resume flow holds on b2c59ae and matches what the quick start shows now.

  5. mayawang commented on Nov 4, 2026

    @mayawang
    Collaborator

    Fixed by #505: the quick start now runs ax resume after ax apply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions