Thanks to visit codestin.com
Credit goes to github.com

Skip to content

I stop a workspace in the UI, got the list view of workspaces, and it never updates to stopped from stopping, unless with a refresh #2049

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
sharkymark opened this issue Jun 3, 2022 · 7 comments
Labels
site Area: frontend dashboard

Comments

@sharkymark
Copy link
Contributor

sharkymark commented Jun 3, 2022

Problem Summary

Workspace list in UI does not automatically refresh when a change is made to stop a running workspace. It looks like it's in progress the entire time, even if it has finished.

Definition of done

Page should fetch and update the status without requiring a user refresh.

Steps to Reproduce

In UI, I stop a workspace, and return to the workspaces list view in UI

Expected

Status should change from Stopping to Stopped without a page refresh

Actual

I never changes, is in Stopping. If I open a new window, it shows the workspace is stopped.

Logs

Screenshot

image

Notes

@kylecarbs kylecarbs changed the title Bug: I stop a workspace in the UI, got the list view of workspaces, and it never updates to stopped from stopping, unless with a refresh I stop a workspace in the UI, got the list view of workspaces, and it never updates to stopped from stopping, unless with a refresh Jun 7, 2022
@misskniss misskniss added the site Area: frontend dashboard label Jun 14, 2022
@tjcran
Copy link

tjcran commented Jun 22, 2022

Problem: Page should fetch and update the status without requiring a user refresh.

@presleyp
Copy link
Contributor

Yeah this is a known limitation, I believe the idea was to fix it when we switch to using websockets to update workspaces.

@tjcran
Copy link

tjcran commented Jun 23, 2022

Yeah this is a known limitation, I believe the idea was to fix it when we switch to using websockets to update workspaces.

@presleyp got it! is that covered in the build log websockets item or does it have a separate issue? I'm not seeing one other than the build log one: #2569

@presleyp
Copy link
Contributor

I don't see a ticket for it, although I thought I remembered a related one existing (for using websockets on the workspace page generally, not just the build log). But this ticket can serve as the ticket for using one on the workspaces page.

@misskniss
Copy link

@mark-theshark will you try this again and see if you can repro it? We are not able to atm/.

@BrunoQuaresma
Copy link
Collaborator

I tried to reproduce this as well and I was not able to. I think we can close it.

@misskniss
Copy link

Closing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site Area: frontend dashboard
Projects
None yet
Development

No branches or pull requests

5 participants