Yicong-Huang opened a new pull request, #60592:
URL: https://github.com/apache/spark/pull/60592
### What changes were proposed in this pull request?
`branch-4.4` was cut from `branch-4.x`, so its workflows still identify and
behave as the
rolling `branch-4.x` line. Apply the release-branch convention that
`branch-4.3` and
`branch-4.2` already follow (same as SPARK-58538 and the post-merge Build
fix for
`branch-4.3`):
- Drop the `branch-4.x, ` token from the eleven `build_*.yml` workflow
titles, e.g.
`"Build / Maven (branch-4.x, Scala 2.13, Hadoop 3, JDK 17)"` becomes
`"Build / Maven (Scala 2.13, Hadoop 3, JDK 17)"`, and drop their
`schedule:` triggers.
Scheduled triggers only fire on the default branch, so they are dead on a
release branch;
release-branch builds are dispatched by a per-branch scheduler on `master`
instead. This
includes `build_maven_java21_arm.yml` and
`build_maven_java21_macos26.yml`, which are
handled the same way rather than reverting their titles to the stale
`master` token
still present on `branch-4.3`/`branch-4.2`.
- Point the `branch` input default of both reusable workflows,
`build_and_test.yml` and
`maven_test.yml`, from `branch-4.x` to `branch-4.4`.
- Restore `build_main.yml` to the release-branch form used on `branch-4.3`
and `branch-4.2`.
On `branch-4.x` it forces the full job matrix on every `apache/spark` push
because
`dev/merge_spark_pr.py` samples post-merge CI there
(`POST_MERGE_CI_INTERVALS` covers only
`master` and `branch-4.x`). That script does not sample `branch-4.4`, so
keeping the
override would run the full matrix on every push to this branch.
This is the `branch-4.4` counterpart of the master-side companion
https://github.com/apache/spark/pull/60586 (same JIRA), like #57740 / #57741
for `branch-4.3`.
### Why are the changes needed?
Without this, `branch-4.4` CI runs show up as `branch-4.x` in the Actions UI
and check-run
names, the reusable workflows default to building `branch-4.x` instead of
this branch, and
every post-merge push runs the full Build matrix instead of the change-based
selection used
on the other release branches.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
- Parsed every changed workflow with `yaml.safe_load`.
- `actionlint` 1.7.12 reports no findings on the changed workflows.
- `git grep -n branch-4.x -- .github` returns no hits.
- `build_main.yml` is identical to `branch-4.3`'s copy.
### 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]