Skip to content

[Improve][CI] Optimize changes job engine module calculation#10783

Draft
davidzollo wants to merge 1 commit intoapache:devfrom
davidzollo:david/optimize-changes-job
Draft

[Improve][CI] Optimize changes job engine module calculation#10783
davidzollo wants to merge 1 commit intoapache:devfrom
davidzollo:david/optimize-changes-job

Conversation

@davidzollo
Copy link
Copy Markdown
Contributor

Purpose

The changes workflow job currently spends most of its time in Maven dependency tree resolution when a change only touches engine files. Existing samples show this path can take 7-9 minutes even though engine changes already route broad downstream CI through engine=true.

Changes

  • Add a fast path for pure engine changes in Make unit test modules.
  • Add the same fast path in Make integration test modules when no connector or engine-e2e module changed.
  • Preserve the existing fixed engine smoke module outputs so downstream conditions remain compatible.

Validation

  • git diff --check
  • Ruby YAML parse for .github/workflows/backend.yml
  • Engine helper mapping check for connector-seatunnel-e2e-base and connector-console-seatunnel-e2e
  • Bash simulation for engine-only and mixed engine+connector routing
  • ./mvnw spotless:apply -nsu -Dmaven.gitcommitid.skip=true
  • ./mvnw -q -DskipTests verify -Dskip.ui=true -Dlicense.skipAddThirdParty=true -nsu -Dmaven.gitcommitid.skip=true -T 3C

@github-actions github-actions bot added the CI&CD label Apr 17, 2026
@davidzollo davidzollo marked this pull request as draft April 17, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant