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

Unable to Delete Orphan Workspaces #1728

Open
nkkko opened this issue Jan 17, 2025 · 2 comments
Open

Unable to Delete Orphan Workspaces #1728

nkkko opened this issue Jan 17, 2025 · 2 comments
Labels
bug Something isn't working never stale An issue that never goes stale

Comments

@nkkko
Copy link
Member

nkkko commented Jan 17, 2025

Describe the bug
Orphan workspaces without any provider or target cannot be deleted using the rm -f command. The system still retains the orphan workspaces even after attempting the deletion.

To Reproduce
Steps to reproduce the behavior:

  1. Identify an orphan workspace with no provider and target.
  2. Attempt to delete the workspace using the command rm -f.
  3. Check if the workspace still exists.

Expected behavior
The workspace should be removed completely upon executing the deletion command.

Screenshots

Image

Desktop (please complete the following information):

  • OS: macos 15
  • Other tools: daytona 0.51, latest providers
@nkkko nkkko added the bug Something isn't working label Jan 17, 2025
@Tpuljak Tpuljak added the never stale An issue that never goes stale label Jan 17, 2025
@hunnywar
Copy link
Contributor

@nkkko but how can a workspace be orphaned cause if you try to delete a provider or target then daytona also deletes all the workspaces associated to it.

@nkkko
Copy link
Member Author

nkkko commented Jan 17, 2025

That is a very good question, and I do not have an answer. It is just there, and I can't remember the order in which things were run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working never stale An issue that never goes stale
Projects
None yet
Development

No branches or pull requests

3 participants