Skip to content

feat(site): increase max workspace lifetime TTL validation to 30 days #8258

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

Merged
merged 4 commits into from
Jul 19, 2023

Conversation

JoshVee
Copy link
Contributor

@JoshVee JoshVee commented Jun 29, 2023

The existing TTL limit of 7 days is fairly restrictive. This PR increases that to 30 days.

@cdr-bot cdr-bot bot added the community Pull Requests and issues created by the community. label Jun 29, 2023
@matifali matifali requested a review from bpmct June 29, 2023 05:23
@bpmct bpmct requested review from deansheather and removed request for bpmct June 29, 2023 09:08
@bpmct
Copy link
Member

bpmct commented Jun 29, 2023

👋🏼 Thanks for the contribution. The 7-day max validation is pretty arbitrary so I totally agree we should support longer times.

We're currently reworking the behavior of the "max lifetime" to enforce stops/restarts every n days, weeks, etc. so we'll remove this arbitrary validation as a part of the process.

Since we're pretty far along with our refactor, I'm going to close this PR. Even if we merged it, I'm pretty sure it would be replaced before we did a release.

@bpmct bpmct closed this Jun 29, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jun 29, 2023
@bpmct
Copy link
Member

bpmct commented Jun 29, 2023

Ah, here is the issue I am talking about #6917. If we don't end up shipping this soon, we'd be happy to reopen this and reconsider. We are pretty far along though.

@deansheather
Copy link
Member

The new validation will allow for restarting on the weekend every 16 weeks.

@bpmct bpmct reopened this Jul 19, 2023
@deansheather deansheather requested review from coadler and removed request for deansheather July 19, 2023 13:17
@deansheather deansheather merged commit 6318c4c into coder:main Jul 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
community Pull Requests and issues created by the community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants