Skip to content

feature: mocactl workloads list to enumerate caller's live workloads #552

Closed

Description

@evaline-ju

Feature Description

mocactl workloads today exposes only create, get, and delete, all keyed by an id the caller must already hold. There is no way to ask "what workloads do I currently own?"

That gap turns any crash between workloads create and whatever persists the returned id into an unrecoverable orphan. The workload counts against the caller's quota (default 5 live workloads per user) until the server-side TTL expires, and the caller has no way to find it to workloads delete it.

Proposed Solution

Add mocactl workloads list [--json] that calls the existing GET /workloads (or equivalent) scoped to the authenticated caller, and prints workload id, revision, size, created-at, and whatever state the server tracks.

Want to contribute?

  • I would like to work on this issue.

Additional Context

No response

Activity

  1. added
    enhancement
    on Oct 19, 2026
  2. added 2 commits that reference this issue on Nov 3, 2026
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions