-
Notifications
You must be signed in to change notification settings - Fork 886
feat: add template max_ttl #6114
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
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
5509824
feat: add template max_ttl
deansheather 4c6a501
chore: split enterprise code for max_ttl into interface
deansheather 7892c5a
Merge branch 'main' into dean/schedule-max-ttl
deansheather 9e37cc7
feat: add API for setting template max_ttl
deansheather ad64806
working API and dashboard
deansheather 96fd840
working CLI
deansheather bc39570
Merge branch 'main' into dean/schedule-max-ttl
deansheather 4e1d948
fixup! Merge branch 'main' into dean/schedule-max-ttl
deansheather 69035a6
feat: block disabling auto off if template has max ttl
deansheather ce7ec39
Merge branch 'main' into dean/schedule-max-ttl
deansheather 89ccfc8
fixup! Merge branch 'main' into dean/schedule-max-ttl
deansheather feb7b3c
feat: apply template max TTL to workspace TTL on update
deansheather d54d798
chore: fix tests and differences between sql and memory db
deansheather 6caeb00
Few refactorings for ttl fields
BrunoQuaresma 49a2ec7
Merge branch 'main' into dean/schedule-max-ttl
deansheather e28e32e
fixup! Merge branch 'main' into dean/schedule-max-ttl
deansheather 651149b
fixup! Merge branch 'main' into dean/schedule-max-ttl
deansheather 25f7d2c
chore: add test for activitybump max_ttl
deansheather e3d8557
chore: add tests for updating max_ttl on template
deansheather f62ba67
Merge branch 'main' into dean/schedule-max-ttl
deansheather 2b029d8
fixup! Merge branch 'main' into dean/schedule-max-ttl
deansheather e60919e
chore: fix security.yaml not having protoc
deansheather ef3bebf
Merge branch 'main' into dean/schedule-max-ttl
deansheather 351b708
fixup! Merge branch 'main' into dean/schedule-max-ttl
deansheather 847bc4c
chore: move schedule code to new package
deansheather 0611794
fixup! chore: move schedule code to new package
deansheather e44f589
chore: add alpha label to max_ttl
deansheather 6bb65ac
Merge branch 'main' into dean/schedule-max-ttl
deansheather a972c57
Merge branch 'main' into dean/schedule-max-ttl
BrunoQuaresma 3ce2bc3
Fix test
BrunoQuaresma 4beff52
fixup! Fix test
deansheather 5e97e96
Fix storybook
BrunoQuaresma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: do we need to mention it? If we decide to open this feature to the OSS audience, it would be misleading. I'm not sure what's the rule of thumb for enterprise features in general.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems weird to not mention it if it's a licensed feature, otherwise people will try
--max-ttl
and see errors. The frontend does something similar, by showing the box but disabling it and adding a "enterprise" labelThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it common for other flags? I might have missed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have done it for deployment config flags before but I'm unsure if we've done it for CLI flags.