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

Closed

Description

@sharkymark

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

Activity

  1. 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[/+] on Jun 7, 2022
  2. tjcran commented on Jun 22, 2022

    @tjcran

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

  3. presleyp commented on Jun 23, 2022

    @presleyp
    Contributor

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

  4. tjcran commented on Jun 23, 2022

    @tjcran

    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

  5. presleyp commented on Jun 24, 2022

    @presleyp
    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.

  6. misskniss commented on Aug 8, 2022

    @misskniss

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

  7. BrunoQuaresma commented on Aug 10, 2022

    @BrunoQuaresma
    Contributor

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

  8. misskniss commented on Aug 15, 2022

    @misskniss

    Closing this!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    siteArea: frontend dashboard

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions