Skip to content
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

[gitpod-cli] Flexible Workspace Timeout - <n>days is not working #15945

Closed
Siddhant-K-code opened this issue Jan 23, 2023 · 2 comments
Closed

Comments

@Siddhant-K-code
Copy link
Member

Bug description

Recently #15815 got merged which introduces flexible workspace timeout.

But, In --help It shows the following (to use 2d which doesn't seem to be working):

Long: `Set timeout of current workspace.
Duration must be in the format of <n>m (minutes), <n>h (hours), or <n>d (days).
For example, 30m, 1h, 2d, etc.`,

Steps to reproduce

Screenshot 2023-01-20 at 6 19 15 PM

Screenshot 2023-01-20 at 6 18 03 PM

Workspace affected

No response

Expected behavior

We Should just limit it to <n>m to use standard units - minutes only.

Example repository

No response

Anything else?

No response

@iQQBot
Copy link
Contributor

iQQBot commented Feb 7, 2023

currently, workspace max lifetime is 36h, should we remove the day unit option?

@loujaybee
Copy link
Member

loujaybee commented Mar 1, 2023

This is now fixed in production, closing issue.

$ gp timeout set --help
Set timeout of current workspace.

Duration must be in the format of <n>m (minutes), <n>h (hours) and cannot be longer than 24 hours.
For example: 30m or 1h

Usage:
  gp timeout set <duration> [flags]

Examples:
gitpod timeout set 1h

Flags:
  -h, --help   help for set```

@github-project-automation github-project-automation bot moved this to In Validation in 🍎 WebApp Team Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Validation
Development

Successfully merging a pull request may close this issue.

3 participants