Skip to content

Support starting the workspace when launching a coder_app when it's off #2909

Closed as not planned
@ntimo

Description

@ntimo

Current situation

When a user starts a pwa of an app that runs inside of a workspace e.g. code-server and the workspace is turned off. The user is presented with this message {"message":"No agents exist."}. He then has to open another chrome window open the coder web ui and start the workspace.

Desired Solution

Idea A)
Present a beautiful start button to start the workspace and then once the agent is connected refresh so the app (e.g. code-server) is loaded.
Idea B)
Autostart the workspace in the background since the user clearly wants to use it (since he opened the pwa) and show him a starting/loading animation/or the build logs. And then open the app e.g. code-server.

How to reproduce

  1. Login to coder
  2. Create a workspace with code-server
  3. Launch code-server and install it as a pwa
  4. Stop the workspace
  5. Launch the pwa

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThis issue is like stale bread.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions