[build] Split Flink CI stages by major version#3714
Open
luoyuxia wants to merge 7 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Splits the Flink test execution in GitHub Actions into separate CI stages by Flink major version to reduce pressure on the lake stage and allow Flink test groups to run independently.
Changes:
- Introduces
flink-1.xandflink-2.xCI matrix entries, both using the existingtest-flinkMaven profile. - Updates stage module selection so Flink 1.18/1.19/1.20 run in
flink-1.x, while Flink common + 2.2 run inflink-2.x. - Removes Flink 1.18/1.19 modules from the
lakestage module list.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/stage.sh | Splits Flink module selection into flink-1.x and flink-2.x stages and removes Flink modules from lake. |
| .github/workflows/ci-template.yaml | Expands the CI matrix to include new flink-1.x and flink-2.x jobs mapped to the test-flink profile. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+33
to
37
| MODULES_FLINK2="\ | ||
| fluss-flink,\ | ||
| fluss-flink/fluss-flink-common,\ | ||
| fluss-flink/fluss-flink-2.2,\ | ||
| fluss-flink/fluss-flink-1.20,\ | ||
| fluss-flink/fluss-flink-2.2\ | ||
| " |
Contributor
Author
wuchong
reviewed
Jul 21, 2026
| fail-fast: false | ||
| matrix: | ||
| module: [ core, flink, spark3, spark3-scala213, lake ] | ||
| module: [ core, flink-1.x, flink-2.x, spark3, spark3-scala213, lake ] |
Member
There was a problem hiding this comment.
flink1 and flink2 for a shorter name, like spark3 and spark4
wuchong
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generated-by: Codex following the repository AGENTS.md guidelines.
Purpose
Linked issue: N/A
The lake CI stage frequently approaches or exceeds its timeout because it also runs legacy Flink tests. Split the Flink tests by major version so the lake stage only runs lake modules and each group can execute independently.
Brief change log
flink1andflink2CI matrix jobs using the existingtest-flinkprofile.flink1; skip Flink 1.19 in PR CI to reduce runtime, with daily CI coverage considered as follow-up work.flink2.HudiBucketingFunctionTesttofluss-commonso coverage for the common Hudi classes is collected by the core stage.Tests
bash -n .github/workflows/stage.shcore,flink1,flink2, andlake.git diff --checktest-flink1andtest-flink2profile activation with Maven../mvnw -o -B -pl fluss-common -Dtest=HudiBucketingFunctionTest test(21 tests passed)./mvnw spotless:checkwas started and passed the first ten reactor modules, but was stopped after Maven stalled while accessing a configured internal repository.API and Format
No API or storage format changes.
Documentation
No documentation changes.