Skip to content

Allow deleting a remote workroom while signed out of Codaset #285

Closed

Description

@joelmoss

🤖 Left by Claude Code, from the pre-landing review of #253.

RemoteWorkrooms.delete and deleteBase throw signedOut for any live host when there is no broker session (RemoteHosts.environment(toDelete:) needs BrokerSession.shared.client()). Removing the box itself needs only Docker, so a signed-out or expired session leaves remote workrooms that can't be deleted.

Possible approach: destroy the box without the broker, and keep the entry as failed with the live grant_id so a later delete (once signed in) cancels the grant. The grant is the only part that needs the broker.

Related: #253.

Activity

  1. added
    bugSomething isn't working
    remoteRemote workrooms: hosts, providers, the far-side agent and broker
    on Oct 3, 2026
  2. joelmoss commented on Oct 3, 2026

    @joelmoss
    OwnerAuthor

    🤖 Left by Claude Code

    Fixed by 7f7c6b8 (#309). Building the delete environment no longer needs a broker session, and RemoteProvisioning.tearDown now removes the box while signed out, leaving only the grant, which needs the broker to cancel. The entry is kept as failed with the live grant_id, so deleting it again once signed in cancels the grant. That is the approach this issue proposed. While signed out, the delete still reports an error for the grant, and no test covers the signed-out teardown path yet.

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

    bugSomething isn't workingremoteRemote workrooms: hosts, providers, the far-side agent and broker

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions