Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TTL/Workspace Schedule is too coupled #2229

Closed
Assignees
johnstcn
Labels
apiArea: HTTP APIsiteArea: frontend dashboard
@ammario

Description

@ammario

So, I have a workspace that it scheduled to shut down in an hour. I want to edit my workspace schedule (which is a separate idea than extending my lease). I change my TTL in the Edit Schedule to one hour, and then boom, my workspace turns off.

I looked at the code a bit and have no idea what's causing this behavior.

The fact that "Edit Schedule" modifies my active lease is very hard to reason about as a user. Why does it add the TTL to the lease vs. adding the TTL to my current time? Why would I expect it to change the lease at all?

Also.. we use the word TTL around the product to mean both the schedule and the active lease. This has been confusing as I navigate the code, and also as a user. (See#2224 issue, which can be interpreted multiple ways).

What I suggest is we remove the ability for "Schedule" edits to affect the active lease. A lease is created on Workspace Start and then can only be modified directly. We can expose the ability for the user to edit the active lease separately from the schedule, as describedhere.

Metadata

Metadata

Assignees

Labels

apiArea: HTTP APIsiteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp