Skip to content

fix: move scheduled task off peak time - #1684

Merged
jekabs-karklins merged 4 commits into
developfrom
SWAP-5683-move-scheduled-github-actions-cron-off-the-top-of
Jul 30, 2026
Merged

fix: move scheduled task off peak time#1684
jekabs-karklins merged 4 commits into
developfrom
SWAP-5683-move-scheduled-github-actions-cron-off-the-top-of

Conversation

@jekabs-karklins

@jekabs-karklins jekabs-karklins commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adjusts the scheduled time for the auto-merge PRs task to off-peak times.

Motivation and Context

If the PR has been marked as AutoMerge this task will use non-working hours window to give it's best effort and try to merge the PR by pulling the latest changes from develop.

The change in this PR is required to alleviate the load on the GitHub server during peak minute and ensure the reliable execution of the auto-merge PRs task, which was frequently being dropped at minute 0.

Apperantly github scheduled tasks are not guaranteed to work, especially if it collides with increased load on servers.

Changes

  • The scheduled task for auto-merge PRs has been moved from minute 0 to minute 46.
  • The task is now set to run between midnight and 6 AM, an off-peak period, to reduce the chance of the task being dropped.

@jekabs-karklins
jekabs-karklins requested a review from a team as a code owner July 28, 2026 09:16
@jekabs-karklins
jekabs-karklins requested review from Bhaswati1148 and removed request for a team July 28, 2026 09:16
@jekabs-karklins
jekabs-karklins merged commit 7939856 into develop Jul 30, 2026
21 checks passed
@jekabs-karklins
jekabs-karklins deleted the SWAP-5683-move-scheduled-github-actions-cron-off-the-top-of branch July 30, 2026 07:38
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