diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 5565ee4aba9..7def66808de 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -27,11 +27,13 @@ name: Nightly on: schedule: - # 23:07 UTC = 00:07 (01:07 in summer) German time: not before midnight German - # time. The whole run takes about 4 hours at most (the steps below are capped), - # so it ends before 7:00 German time if GitHub starts it on time. GitHub can - # start scheduled runs late; nothing here can prevent that. - - cron: '7 23 * * *' + # GitHub starts the scheduled runs of this repository about 6.5 hours late (the + # runs scheduled for 01:17 UTC started at 07:45, 08:19, 07:57 and 07:36 UTC on + # 11-11 to 11-14: 6h19 to 7h02 late). To begin around midnight German time + # (23:00 UTC, 00:00 in winter), the slot is set 6.5 hours earlier: 16:37 UTC. + # The whole run takes about 4 hours at most (the steps below are capped), so it + # ends before 7:00 German time. If GitHub's delay changes, adjust this time. + - cron: '37 16 * * *' workflow_dispatch: inputs: dry_run: diff --git a/AGENTS.md b/AGENTS.md index 0be91f1c7c0..6bf4648fdf0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -568,7 +568,7 @@ GitHub Pages (Jekyll) from this repository. ## Nightly run -`.github/workflows/nightly.yml` (`schedule` 23:07 UTC, i.e. 00:07/01:07 German time, not before midnight; the run takes about 4 hours at most, and GitHub may start scheduled runs late; and `workflow_dispatch` +`.github/workflows/nightly.yml` (`schedule` 16:37 UTC: GitHub starts this repository's scheduled runs about 6.5 hours late (6h19 to 7h02 on 11-11 to 11-14), so the run begins around midnight German time; it takes about 4 hours at most; and `workflow_dispatch` with `dry_run`) calls three workflows one after the other through `workflow_call`, with `secrets: inherit`: `discover-apps.yml` (count 100, months 1, `max_seconds` 3600), then a `wait` job (until `test.yml` and `publish-pr-screenshot.yml` diff --git a/MAINTAINER.md b/MAINTAINER.md index c84aae8ebdd..0c55ebb09ea 100644 --- a/MAINTAINER.md +++ b/MAINTAINER.md @@ -94,7 +94,7 @@ The text is `code/appstream-help.md`; edit it there. ## Nightly run -`.github/workflows/nightly.yml` runs every night at 23:07 UTC (00:07 German time in winter, 01:07 in summer; it takes about 4 hours at most), one step after +`.github/workflows/nightly.yml` is scheduled for 16:37 UTC; GitHub starts it about 6.5 hours late, so it begins around midnight German time and takes about 4 hours at most, one step after the other: Discover apps (100 pull requests at most, 1 hour at most), wait for their tests (1 hour at most), Merge labeled PRs (100 at most), wait for the Test runs that the merges started, Build website, Clean up notifications. It needs the secrets of these workflows (`DISCOVER_TOKEN` or