You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(cli): add --failure-ttl to coder templates push #32001
coder templates create --failure-ttl sets how long after a failed start build Coder waits before stopping the workspace ("Failure cleanup" in the UI). coder templates push has no equivalent flag.
What to change
New template: set CreateTemplateRequest.FailureTTLMillis.
Existing template: send UpdateTemplateMeta.FailureTTLMillis only when the user sets the flag.
License check required. This setting needs the Advanced Template Scheduling entitlement. On unlicensed (AGPL) deployments, the server keeps the old value without returning an error, so push would look like it worked when it didn't. Check entitlements first, the same way `create` and `edit` do. --failure-ttl, --dormancy-threshold and --dormancy-auto-deletion should share one check.
Scope: Small (S), about 20 lines plus a test. Add another 20 to 30 lines for whichever of the three adds the shared license check first.
Activity
linear-code commentedon Nov 10, 2026
ENG-3529