Skip to content

[TASK] Refactor move the workspaces listing to infer workspaces #1969

Description

@edenreich

Summary

infer sessions workspaces lists the workspaces in daemon.yaml and whether each is reachable. A workspace is a place sessions run, a concept of its own rather than something done to a session, so listing them under infer sessions couples the two. Give workspaces their own command group, infer workspaces list, beside infer sessions (run, stop and teleport a session) and infer daemon (start and stop the process).

This follows #1968, which moves the session commands from infer daemon to infer sessions and put the listing there with them.

Acceptance Criteria

  • infer workspaces list prints what infer sessions workspaces printed: each workspace's name, compute, kind, protocol, whether it is reachable, and its details
  • infer sessions keeps run, stop and teleport only
  • The docs, the examples' Taskfiles and READMEs, and the chat's error hint use infer workspaces list
  • The command tree test lists workspaces

Activity

  1. added
    refactor
    on Nov 24, 2026
  2. added theissue type on Nov 24, 2026
  3. moved this from Todo to In progress in 2026on Nov 24, 2026
  4. moved this from In progress to QA in 2026on Nov 24, 2026
  5. moved this from QA to Done in 2026on Nov 24, 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

    refactor

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions