Skip to content

[SPARK-58538][INFRA][4.3] Fix branch-4.3 workflow titles and default branch - #57740

Closed
HeartSaVioR wants to merge 1 commit into
apache:branch-4.3from
HeartSaVioR:branch43-workflow-titles
Closed

[SPARK-58538][INFRA][4.3] Fix branch-4.3 workflow titles and default branch#57740
HeartSaVioR wants to merge 1 commit into
apache:branch-4.3from
HeartSaVioR:branch43-workflow-titles

Conversation

@HeartSaVioR

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

branch-4.3 inherited its build workflows from branch-4.x when it was cut, so they still identify themselves as branch-4.x. Apply the convention that the other release branches (branch-4.2, branch-4.1) already follow:

  • drop the branch token from the nine 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)". The branch is implied by where the file lives, and the old names collided confusingly with the real branch-4.x runs in the Actions UI and in check-run names;
  • point the branch input default of both reusable workflows at this branch: build_and_test.yml from branch-4.x and maven_test.yml from master, both to branch-4.3.

The maven_test.yml default is the branch-4.3 instance of SPARK-58537: the callers pass no branch: input, so the Maven workflows were building master rather than this branch. On branch-4.2 and branch-4.1 both reusable workflows default to their own branch, which is why their callers correctly need no explicit input.

Why are the changes needed?

branch-4.3 mistakenly refers to master branch in CI, which should have been fixed.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

scheduled CI will confirm with it.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Opus 5

`branch-4.3` inherited its build workflows from `branch-4.x` when it was cut,
so they are not yet prepared for the decoupled scheduler model. Apply what
SPARK-58180 (apache#57319) did for `branch-4.2`, so a single scheduler on `master`
can dispatch them:

- remove the dormant `schedule:` triggers from the nine `build_*.yml`
  workflows, leaving `workflow_dispatch:`. Scheduled runs never fire from a
  non-default branch, so these crons were inert; the scheduler on `master`
  triggers them instead;
- drop the branch token from the 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)"`, matching the generic,
  non-branch-tagged names on `branch-4.2`. The old names also collided
  confusingly with the real `branch-4.x` runs in the Actions UI;
- point the `branch` input default of both reusable workflows at this branch:
  `build_and_test.yml` from `branch-4.x` and `maven_test.yml` from `master`,
  both to `branch-4.3`, so the callers need no explicit `branch:`.

The `maven_test.yml` default is the `branch-4.3` instance of SPARK-58537: the
callers pass no `branch:` input, so the Maven workflows were building `master`
rather than this branch. SPARK-58180 made the same `maven_test.yml` change for
`branch-4.2` for the same reason.

Co-authored-by: Isaac
@HeartSaVioR
HeartSaVioR force-pushed the branch43-workflow-titles branch from b20e5d2 to 79a32ad Compare August 4, 2026 05:06
@HeartSaVioR

Copy link
Copy Markdown
Contributor Author

Thanks! Merging to 4.3.

HeartSaVioR added a commit that referenced this pull request Aug 4, 2026
…branch

### What changes were proposed in this pull request?

`branch-4.3` inherited its build workflows from `branch-4.x` when it was cut, so they still identify themselves as `branch-4.x`. Apply the convention that the other release branches (`branch-4.2`, `branch-4.1`) already follow:

- drop the branch token from the nine `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)"`. The branch is implied by where the file lives, and the old names collided confusingly with the real `branch-4.x` runs in the Actions UI and in check-run names;
- point the `branch` input default of both reusable workflows at this branch: `build_and_test.yml` from `branch-4.x` and `maven_test.yml` from `master`, both to `branch-4.3`.

The `maven_test.yml` default is the `branch-4.3` instance of SPARK-58537: the callers pass no `branch:` input, so the Maven workflows were building `master` rather than this branch. On `branch-4.2` and `branch-4.1` both reusable workflows default to their own branch, which is why their callers correctly need no explicit input.

### Why are the changes needed?

branch-4.3 mistakenly refers to master branch in CI, which should have been fixed.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

scheduled CI will confirm with it.

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Opus 5

Closes #57740 from HeartSaVioR/branch43-workflow-titles.

Authored-by: Jungtaek Lim <kabhwan.opensource@gmail.com>
Signed-off-by: Jungtaek Lim <kabhwan.opensource@gmail.com>
@HeartSaVioR HeartSaVioR closed this Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants