-
Notifications
You must be signed in to change notification settings - Fork 881
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 the template
side of things. Do we not also have to make it editable from workspace
?
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
@Emyrk I agree, I think we're going to keep this as a template setting for now. |
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.
Fixed! Apparently most of our validations didn't have |
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