Skip to content

chore(ci): trim the CI matrix and reset required checks to unblock PRs - #19514

Merged
yihua merged 2 commits into
apache:masterfrom
yihua:trim-github-ci
Aug 5, 2026
Merged

chore(ci): trim the CI matrix and reset required checks to unblock PRs#19514
yihua merged 2 commits into
apache:masterfrom
yihua:trim-github-ci

Conversation

@yihua

@yihua yihua commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Describe the issue this Pull Request addresses

closes #19526, part of the CI improvement epic #19524.

ASF Infra has disabled GitHub Actions on apache/hudi over how much runner time our CI consumes, so nothing can be verified or merged right now. This brings us back within the ASF GitHub Actions policy on both job concurrency and total usage.

The reset of required_status_checks moved to #19523, which should merge first: dropping the per-job contexts is what lets anything merge again, including this PR.

Summary and Changelog

Java CI now runs one configuration per area: a Spark lane on Java 11, a Spark lane on Java 17, a Flink lane, bundle validation, and integration tests. The jobs and matrix entries this takes out are commented out in place and marked [CI-TRIM], so any lane can be restored as our runner budget allows.

The one .asf.yaml line left here adds validate-ci-baseline, a new do-nothing job defined in this PR, as a required context, so that a PR holding checks from the old matrix cannot merge on them. The context and the job that reports it stay in the same commit. Both should be removed once no pre-trim PR is open.

This is an interim measure to get back to green, not a statement about which versions we support. Coverage comes back properly in #19082, which runs a curated core test suite on every Spark version and reserves the full suites for the latest 3.x and 4.x. That gives us broader version coverage than this PR at a fraction of the cost of the old matrix.

Impact

No product code changes. Two coverage gaps worth being explicit about while this is in place:

  • The Spark 3.3/3.4/4.0/4.1 and Flink 1.18 through 2.0 datasource modules are no longer compiled by any job, so a change to shared code that updates only the surviving lanes can break them on master.
  • Bundle validation now covers the Spark bundles only, not the Flink, Kafka Connect or metaserver bundles.

Both are temporary. #19082 restores the Spark side with core tests per version; a cheap compile-only lane could do the same for the Flink modules and bundles.

Risk Level

low

Mechanical and reversible: every removed line has an exact commented-out counterpart. Verified that both workflows parse, that actionlint is clean, and that every surviving job renders the same check name as before, since a mismatch would leave a required context pending forever.

One sequencing note: validate-ci-baseline can only report once Actions is enabled again, so this should merge alongside or after the re-enable.

Documentation Update

none

Contributor's checklist

  • Read through contributor's guide
  • Enough context is provided in the sections above
  • Adequate tests were added if applicable

@yihua
yihua marked this pull request as ready for review August 4, 2026 22:50

@bhasudha bhasudha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@hudi-agent hudi-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ 🤖 This review was generated by an AI agent and may contain mistakes. Please verify any suggestions before applying.

Thanks for working on this! This PR trims the CI matrix to bring runner usage back within ASF policy and resets required checks; the only change in the reviewed file is a documentation comment in hudi-integ-test/pom.xml noting that the integ2 suite is currently parked. No issues flagged from this automated pass — a Hudi committer or PMC member can take it from here for a final review.

cc @yihua

@yihua
yihua enabled auto-merge (squash) August 5, 2026 01:47
Comment thread .asf.yaml
Comment thread .github/workflows/bot.yml
yihua added 2 commits August 5, 2026 12:03
ASF infra disabled GitHub Actions on apache/hudi over the amount of runner
time the full matrix consumed. Cut Java CI down to one configuration per
area: one Spark 3.5 lane on Java 11, one Spark 4.2 lane on Java 17, one
Flink 2.1 lane, plus bundle validation and integration tests. The jobs and
matrix entries this drops are commented out in place and marked [CI-TRIM]
so the coverage can be restored once there is a runner budget for it.

Reset required_status_checks in .asf.yaml: the per-job contexts are gone,
and a new validate-ci-baseline job takes their place so a PR that collected
green checks before the trim cannot merge on them.
@hudi-bot

hudi-bot commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@codecov-commenter

codecov-commenter commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.38%. Comparing base (1f8e53a) to head (fe3df71).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #19514      +/-   ##
============================================
- Coverage     77.17%   76.38%   -0.79%     
+ Complexity    33948    32391    -1557     
============================================
  Files          2575     2520      -55     
  Lines        143397   138985    -4412     
  Branches      17579    16695     -884     
============================================
- Hits         110662   106169    -4493     
- Misses        24476    25176     +700     
+ Partials       8259     7640     -619     
Components Coverage Δ
hudi-common 82.35% <100.00%> (-0.06%) ⬇️
hudi-client 81.98% <ø> (-0.58%) ⬇️
hudi-flink 83.93% <69.23%> (-0.04%) ⬇️
hudi-spark-datasource 70.61% <ø> (-4.49%) ⬇️
hudi-utilities 73.63% <ø> (-0.01%) ⬇️
hudi-cli 15.32% <ø> (ø)
hudi-hadoop 63.50% <ø> (-0.24%) ⬇️
hudi-sync 70.92% <ø> (-0.03%) ⬇️
hudi-io 79.46% <ø> (-0.15%) ⬇️
hudi-timeline-service 83.44% <ø> (ø)
hudi-cloud 64.06% <100.00%> (+0.06%) ⬆️
hudi-kafka-connect 53.20% <ø> (ø)
Flag Coverage Δ
common-and-other-modules 49.56% <ø> (+<0.01%) ⬆️
flink-integration-tests 48.79% <ø> (+<0.01%) ⬆️
hadoop-mr-java-client 43.75% <ø> (+0.04%) ⬆️
integration-tests 13.58% <ø> (-0.01%) ⬇️
spark-client-hadoop-common 49.63% <ø> (-0.01%) ⬇️
spark-java-tests 51.23% <ø> (-0.22%) ⬇️
spark-scala-tests 45.99% <ø> (-1.43%) ⬇️
utilities 36.59% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 260 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yihua
yihua merged commit 4a9cef8 into apache:master Aug 5, 2026
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL PR with lines of changes > 1000

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI matrix exceeds the ASF GitHub Actions policy: 63 concurrent runners and ~46 runner-hours per push

7 participants