Skip to content

Conversation

EhabY
Copy link
Collaborator

@EhabY EhabY commented Sep 12, 2025

Closes #582

Now it'll attempt to start the workspace when clicking on the "play" button or reloading a window that is already connected.

Currently when building we show a terminal with the build progress, this is good, but we can potentially also show a progress indicator between the different steps.

@mtojek mtojek self-requested a review September 15, 2025 07:54
Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I presume it will be hard to cover with unit tests since it is mainly in remote.ts?

@EhabY
Copy link
Collaborator Author

EhabY commented Sep 15, 2025

I presume it will be hard to cover with unit tests since it is mainly in remote.ts?

Indeed, and this is heavily using the VS Code API where there are no existing tests for (yet). Currently working a design that would allows us to mock this for tests :)

@EhabY EhabY force-pushed the automatic-start-workspace-when-starting branch from 97c6288 to 96109ed Compare September 15, 2025 08:22
@EhabY EhabY merged commit 9ff3cb6 into coder:main Sep 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically start workplace if started and not currently running
2 participants