This is an automated email from the ASF dual-hosted git repository.
dongjoon-hyun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new a25e90086701 [SPARK-56836][INFRA] Add Java 25 CI for `branch-4.2/4.x`
a25e90086701 is described below
commit a25e90086701a1f64fc550d8ca9df2d0db02652c
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Tue May 12 11:56:01 2026 -0700
[SPARK-56836][INFRA] Add Java 25 CI for `branch-4.2/4.x`
### What changes were proposed in this pull request?
Add two scheduled GitHub Actions workflows that build the active release
branches with JDK 25:
- `.github/workflows/build_branch4x_java25.yml` (cron `0 22 */2 * *`)
- `.github/workflows/build_branch42_java25.yml` (cron `0 8 */2 * *`)
They mirror the existing JDK 21 workflows for the same branches, differing
only in `name`, `java`, and `cron`.
### Why are the changes needed?
We already run scheduled JDK 25 builds on `master`. Extending the same
coverage to `branch-4.x` and `branch-4.2` catches JDK 25 regressions on the
release branches.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
CI-only change. The new cron times do not collide with any existing
workflow schedule.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 4.7
Closes #55833 from dongjoon-hyun/SPARK-56836.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.github/workflows/build_branch42_java25.yml | 57 +++++++++++++++++++++++++++++
.github/workflows/build_branch4x_java25.yml | 57 +++++++++++++++++++++++++++++
README.md | 2 +
3 files changed, 116 insertions(+)
diff --git a/.github/workflows/build_branch42_java25.yml
b/.github/workflows/build_branch42_java25.yml
new file mode 100644
index 000000000000..8f158382437d
--- /dev/null
+++ b/.github/workflows/build_branch42_java25.yml
@@ -0,0 +1,57 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: "Build (branch-4.2, Scala 2.13, Hadoop 3, JDK 25)"
+
+on:
+ schedule:
+ - cron: '0 8 */2 * *'
+ workflow_dispatch:
+
+jobs:
+ run-build:
+ permissions:
+ packages: write
+ name: Run
+ uses: ./.github/workflows/build_and_test.yml
+ if: github.repository == 'apache/spark'
+ with:
+ java: 25
+ branch: branch-4.2
+ hadoop: hadoop3
+ envs: >-
+ {
+ "PYSPARK_IMAGE_TO_TEST": "python-311",
+ "PYTHON_TO_TEST": "python3.11",
+ "SKIP_MIMA": "true",
+ "SKIP_UNIDOC": "true",
+ "DEDICATED_JVM_SBT_TESTS":
"org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormatV1Suite,org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormatV2Suite,org.apache.spark.sql.execution.datasources.orc.OrcSourceV1Suite,org.apache.spark.sql.execution.datasources.orc.OrcSourceV2Suite"
+ }
+ jobs: >-
+ {
+ "build": "true",
+ "pyspark": "true",
+ "sparkr": "true",
+ "tpcds-1g": "true",
+ "docker-integration-tests": "true",
+ "yarn": "true",
+ "k8s-integration-tests": "true",
+ "buf": "true",
+ "ui": "true"
+ }
diff --git a/.github/workflows/build_branch4x_java25.yml
b/.github/workflows/build_branch4x_java25.yml
new file mode 100644
index 000000000000..db1a83fdd93f
--- /dev/null
+++ b/.github/workflows/build_branch4x_java25.yml
@@ -0,0 +1,57 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: "Build (branch-4.x, Scala 2.13, Hadoop 3, JDK 25)"
+
+on:
+ schedule:
+ - cron: '0 22 */2 * *'
+ workflow_dispatch:
+
+jobs:
+ run-build:
+ permissions:
+ packages: write
+ name: Run
+ uses: ./.github/workflows/build_and_test.yml
+ if: github.repository == 'apache/spark'
+ with:
+ java: 25
+ branch: branch-4.x
+ hadoop: hadoop3
+ envs: >-
+ {
+ "PYSPARK_IMAGE_TO_TEST": "python-311",
+ "PYTHON_TO_TEST": "python3.11",
+ "SKIP_MIMA": "true",
+ "SKIP_UNIDOC": "true",
+ "DEDICATED_JVM_SBT_TESTS":
"org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormatV1Suite,org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormatV2Suite,org.apache.spark.sql.execution.datasources.orc.OrcSourceV1Suite,org.apache.spark.sql.execution.datasources.orc.OrcSourceV2Suite"
+ }
+ jobs: >-
+ {
+ "build": "true",
+ "pyspark": "true",
+ "sparkr": "true",
+ "tpcds-1g": "true",
+ "docker-integration-tests": "true",
+ "yarn": "true",
+ "k8s-integration-tests": "true",
+ "buf": "true",
+ "ui": "true"
+ }
diff --git a/README.md b/README.md
index c7adac324834..e849cfd97f53 100644
--- a/README.md
+++ b/README.md
@@ -58,6 +58,7 @@ This README file only contains basic setup instructions.
| | [](https://github.com/apache/spark/actions/workflows/build_sparkr_window.yml)
|
| branch-4.x | [](https://github.com/apache/spark/actions/workflows/build_branch4x.yml)
|
| | [](https://github.com/apache/spark/actions/workflows/build_branch4x_java21.yml)
|
+| | [](https://github.com/apache/spark/actions/workflows/build_branch4x_java25.yml)
|
| | [](https://github.com/apache/spark/actions/workflows/build_branch4x_non_ansi.yml)
|
| | [](https://github.com/apache/spark/actions/workflows/build_branch4x_maven.yml)
|
| | [](https://github.com/apache/spark/actions/workflows/build_branch4x_maven_java21.yml)
|
@@ -66,6 +67,7 @@ This README file only contains basic setup instructions.
| | [](https://github.com/apache/spark/actions/workflows/build_branch4x_python_3.14.yml)
|
| branch-4.2 | [](https://github.com/apache/spark/actions/workflows/build_branch42.yml)
|
| | [](https://github.com/apache/spark/actions/workflows/build_branch42_java21.yml)
|
+| | [](https://github.com/apache/spark/actions/workflows/build_branch42_java25.yml)
|
| | [](https://github.com/apache/spark/actions/workflows/build_branch42_non_ansi.yml)
|
| | [](https://github.com/apache/spark/actions/workflows/build_branch42_maven.yml)
|
| | [](https://github.com/apache/spark/actions/workflows/build_branch42_maven_java21.yml)
|
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]