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

ci: avoid synchronising scheduled jobs #1299

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

JakeHillion
Copy link
Contributor

Every 6 hours 4 scheduled workflows trigger at exactly the same time, and because
each currently requires our full quantity of 20 scheduled runners in parallel
this guarantees a lot of queueing if you push a change just after.

Set each scheduled workflow to a random minute and manually specify the "every
6 hours" part with a rotation for the 3 jobs that run every 6 hours. This means
that there's a far better chance you'll be behind 1 job instead of 4 when you
push.

Drive by: make the alignment of the on: section consistent with the other
files and with the jobs: section.

Every 6 hours 4 scheduled workflows trigger at exactly the same time, and because
each currently requires our full quantity of 20 scheduled runners in parallel
this guarantees a lot of queueing if you push a change just after.

Set each scheduled workflow to a random minute and manually specify the "every
6 hours" part with a rotation for the 3 jobs that run every 6 hours. This means
that there's a far better chance you'll be behind 1 job instead of 4 when you
push.

Drive by: make the alignment of the `on:` section consistent with the other
files and with the `jobs:` section.
Copy link
Contributor

@hodgesds hodgesds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, would be nice if the schedule action could take a random value.

@JakeHillion JakeHillion added this pull request to the merge queue Feb 4, 2025
Merged via the queue into sched-ext:main with commit c862d3b Feb 4, 2025
24 checks passed
@JakeHillion JakeHillion deleted the pr1299 branch February 4, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants