- Notifications
You must be signed in to change notification settings - Fork928
feat: add template activity_bump property#11734
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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.
This only covers thetemplate
side of things. Do we not also have to make it editable fromworkspace
?
Just asking, personally I think less toggles is better, and might not be necessary on the workspace.
-- We only bump if the template has an activity bump duration set. | ||
AND l.activity_bump IS NOT NULL |
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.
This can never be null. Should this be= 0
or something?
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 think this didn't trip up tests since this is essentially doing nothing in the query... if it's 0 we're adding 0 to the current deadline anyways lol.
I fixed it anyways since it's better to be safe IMO
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
@Emyrk I agree, I think we're going to keep this as a template setting for now. |
johnstcn left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
Uh oh!
There was an error while loading.Please reload this page.
Fixed! Apparently most of our validations didn't have |
Uh oh!
There was an error while loading.Please reload this page.
Adds a new property to templates
activity_bump
which defaults to1h
to persist the current behavior. Allows the template admin to specify how much time activity bump events should add to the workspace deadline.TODO:
Supercedes#10866
Closes#11690