mozilla / addons

☂ Umbrella repository for Mozilla Addons ✨
Other
126 stars 41 forks source link

[Task]: Adjust auto-approval delay to take into account weekends #15095

Open eviljeff opened 1 day ago

eviljeff commented 1 day ago

Description

We already have support for adjusting for weekends when calculating due dates - we want to implement that for auto-approval delay too.

Acceptance Criteria

  ### Milestones/checkpoints
  - [ ] An auto-approval that would fall over the weekend is adjusted to be approved after the weekend instead

Checks

┆Issue is synchronized with this Jira Task

eviljeff commented 1 day ago

@abhn / @wagnerand can you confirm the exact criteria here: https://mozilla-hub.atlassian.net/browse/AOP-137 says "between 4pm on a Friday and 10am on the following Sunday" - this is the submission date/time, yes? i.e. the criteria isn't based on when the approval would happen, but the submission?

Sceneries for submission, assuming a 24 hour delay (configurable):

Also, these times are UTC or some other timezone?

diox commented 1 day ago

It's not explicit in this issue, but this is only about the auto-approval delay for the first listed version, right ?

Also, now that this delay is configurable if the delay is set to something higher than 24 hours, say 72 hours, could that cause a new listed add-on to have to wait 5 days in total ? Is that a problem ?