Skip to content
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

Switch from monthly → weekly grouping for 2m builds #1023

Merged
merged 3 commits into from
Nov 3, 2022

Conversation

victorlin
Copy link
Member

@victorlin victorlin commented Oct 26, 2022

Description of proposed changes

--min-date 2M + --group-by month has funny interactions. For example, if the current date is 3/15, the min date would be 1/15. The monthly grouping would over-sample the partial months (1/15-1/31 and 3/1-3/15) compared to the full middle month. Weekly grouping minimizes this over-sampling to just 2 partial weeks out of 8 or 9 weeks.

Preview staging builds

Related issue(s)

Related to #957 (funny interactions originally mentioned there)

Testing

  • Start trial runs
  • Check results of trial runs

Release checklist

If this pull request introduces backward incompatible changes, complete the following steps for a new release of the workflow N/A

If this pull request introduces new features, complete the following steps:

  • Update docs/src/reference/change_log.md in this pull request to document these changes by the date they were added.

@victorlin victorlin self-assigned this Oct 26, 2022
@victorlin
Copy link
Member Author

Marking as draft until trial runs succeed and preview links are ready.

@victorlin victorlin marked this pull request as draft October 27, 2022 18:37
@victorlin victorlin marked this pull request as ready for review November 2, 2022 17:30
@victorlin victorlin force-pushed the victorlin/use-weekly-grouping-for-2m branch from 93e48da to 2bb094a Compare November 2, 2022 17:34
@trvrb
Copy link
Member

trvrb commented Nov 3, 2022

Looks good to me. Definite improvement. Thank you Victor!

--min-date 2M + --group-by month has funny interactions. For example, if
the current date is 3/15, the min date would be 1/15. The monthly
grouping would over-sample the partial months (1/15-1/31 and 3/1-3/15)
compared to the full middle month. Weekly grouping minimizes this
over-sampling to just 2 partial weeks out of 8 or 9 weeks.
@victorlin victorlin force-pushed the victorlin/use-weekly-grouping-for-2m branch from 2bb094a to e747ab8 Compare November 3, 2022 17:45
Use date formats and empty line in between entries to be consistent with
entries from recent versions.
@victorlin victorlin force-pushed the victorlin/use-weekly-grouping-for-2m branch from e747ab8 to 081485d Compare November 3, 2022 17:50
@victorlin victorlin merged commit e4dfa45 into master Nov 3, 2022
@victorlin victorlin deleted the victorlin/use-weekly-grouping-for-2m branch November 3, 2022 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

3 participants