Skip to content

Admin Dashboard should allow un-delete, if possible #3163

Closed
@meysholdt

Description

@meysholdt

Gitpod garbage-collects workspaces (unless they are pined) after they're unused for a while. While this makes them unaccessible for users, it dos not physically deleted the data unless a second time window has passed. Occasionally we get support requests to un-delete workspaces. It would be awesome if we could quicker fulfil these support requests by using the admin dashboard and it would be awesome if we would not longer need to directly connect to the prod MySQL db to fulfil these requests.

Proposal: Improve the admin dashboard (single workspace view):

  1. the row
    image
    is great, but it should also show (a) the date of the soft-deletion. And it should show if the workspace has been physically deleted. Today, it only shows two states (blank) and gc.
  2. There should be a button that un-deletes and pins a soft-deleted workspace. The SQL for this is update d_b_workspace set pinned = 1, softDeleted = NULL, softDeletedTime = '' where id = '<your-id>'; (thx @jankeromnes ).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions