Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add workspace status check to code and ssh commands #821 #822

Conversation

titanventura
Copy link
Contributor

@titanventura titanventura commented Jul 20, 2024

Pull Request Title

Add workspace status check to code and ssh commands

Description

Currently, the code and ssh commands do not check the status of the project before opening them in IDE or doing an ssh. This change adds additional checks to do the same.

  • This change requires a documentation update
  • I have made corresponding changes to the documentation

Related Issue(s)

This PR addresses issue #770

Screenshots

image

Notes

None

/claim #770

@Anshgrover23

This comment was marked as spam.

pkg/cmd/workspace/code.go Outdated Show resolved Hide resolved
pkg/cmd/workspace/ssh.go Outdated Show resolved Hide resolved
pkg/apiclient/model_workspace_dto.go Outdated Show resolved Hide resolved
pkg/cmd/workspace/code.go Outdated Show resolved Hide resolved
pkg/cmd/workspace/code.go Outdated Show resolved Hide resolved
pkg/cmd/workspace/util/workspace.go Show resolved Hide resolved
@Tpuljak
Copy link
Member

Tpuljak commented Jul 30, 2024

@titanventura code looks good and everything works great. Nice work.

Before I approve:

  1. please run go fmt ./... to format the code so the checks can pass
  2. Please squash all your commits into one with the following message: feat: add project status check when opening

@titanventura titanventura force-pushed the feat/refactor-code-ssh-commands-status-check branch from 599f1ce to 6eb9ddb Compare July 30, 2024 17:07
Copy link
Member

@Tpuljak Tpuljak left a comment

Choose a reason for hiding this comment

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

Nice work!

@idagelic idagelic merged commit aab8ae7 into daytonaio:main Aug 2, 2024
12 checks passed
the-johnwick pushed a commit to the-johnwick/daytona that referenced this pull request Aug 12, 2024
the-johnwick pushed a commit to the-johnwick/daytona that referenced this pull request Aug 13, 2024
the-johnwick pushed a commit to the-johnwick/daytona that referenced this pull request Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants