[FLINK-39928][ci] If there are changes in tests only then skip non related CI jobs in GHA#28433
Open
snuyanzin wants to merge 1 commit into
Open
[FLINK-39928][ci] If there are changes in tests only then skip non related CI jobs in GHA#28433snuyanzin wants to merge 1 commit into
snuyanzin wants to merge 1 commit into
Conversation
snuyanzin
commented
Jun 13, 2026
|
|
||
| # Drift guard: a module added/removed inside an existing list is fine (lists are sourced), | ||
| # but a new/renamed/removed MODULES_* list or stage would misroute silently -> full matrix. | ||
| assert_no_stage_sh_drift() { |
Contributor
Author
There was a problem hiding this comment.
fallback in case of for instance a new module added or removed or renamed
Collaborator
snuyanzin
commented
Jun 13, 2026
Comment on lines
+84
to
+87
| add core "${MODULES_CORE}" | ||
| add table "${MODULES_TABLE}" | ||
| add connect "${MODULES_CONNECTORS}" | ||
| add tests "${MODULES_TESTS}" |
Contributor
Author
There was a problem hiding this comment.
based on stage.sh
…lated CI jobs in GHA
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.
What is the purpose of the change
The main idea: if there are only changes in tests, then skip non related jobs in GHA
for instance: if there is a test change in module
tablethen skip othersif there are test changes in module
coreandtable, then run jobs only for these 2if there is a not only test change in any place then run everything as before
(examples in my fork
Brief change log
GHA
Verifying this change
GHA
Does this pull request potentially affect one of the following parts:
@Public(Evolving): ( no)Documentation
Was generative AI tooling used to co-author this PR?