Yicong-Huang opened a new pull request, #60603:
URL: https://github.com/apache/spark/pull/60603
### What changes were proposed in this pull request?
This is the follow-up suggested by raviston in the review of #60595
(SPARK-61842), which
freed the slots used here. The original change is #60586 (SPARK-61833).
SPARK-61833 added `branch44_scheduler.yml` when no free three-day (hour,
day-of-month phase)
slot was left, so three branch-4.4 builds share a slot with a master build.
SPARK-61842 moved
branch-4.1 to weekly schedules and freed eight three-day slots: (00,
`1-28/3`),
(00, `3-31/3`), (02, `2-31/3`), (07, `3-31/3`), (14, `1-28/3`), (17,
`2-31/3`),
(17, `3-31/3`) and (22, `3-31/3`).
This PR moves the three shared branch-4.4 builds into freed slots of the
same phase, so the
per-phase counts do not change:
| Workflow | Before (shared with) | After |
|---|---|---|
| maven | `17 1 2-31/3 * *` (`build_python_3.15`) | `17 17 2-31/3 * *` |
| java21 | `17 8 2-31/3 * *` (`build_python_3.13`) | `17 2 2-31/3 * *` |
| maven_java21 | `17 10 3-31/3 * *` (`build_rockdb_as_ui_backend`) | `17 22
3-31/3 * *` |
Maven builds per phase after this change (hours UTC):
- `2-31/3`: 06 branch-4.2 maven, 11 branch-4.x maven_java21, 17 branch-4.4
maven
- `3-31/3`: 01 publish_snapshot, 06 master maven_java25, 13 branch-4.3 maven,
19 branch-4.2 maven_java21, 22 branch-4.4 maven_java21
Each Maven build stays at least three hours from the other Maven builds in
its phase.
For maven_java21, (22, `3-31/3`) is chosen over (00, `3-31/3`), which is one
hour before
the Maven-based `publish_snapshot` at (01, `3-31/3`), and over (07,
`3-31/3`), which is one
hour after master `build_maven_java25` at (06, `3-31/3`).
Only the three cron values change. Each cron is still defined once with a
YAML anchor,
aliased into its `*_CRON` environment variable and compared with
`github.event.schedule`
by exactly one step; dispatch targets and the `branch-4.4` ref are unchanged.
### Why are the changes needed?
After this change no three-day slot is used twice, so no branch-4.4 build
starts together
with a master build, following the "Scheduled workflow cadence" section of
`.github/workflows/README.md`. Five freed slots remain: (00, `1-28/3`), (00,
`3-31/3`),
(07, `3-31/3`), (14, `1-28/3`) and (17, `3-31/3`).
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
- `branch44_scheduler.yml` parses with `yaml.safe_load` and passes
`actionlint` 1.7.12.
- A script checked that the anchors, the `*_CRON` env values and the crons
in each
`github.event.schedule` condition agree, that every step still dispatches
to `branch-4.4`,
and that only the three cron lines changed.
- Enumerating every scheduled workflow under `.github/workflows` showed the
three new slots
were free, and that no three-day slot is shared after the change (three
before).
- CI schedule will confirm.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 5.5
This pull request and its description were written by Isaac.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]