Skip to content

[dashboard] Random non-active workspace considered active #3780

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

Closed
jankeromnes opened this issue Apr 6, 2021 · 1 comment · Fixed by #3784
Closed

[dashboard] Random non-active workspace considered active #3780

jankeromnes opened this issue Apr 6, 2021 · 1 comment · Fixed by #3784

Comments

@jankeromnes
Copy link
Contributor

jankeromnes commented Apr 6, 2021

Bug description

For some reason, there is an old non-active workspace in my workspaces list, even though it's not active (not opened recently, not pinned).

Screenshot 2021-04-06 at 17 05 22

Workspace ID is blue-ferret-kisxfyd7:

mysql> select id, creationTime, contextURL, description, pinned, softDeleted, softDeletedTime, contentDeletedTime from d_b_workspace where id = 'blue-ferret-kisxfyd7';
+----------------------+--------------------------+------------------------------------------------+--------------------------------------+--------+-------------+-----------------+--------------------+
| id                   | creationTime             | contextURL                                     | description                          | pinned | softDeleted | softDeletedTime | contentDeletedTime |
+----------------------+--------------------------+------------------------------------------------+--------------------------------------+--------+-------------+-----------------+--------------------+
| blue-ferret-kisxfyd7 | 2021-03-24T09:04:52.429Z | https://github.com/gitpod-io/sveltejs-template | gitpod-io/sveltejs-template - master |      0 | NULL        |                 |                    |
+----------------------+--------------------------+------------------------------------------------+--------------------------------------+--------+-------------+-----------------+--------------------+

Surprisingly, it has zero instances 🤔 maybe that's the root cause:

mysql> select * from d_b_workspace_instance where workspaceId = 'blue-ferret-kisxfyd7';
Empty set (0.01 sec)

Steps to reproduce

  • Log in to Gitpod (staging) as me

Expected behavior

No response

Example repository

No response

@jankeromnes
Copy link
Contributor Author

Update: After accidentally starting it, and stopping it again, it disappeared from my list.

Then, after deleting the instance from the DB, it showed up again:

mysql> delete from d_b_workspace_instance where workspaceId = 'blue-ferret-kisxfyd7';
Query OK, 1 row affected (0.01 sec)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant