Skip to content

ax watch hangs forever on a task that doesn't exist #435

Description

@vincent0426

ax watch task does-not-exist prints Watching task default/does-not-exist... and never returns.

WatchTask ignores the NotFound from GetTask and waits for updates that never come. It should return codes.NotFound, like GetTask does.

Opening PRs seems to be limited to collaborators right now, so here's the fix with a test: vincent0426@d36bb3d

Activity

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