-
Notifications
You must be signed in to change notification settings - Fork 881
Bug: Workspace Schedule UI: submitting long TTL for workspace in UI caused error to update and workspace to hang and become unusable #1908
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
Comments
Recommendation: if you have a TTL, it cannot be longer than 72 hours. If that's insufficient, and for some reasons they still want a TTL, someone will tell us. |
CC @johnstcn - we can create this constraint |
@vapurrmaid FWIW I added some upper bounds in a8ae9b3 -- in this case I set the upper bound to 7 days ( |
Should this ticket make the fix + update that constraint to 72? Or is 184 a sufficient upper bound? |
3 days is no less arbitrary than 7 days (which is 168 hours not 184). What matters is that there's a limit that's not ridiculous. |
Steps to Reproduce
Expected
If the TTL is truly invalid, I should receive an error message preventing the submit and telling me what the values are. Even better if the UI has input validation or at least some help text.
Actual
UI hangs forever
Screenshot
The text was updated successfully, but these errors were encountered: