Skip to content

[Fix][CI] Route engine, UDF and standalone-module changes to their tests - #12474

Merged
davidzollo merged 1 commit into
apache:devfrom
goutamadwant:fix/ci-routing-coverage-holes
Sep 28, 2026
Merged

davidzollo merged 1 commit into
apache:devfrom
goutamadwant:fix/ci-routing-coverage-holes

Conversation

@goutamadwant

Copy link
Copy Markdown
Collaborator

Purpose of this pull request

Related: #11513. This is a correctness fix: it adds runs where tests were silently skipped. It does not overlap #11515, which routes docs/UI/dependency jobs and scopes unit tests, or #9976, which moves long connector modules into dedicated jobs. The UI-build routing gap is left to #11515.

Three places in backend.yml never select tests that exist:

  1. engine-k8s-it skips engine changes. Its condition is api == 'true' || it-modules contains seatunnel-engine-k8s-e2e. For a change under seatunnel-engine/**, it-modules holds only the fixed smoke modules, so KubernetesIT does not run, although it deploys the Zeta image that the change affects. The job takes 7–9 minutes per leg (fork runs 35959479197 and 35958652409).
  2. ExampleUdfIT is never run. seatunnel-transforms-v2-e2e-udf (added with [Fix][Transform-v2] Fix custom udf throw exception #9195 and extended in [Feature][Transform] Add Zeta SQL UDF context and lifecycle hooks with e2e/docs updates #10489) is not in any job's -pl list. The transform jobs run only part-1 and part-2. The updated-modules path drops modules with transform in the name.
  3. seatunnel-trace/** and seatunnel-e2e/seatunnel-core-e2e/** match no change filter. A PR touching only these starts no Java build or test. The tests there, seatunnel-trace-analyzer (2 test classes) and seatunnel-starter-e2e (SeaTunnelConnectorTest and one more), only run when some other change triggers the full unit-test job.

Changes:

  • engine-k8s-it: add || needs.changes.outputs.engine == 'true'.
  • transform-v2-it-part-1: -pl :seatunnel-transforms-v2-e2e-part-1,:seatunnel-transforms-v2-e2e-udf. ExampleUdfIT is disabled on Flink and Spark, so this adds two Zeta-only test methods. The job's timeout-minutes goes from 120 to 135, because part-1 alone already takes 99–107 minutes and the UDF module adds its own build and tests.
  • New standalone filter for the two paths. A standalone helper in update_modules_check.py maps the changed files to seatunnel-trace-analyzer / seatunnel-starter-e2e, and the Make unit test modules step adds them to ut-modules, in the same way seatunnel-dist is handled today. That starts the unit-test job. On dev this is the full reactor; with [Improve][CI] Reduce unnecessary PR validation work #11515 it becomes -pl <module> -am.

seatunnel-examples/** is left out on purpose. Those modules have no tests, and the merge queue compiles them.

Does this PR introduce any user-facing change?

No. CI only.

How was this patch tested?

  1. Unit tests: python3 -m unittest discover -s tools/update_modules_check -p 'test_*.py' → 33 tests OK. New tests:

    • the standalone path → module mapping;
    • the mapped modules exist with that artifactId, and the workflow filter uses exactly those paths;
    • engine-k8s-it runs for engine == 'true';
    • every non-connector E2E module that has *IT classes appears in some job's -pl list.

    Run against the current dev workflow, the last three fail. The last one names seatunnel-transforms-v2-e2e-udf, the only such module missing.

  2. YAML parsing; git diff --check.

  3. A local simulation of the changes job and job if: conditions:

    Changed files Before After
    seatunnel-trace/** only 6 gate jobs, no tests + unit-test × 4 (ut-modules=["seatunnel-trace-analyzer"])
    seatunnel-e2e/seatunnel-core-e2e/** only 6 gate jobs, no tests + unit-test × 4 (ut-modules=["seatunnel-starter-e2e"])
    Engine server change 79 legs, engine-k8s-it skipped 81 legs, engine-k8s-it runs
    Transform (api) / connector-only / docs-only unchanged unchanged
  4. ExampleUdfIT run locally with the same command as the job, ./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false -D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl :seatunnel-transforms-v2-e2e-udf -am -Pci:

    • JDK 8 (1.8.0_172): Tests run: 2, Failures: 0, Errors: 0 for ExampleUdfIT (65.5 s); BUILD SUCCESS in 7:53 min.
    • JDK 11 (Temurin 11.0.19): Tests run: 2, Failures: 0, Errors: 0 for ExampleUdfIT (67.7 s); BUILD SUCCESS in 7:56 min.
    • Engines: Zeta only. The class is disabled on Flink and Spark, so no Flink or Spark containers start for it.

Fork CI on this branch: https://github.com/goutamadwant/seatunnel/actions/runs/36140943691. It was queued when this PR was opened. Only workflow and CI-tooling files change here, so only the gate and changes jobs run on the fork, and none of the jobs changed by this PR run there. The routing proof is the changes job output and the unit tests. After merge, an engine-only PR should show engine-k8s-it legs, and transform-v2-it-part-1 logs should show ExampleUdfIT running.

Cost: engine PRs add 2 legs of 7–9 minutes. API/engine PRs add about 1–2 minutes of test time (65–68 s locally) plus the UDF module build to transform-v2-it-part-1, which took 99–107 minutes against its previous 120-minute limit in recent full runs (now 135). PRs touching only trace or starter-e2e now run the unit-test job.

Check list

- engine-k8s-it now also runs for engine changes; it previously ran only for
  API changes or edits to the k8s E2E module itself.
- transform-v2-it-part-1 also runs seatunnel-transforms-v2-e2e-udf, so
  ExampleUdfIT is selected by a CI job for the first time. The job timeout
  goes from 120 to 135 minutes because part-1 alone already takes 99-107.
- Changes under seatunnel-trace/ or seatunnel-e2e/seatunnel-core-e2e/ matched
  no change filter and ran no Java tests. They now add seatunnel-trace-analyzer
  or seatunnel-starter-e2e to ut-modules, which starts the unit-test job.
- Tests guard the mapping, the k8s condition, and that every non-connector E2E
  module with IT classes appears in a workflow job.

@DanielLeens DanielLeens 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.

What Problem Does This PR Solve?

Three test suites in seatunnel/dev currently exist but are never executed by CI: KubernetesIT (skipped for pure engine changes), ExampleUdfIT (never wired into any job's -pl list at all), and the plain unit tests in seatunnel-trace-analyzer / seatunnel-starter-e2e (only run incidentally when some unrelated change happens to trigger the full unit-test job). This PR closes all three gaps by (1) adding needs.changes.outputs.engine == 'true' to engine-k8s-it's trigger, (2) adding the UDF e2e module to transform-v2-it-part-1's -pl list, and (3) introducing a small standalone file-filter + module-mapping mechanism that routes seatunnel-trace/** and seatunnel-e2e/seatunnel-core-e2e/** changes into the existing unit-test job. It is a CI-only correctness fix with no product code changes.

1. Code Change Review

1.1 Core Logic Analysis

Change 1 — engine-k8s-it (.github/workflows/backend.yml:913)

- if: needs.changes.outputs.api == 'true' || contains(fromJSON(needs.changes.outputs.it-modules), 'seatunnel-engine-k8s-e2e')
+ if: needs.changes.outputs.api == 'true' || needs.changes.outputs.engine == 'true' || contains(fromJSON(needs.changes.outputs.it-modules), 'seatunnel-engine-k8s-e2e')

I traced why the it-modules clause alone doesn't catch engine-only changes: for an engine-only diff, engine-modules (.github/workflows/backend.yml:302) always resolves to the fixed constant ,connector-seatunnel-e2e-base,connector-console-seatunnel-e2e (tools/update_modules_check/update_modules_check.py:86-89, unchanged by this PR), and cv2-modules/engine-e2e-modules are empty. In the it-modules step (.github/workflows/backend.yml:411-419, pre-existing, unchanged), the branch "zz${connector_modules}${engine_e2e_modules}" == "zz" && "zz"$engine_modules != "zz" is taken, which short-circuits straight to the fixed smoke-module list — it explicitly skips the Maven dependency-tree resolution that would otherwise discover seatunnel-engine-k8s-e2e as a transitive consumer. So it-modules never contains seatunnel-engine-k8s-e2e for an engine-only change, and the job was silently skipped even though it deploys the Zeta image the engine change affects. Sibling job engine-v2-it (.github/workflows/backend.yml:861) already has needs.changes.outputs.engine == 'true' in its condition — this fix simply brings engine-k8s-it in line with that established, already-correct sibling pattern, which is strong corroborating evidence this is the right, minimal, precise fix rather than a speculative one.

Change 2 — transform-v2-it-part-1 UDF wiring (.github/workflows/backend.yml:959,972)

- timeout-minutes: 120
+ # Part-1 alone takes 99-107 minutes on ubuntu-latest; the UDF E2E module adds its own build and tests.
+ timeout-minutes: 135
  ...
- ... -pl :seatunnel-transforms-v2-e2e-part-1 -am -Pci
+ ... -pl :seatunnel-transforms-v2-e2e-part-1,:seatunnel-transforms-v2-e2e-udf -am -Pci

I confirmed seatunnel-transforms-v2-e2e-udf is a real reactor module (seatunnel-e2e/seatunnel-transforms-v2-e2e/pom.xml:33, artifactId matches at seatunnel-e2e/seatunnel-transforms-v2-e2e/seatunnel-transforms-v2-e2e-udf/pom.xml:25) and that, before this PR, the string "udf" did not appear anywhere in backend.yml at all — the module's ExampleUdfIT (seatunnel-e2e/seatunnel-transforms-v2-e2e/seatunnel-transforms-v2-e2e-udf/src/test/java/org/apache/seatunnel/e2e/transform/udf/ExampleUdfIT.java:33-52) was a genuinely dead test. The class is @DisabledOnContainer(type = {SPARK, FLINK}), so it only ever exercises Zeta containers; I checked ContainerUtil.discoverTestContainers (seatunnel-e2e/seatunnel-e2e-common/src/test/java/org/apache/seatunnel/e2e/common/util/ContainerUtil.java:391-419) and confirmed both the RUN_ALL_CONTAINER=true (API-change) and RUN_ALL_CONTAINER=false,RUN_ZETA_CONTAINER=true (engine-only-change) paths correctly select Zeta containers, so the class runs under both trigger conditions of this same job. The timeout bump (120→135) is reasonable and specifically pre-empts the kind of tight-timeout-induced flaky cancellation this same repo suffered previously in the unit-test job (see the comment at .github/workflows/backend.yml:527-529, which documents that exact failure mode) — this shows the author is aware of, and defending against, precedent in this codebase.

Change 3 — standalone filter/routing (.github/workflows/backend.yml:261-268,322-359, tools/update_modules_check/update_modules_check.py:78-97,318-319)

STANDALONE_MODULE_PATHS = (
    ("seatunnel-trace/", "seatunnel-trace-analyzer"),
    ("seatunnel-e2e/seatunnel-core-e2e/", "seatunnel-starter-e2e"),
)

def build_standalone_modules(files):
    modules = []
    for file in json.loads(files):
        for path_prefix, module in STANDALONE_MODULE_PATHS:
            if file.startswith(path_prefix) and module not in modules:
                modules.append(module)
    return modules

I verified both mapped path→artifactId pairs against the real poms: seatunnel-trace/seatunnel-trace-analyzer/pom.xml:26 → seatunnel-trace-analyzer, and seatunnel-e2e/seatunnel-core-e2e/seatunnel-starter-e2e/pom.xml:25 → seatunnel-starter-e2e. Both parent poms currently declare exactly one <module> each, so the flat prefix→module mapping is accurate today (see 3.3 for a forward-looking caveat). I also confirmed why the other, more general regression test added by this PR (test_every_non_connector_e2e_it_module_has_a_workflow_job) can't catch this specific gap on its own: it scans for *IT.java files, but seatunnel-trace-analyzer's and seatunnel-starter-e2e's tests are plain *Test.java classes (seatunnel-trace/seatunnel-trace-analyzer/src/test/java/org/apache/seatunnel/trace/analyzer/{TraceDataAggregatorTest,TraceFileReaderTest}.java, seatunnel-e2e/seatunnel-core-e2e/seatunnel-starter-e2e/src/test/java/org/apache/seatunnel/core/starter/seatunnel/{SeaTunnelConnectorTest,SeaTunnelConnectorBatchCancelTest}.java) — none end in IT, so a purely IT-suffix-based scan would never flag them. That's a well-reasoned justification for needing a second, dedicated mechanism rather than just widening the generic scan.

I traced the full downstream plumbing for the "trace-only change" scenario end to end:

changes job
  filter step: standalone_files = check_file_updates.py(seatunnel-trace/**, seatunnel-e2e/seatunnel-core-e2e/**)  [backend.yml:262]
  -> steps.filter.outputs.standalone = 'true', standalone_files = '["seatunnel-trace/.../Foo.java"]'
  "Check Standalone Module Update" step [backend.yml:322-329]
  -> update_modules_check.py standalone "$STANDALONE_FILES" -> build_standalone_modules() -> ",seatunnel-trace-analyzer"
  -> steps.standalone-modules.outputs.modules = ",seatunnel-trace-analyzer"
  "Make unit test modules" step [backend.yml:339-373]
  -> now-if includes `|| steps.standalone-modules.outputs.modules != ''`  [backend.yml:341]
  -> modules = ''+''+''+ ",seatunnel-trace-analyzer" -> stripped to "seatunnel-trace-analyzer"
  -> engine_modules == '' && connector_modules == '' && "zz${dist_modules}${standalone_modules}" != "zz"  [backend.yml:347]
  -> short-circuits to modules_json = ["seatunnel-trace-analyzer"]  (skips the mvn dependency-tree resolution)
  -> ut-modules output = ["seatunnel-trace-analyzer"]
unit-test job [backend.yml:518-520]
  -> if: ut-modules != '[]'  -> job now runs (previously it did not)
  -> runs the FULL reactor `mvn ... clean verify -DskipUT=false` [backend.yml:540] (ut-modules only gates whether the job runs, not `-pl` scope — matches the PR description's stated pre-#11515 behavior)

This matches exactly the before/after table the author gives in the PR description and is internally consistent with the existing dist_modules handling this mechanism was modeled on.

Key Findings

  • The normal PR path does reach all three changed code paths: any real PR that touches seatunnel-engine/**, or the transform-v2-e2e part-1 job, or seatunnel-trace/**/seatunnel-e2e/seatunnel-core-e2e/**, will exercise the new branches — these are not restricted to a rare recovery/edge path.
  • This is a precise fix, not a workaround: each of the three gaps is closed at its exact root cause (a missing if: disjunct, a missing -pl entry, and a genuinely unmatched file-glob), verified against the actual filter/job wiring rather than papering over symptoms.
  • Coverage is real, not just gate-passing: the author's local run of ExampleUdfIT under the identical CI Maven invocation produced Tests run: 2, Failures: 0 on both JDK 8 and 11, and the new Python unit tests are structurally coupled to the live backend.yml content (they read the actual file), so they'd catch a regression if any of the three wirings were reverted.
  • Remaining gap acknowledged by the author and out of scope here: seatunnel-examples/** is intentionally left unrouted (no tests exist there; merge-queue compiles them) — reasonable, not a hidden hole.
  • Design fragility (non-blocking, see 3.3): STANDALONE_MODULE_PATHS is a flat 1:1 prefix→module map rather than the dynamic per-file module derivation get_modules() uses for cv2/engine; correct today only because both parent poms currently have exactly one child module.

Compatibility/Correctness scenario matrix

  • Works correctly: engine-only PR (routes engine-k8s-it + full-reactor unit-test bypass logic unaffected); API/engine PR touching the UDF module path (part-1 module list includes it); trace-only or starter-e2e-only PR (routes into unit-test via the new standalone branch).
  • Does not (and is not intended to) change: seatunnel-examples/**-only PRs (still untested by design, per author's rationale); connector-only PRs (untouched, verified unchanged in the author's own before/after table).
  • Depends on: steps.filter.outputs.standalone being computed before steps.standalone-modules runs (step-declaration order in the same job — verified correct at .github/workflows/backend.yml:262 before :322), and on check_file_updates.py's pre-existing fnmatch-based glob matching (unchanged, not part of this diff).

1.2 Compatibility Impact

Fully compatible. This changes only .github/workflows/backend.yml and two files under tools/update_modules_check/. There is no user-facing API, config option, default value, serialization format, or product runtime behavior touched. The PR body itself correctly marks "Does this PR introduce any user-facing change? No. CI only." No incompatible-changes.md entry is needed, and none was added — correct.

1.3 Performance / Side-Effect Analysis

This is CI-only, so "performance" here means CI resource/time cost, which the PR body quantifies transparently:

  • engine-k8s-it now runs for every engine-touching PR: +2 legs (JDK 8/11) × 7–9 min each. Since seatunnel-engine/** changes are presumably frequent, this is a real, ongoing increase in aggregate CI minutes across the project — intentional and justified (it was a real, previously-silent gap), but worth maintainers' awareness as a recurring cost, not a one-off.
  • transform-v2-it-part-1 timeout 120→135 min and +65–68s of Zeta-only test time plus UDF module build time for every API/engine PR — modest, and the timeout increase is a defensible pre-emptive move given this repo's documented history of tight-timeout-induced cancellations (.github/workflows/backend.yml:527-529).
  • Trace-only/starter-e2e-only PRs now trigger the full-reactor unit-test job (currently ~70–90 min per the comment at .github/workflows/backend.yml:527), where previously they triggered zero test jobs. This is the single largest per-PR cost increase introduced here, though it is exactly the bug being fixed (those PRs were getting zero test signal at all).

No memory/thread/lock/concurrency concerns apply — these are GitHub Actions job-graph and Maven -pl changes, not runtime code.

1.4 Error Handling and Logging

No new exception paths, no swallowed errors, no new logging, and no sensitive data introduced or touched. build_standalone_modules (tools/update_modules_check/update_modules_check.py:88-93) is a straightforward, side-effect-free loop over a JSON list with no failure modes beyond the pre-existing json.loads behavior shared by every other get_*_modules function in this file.

  • Issue 1 (Low, non-blocking): The new "Check Standalone Module Update" step (.github/workflows/backend.yml:322-329) passes the untrusted file-list through an env: variable (STANDALONE_FILES) before shell-interpolating it, whereas every sibling step (cv2-modules, engine-modules, etc., e.g. .github/workflows/backend.yml:283) interpolates ${{ steps.filter.outputs.X_files }} directly into the run: script body. The new step's pattern is actually the safer one (it avoids the classic GitHub Actions script-injection risk of embedding untrusted context values directly into shell scripts), but it introduces a stylistic inconsistency with neighboring steps that use the same kind of PR-controlled file-path data. Not a regression introduced by this PR (the less-safe pattern is pre-existing and untouched here) and not something this PR is obligated to fix, but worth a follow-up cleanup to align the older steps to the newer, safer style.
  • Issue 2 (Low, non-blocking): The PR body's checklist template (License Notice / docs update / incompatible-changes.md / connector registration) is left with all boxes unchecked, even though the prose directly above explicitly and correctly answers "No, CI only" for the user-facing-change question. Purely a documentation-hygiene nit; does not affect mergeability since the prose answer is unambiguous and correct.

2. Code Quality Assessment

2.1 Coding Standards

STANDALONE_MODULE_PATHS and build_standalone_modules/get_standalone_modules (tools/update_modules_check/update_modules_check.py:78-97) carry a clear explanatory comment describing what the mapping is for and why ("Paths that no other change filter in backend.yml covers..."), consistent with this file's existing conventions (e.g. the _FULL_CONNECTOR_IT_SHARD_SEED block at line 22). The YAML comment added at .github/workflows/backend.yml:958 explaining the timeout bump is a good, non-trivial explanation of a magic number, matching the existing comment style at line 527. No boilerplate getters/setters are involved; the functions have real (if small) logic and are appropriately commented.

2.2 Test Coverage and Test Stability

Mandatory flaky-test analysis, since this PR touches test code (tools/update_modules_check/test_update_modules_check.py):

  • All four new test methods (test_standalone_paths_map_to_their_test_modules, test_standalone_modules_exist_and_match_workflow_filter, test_engine_changes_run_the_k8s_integration_test, test_every_non_connector_e2e_it_module_has_a_workflow_job) are pure, deterministic Python: no sleep, no timing, no threads/containers, no shared mutable class-level state, no floating-point comparisons, no ordering dependence between tests (each re-reads backend.yml fresh via the pre-existing workflow_text() helper at tools/update_modules_check/test_update_modules_check.py:44-48).
  • I performed the "delete-line" failure-power check mentally against each: removing the standalone_modules plumbing in update_modules_check.py breaks test_standalone_paths_map_to_their_test_modules; renaming/removing an artifactId under seatunnel-trace/ or seatunnel-core-e2e/ breaks test_standalone_modules_exist_and_match_workflow_filter; reverting the engine-k8s-it if: condition breaks test_engine_changes_run_the_k8s_integration_test; reverting the -pl addition of :seatunnel-transforms-v2-e2e-udf breaks test_every_non_connector_e2e_it_module_has_a_workflow_job (confirmed ExampleUdfIT.java matches the *IT.java glob it scans for). None of these are mock-interaction or reflection-based tests; all assert on real derived output or real file content.
  • The ExampleUdfIT addition itself is not new test code (pre-existing since #9195/#10489) — this PR only makes it reachable — but I confirmed via ContainerUtil (section 1.1) that it will run correctly under this job's two possible trigger reasons.

Rating: Stable. No flaky-test risk identified.

2.3 Documentation Updates

Not applicable — this is a CI-internal, non-user-facing change, and no docs/en/docs/zh updates are needed or expected. Correctly omitted.

3. Architectural Soundness

3.1 Elegance of the Solution

Precise fix. All three changes reuse existing, established patterns in this file rather than inventing new mechanisms: the standalone filter mirrors the dist filter's exact shape (.github/workflows/backend.yml:255-259 vs 262-266), and the engine-k8s-it fix simply matches the pattern already used by its sibling engine-v2-it job. This is a minimal, well-targeted change with no scope creep.

3.2 Maintainability

Good. The new constants and functions are self-documenting and colocated with equivalent existing logic, and the new tests double as living documentation of intent (they literally assert the mapping the code implements).

3.3 Extensibility

One caveat worth flagging for future maintainers (Low severity, not a blocker): STANDALONE_MODULE_PATHS hard-codes a single artifactId per path prefix, unlike get_modules() (tools/update_modules_check/update_modules_check.py:95-115), which dynamically derives module names from path segments and therefore naturally handles multiple sibling modules under one root. If a second test-bearing module is ever added under seatunnel-trace/ or seatunnel-e2e/seatunnel-core-e2e/, build_standalone_modules would silently keep mapping all files under that root to only the one module currently registered, and test_standalone_modules_exist_and_match_workflow_filter would not catch the omission (it only checks that the configured module's pom exists, not that all poms under the prefix are represented). This is correct for the current 1:1 directory structure and not something this PR needs to solve, but it's a latent gap that mirrors the exact class of bug this PR is fixing today.

3.4 Historical-Version Compatibility

Not applicable in the SeaTunnel 2.6/3.0 sense — this is apache/seatunnel CI tooling on dev, with no serialization, checkpoint, or upgrade-path implications.

4. Issue Summary

# Issue Location Severity
1 New step uses safer env:-based interpolation while sibling steps still interpolate PR-controlled file paths directly into run: scripts (pre-existing pattern elsewhere, not a regression) .github/workflows/backend.yml:322-329 vs :283 Low
2 PR body checklist boxes left unchecked despite prose correctly answering "no user-facing change" PR description Low
3 STANDALONE_MODULE_PATHS flat 1:1 mapping won't automatically extend if a second module is added under seatunnel-trace//seatunnel-core-e2e/; not caught by the new coverage test tools/update_modules_check/update_modules_check.py:78-84 Low

No High or Medium severity issues found. No blocking issues found.

5. Merge Recommendation

Conclusion: Ready to merge

1. Blockers — None.

2. Recommended fixes — non-blocking

  • Issue 1: align the new step's env:-based shell-injection-safe pattern back onto the older sibling steps in a follow-up, not this PR (Low; pure hygiene, no functional risk today).
  • Issue 2: tick the relevant checklist boxes (or explicitly strike them) for clarity in future similar PRs (Low; cosmetic).
  • Issue 3: if seatunnel-trace/ or seatunnel-e2e/seatunnel-core-e2e/ ever gain a second child module, extend STANDALONE_MODULE_PATHS's mapping approach or the coverage test accordingly (Low; purely forward-looking, not an issue with the current diff).

Overall assessment: This is a well-scoped, well-evidenced CI correctness fix. Each of the three claimed gaps was independently verified against the real filter/job wiring and pom structure rather than taken on faith from the PR description, and each holds up: engine-k8s-it genuinely skipped engine changes due to the it-modules short-circuit branch; ExampleUdfIT was genuinely unreachable by any job before this diff; and seatunnel-trace/**/seatunnel-e2e/seatunnel-core-e2e/** genuinely matched no existing filter. The fix for each is minimal and follows patterns already established elsewhere in the same file (notably, engine-k8s-it's fix simply catches it up to its sibling engine-v2-it, which strongly supports this being the correct fix rather than a new invention). The added tests have genuine failure power against each of the three changes and are structurally stable (no flakiness risk). CI is green (Build, Notify test workflow, labeler all pass), and the code-style job that runs these exact new Python tests (.github/workflows/backend.yml:64-65) has already executed successfully against this head commit. I do not see a materially better alternative implementation — the chosen approach (extend the existing filter/-pl/module-mapping conventions rather than introducing a new mechanism) is the right one given how the rest of this file is structured; the only trade-off worth surfacing to maintainers is the ongoing CI-minutes cost increase quantified in the PR description, which is a policy/cost decision rather than a code defect.

@davidzollo davidzollo 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.

+1 if CI passes.
LGTM, thanks for your work and keep up the good effort!

@davidzollo
davidzollo added this pull request to the merge queue Sep 28, 2026
Merged via the queue into apache:dev with commit 8660793 Sep 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants