-
-
Notifications
You must be signed in to change notification settings - Fork 47
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 VCS client after deleting Workspace #1100
Comments
That is correct we only do a
What we are currently deleting is the terrakube/api/src/main/java/org/terrakube/api/plugin/softdelete/SoftDeleteService.java Line 47 in bfe3413
terrakube/api/src/main/java/org/terrakube/api/plugin/softdelete/SoftDeleteService.java Line 50 in bfe3413
Line 26 in bfe3413
For now I think the alternative will be to add an additional update in the UI that calls the API and remove the relationship from the workspace that will be It should be something similar to this code that we use to remove or add the relationship to a self hosted agent
|
I encountered the same issue, jut by trying to delete a VCS client, without deleting the workspace. |
Bug description 🐞
When I'm trying to delete a VCS client which have deleted Workspace associated with it, I'm getting an error:
Per what I see in database, deleted Workspaces are staying in the workspace table just having _DEL_xxxx suffix added. I assume they both should be dropped at this point.
Steps to reproduce
Expected behavior
VCS client is deleted
Example repository
No response
Anything else?
I'm also don't see any mentions in documentation about that soft delete process in database, and how those deleted workspaces should be properly cleaned.
The text was updated successfully, but these errors were encountered: