Yicong-Huang opened a new pull request, #60586:
URL: https://github.com/apache/spark/pull/60586

   **Merge after `branch-4.4` is created** (the 4.4.0 branch cut is scheduled 
for Nov 16 end of day PT per the dev@ PSA); until then the scheduler would 
dispatch against a missing ref.
   
   A companion PR fixing the workflows on `branch-4.4` itself (titles and 
default branch) will follow once the branch exists, under the same JIRA (like 
#57740 / #57741 for branch-4.3).
   
   ### What changes were proposed in this pull request?
   
   Add the CI and release plumbing that `master` maintains for each active 
release branch, for the
   newly cut `branch-4.4`:
   
   - add `.github/workflows/branch44_scheduler.yml`, modelled on the current
     `branch43_scheduler.yml`, dispatching the same eight per-branch build 
workflows (via
     `dev/dispatch-if-changed.sh`) against `branch-4.4`;
   - add `branch-4.4` to both branch lists in `publish_snapshot.yml` (the 
`workflow_dispatch`
     input default and the strategy matrix default, which the file marks as 
needing to stay in
     sync);
   - add a `branch-4.4` badge row to `README.md`, following the release-branch 
pattern (which
     includes `build_main.yml`, unlike the rolling `branch-4.x`).
   
   Apart from the version, the new scheduler differs from 
`branch43_scheduler.yml` only in its
   cron lines. The hours follow the "Scheduled workflow cadence" policy in
   `.github/workflows/README.md`: 04 and 12 UTC (reserved for daily workflows) 
and 03, 09, 15 and
   21 UTC (reserved for weekly workflows) are not used, and builds are spread 
across the remaining
   hours and the three day-of-month phases (d1/d2/d3 = 2/3/3 builds). No 
branch-4.4 build shares an
   (hour, phase) slot with another branch scheduler. Only five non-reserved 
slots had no scheduled
   build at all; java17, java25, non_ansi, python_3.11 and python_3.14 take 
those. maven, java21 and
   maven_java21 share a slot with one non-Maven master build each 
(`build_python_3.15`,
   `build_python_3.13` and `build_rockdb_as_ui_backend`), and the two Maven 
builds sit in different
   phases, at least three hours away from other Maven builds in the same phase.
   
   branch-4.4 uses 01, 02, 05, 08, 10, 16, 18 and 23 UTC. All builds run at 
minute 17;
   d1/d2/d3 = days `1-28/3`/`2-31/3`/`3-31/3`, wN = weekly on day N:
   
   ```
   UTC | policy   | existing branch schedulers | master build crons | branch-4.4
   00  |          | 41:d1 41:d3 43:d2          |                    |
   01  |          | 43:d1                      | d2 d3              | maven d2
   02  |          | 41:d2 42:d1                |                    | java17 d3
   03  | R-weekly | 35:w0 40:w4                | w1 w5 w2           |
   04  | R-daily  |                            |                    |
   05  |          |                            | d2 d3              | java25 d1
   06  |          | 42:d2 4x:d1                | d3                 |
   07  |          | 41:d3 42:d2 4x:d1          |                    |
   08  |          | 4x:d3                      | d1 d2              | java21 d2
   09  | R-weekly | 35:w0 40:w3 40:w6          | w4 w1              |
   10  |          |                            | d2 d3 d1           | 
maven_java21 d3
   11  |          | 42:d1 4x:d2                | d3                 |
   12  | R-daily  |                            |                    |
   13  |          | 42:d2 43:d3                | d1                 |
   14  |          | 41:d1 43:d3 4x:d2          |                    |
   15  | R-weekly | 40:w6                      | w5 w3 w1           |
   16  |          | 4x:d3                      | d1                 | non_ansi 
d2
   17  |          | 41:d2 41:d3 43:d1          |                    |
   18  |          | 42:d2 43:d3                |                    | 
python_3_11 d1
   19  |          | 42:d3 43:d1 4x:d2          |                    |
   20  |          | 43:d1                      | d3 d2              |
   21  | R-weekly | 40:w2 40:w4 40:w6          | w5                 |
   22  |          | 41:d3 42:d2                | d1                 |
   23  |          | 4x:d2                      | d1                 | 
python_3_14 d3
   ```
   
   `dev/create-release/release-util.sh` needs no branch-specific change: when 
`GIT_BRANCH` is
   not given, it excludes `master` and `branch-4.x` and takes the highest 
remaining head, so
   `branch-4.4` sorts above `branch-4.3` without any list to update.
   
   ### Why are the changes needed?
   
   Since we cut the branch for 4.4, we need to set up a new CI schedule for 
this branch.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   - Both changed workflow files parse with `yaml.safe_load` and pass 
`actionlint` 1.7.12.
   - `diff <(sed 's/4\.3/4.4/g;s/43/44/g' branch43_scheduler.yml) 
branch44_scheduler.yml` shows
     only the eight cron lines differ.
   - 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]

Reply via email to