Skip to content

When workspace build fails due to Quota check, the UI does not give proper indication #11192

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
mreadie opened this issue Dec 13, 2023 · 3 comments · Fixed by #11559
Closed
Assignees
Labels
s3 Bugs that confuse, annoy, or are purely cosmetic site Area: frontend dashboard

Comments

@mreadie
Copy link
Contributor

mreadie commented Dec 13, 2023

When a user tries to create a workspace and it fails the quota check, the UI does not convey the failure properly: the progress bar keeps cycling, and clicking the Cancel button doesn't make it stop. To get out of this, the user must click another section of the UI (such as Workspaces), and then click back into the failed workspace to get the proper message they should get as soon as it fails about failure due to quota.
Attached is a video of this undesirable behavior.

Failed.Build.due.to.quota.-.Screen.Recording.2023-12-12.at.11.50.09.AM-1.mov
@cdr-bot cdr-bot bot added the bug label Dec 13, 2023
@BrunoQuaresma BrunoQuaresma added site Area: frontend dashboard s3 Bugs that confuse, annoy, or are purely cosmetic labels Dec 13, 2023
@matifali
Copy link
Member

Can we disable the create workspace button if a user doesn't have sufficient quota left?

@bpmct
Copy link
Member

bpmct commented Dec 14, 2023

@matifali sadly we can't because calculating the quota often involves a terraform apply since it can be dynamic (e.g. based on disk size)

@bpmct
Copy link
Member

bpmct commented Dec 14, 2023

I do think we can improve the UX even if it is after a workspace is already requested. For example, it constantly "loading" makes it seem buggy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s3 Bugs that confuse, annoy, or are purely cosmetic site Area: frontend dashboard
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants