Skip to content

[Improve][CI] Give transform-only changes their own route instead of the full api matrix (sub-task of #11513) #12484

Open

Description

@goutamadwant

Search before asking

I searched open issues and PRs. #11513 lists "split docs, UI, dependency-file, workflow-control-plane, API-contract, and engine flags". #11515 does docs/UI/dependency but leaves seatunnel-transforms-v2/** in api. No open PR changes transform routing.

Summary

seatunnel-transforms-v2/** and seatunnel-e2e/seatunnel-transforms-v2-e2e/** are part of the api glob (backend.yml:261 on dev). A PR that changes only a transform gets the full matrix:

  • unit tests on the whole reactor × 4 legs;
  • all 7 all-connectors-it shards, all JDBC parts, every dedicated connector job, engine-v2-it, engine-k8s-it, website and UI;
  • each connector E2E on 7 engines.

That is 83 job legs and about 4,500–5,800 runner-minutes per push (5 sampled full fork runs, 2026-09-22..24).

Evidence

Proposal

  1. Take the two transform paths out of the api glob. Add a transforms flag for them.
  2. When transforms=true (and api/engine are false), run:
    • unit tests for seatunnel-transforms-v2 and its reactor dependents (-pl seatunnel-transforms-v2 -amd, which uses the [Improve][CI] Reduce unnecessary PR validation work #11515 impacted-module path);
    • transform-v2-it-part-1, transform-v2-it-part-2 and the UDF E2E on the PR engine set;
    • engine-v2-it as the Zeta canary;
    • one fixed connector canary shard that loads transforms through a real source and sink. For example, the connector-fake/connector-assert E2E plus one Kafka or JDBC transform pipeline; the exact set is to be agreed here.
  3. Keep api=true for changes to seatunnel-api, seatunnel-core, seatunnel-translation, seatunnel-e2e-common, and so on, exactly as today.
  4. The nightly keeps the full matrix on all engines.

Expected effect [estimate]

A transform-only PR goes from about 83 legs to about 15 legs (4 unit, 4 transform IT, 2 engine-v2-it, 2–4 canary, plus gates). Runner time drops from about 5,000 to roughly 600–900 minutes per push. Over the sampled window, that saves about 14 × (pushes per PR) × ~4,000 runner-minutes.

Risk and backstop

  • A transform change that breaks a connector-specific pipeline, such as a CDC schema-change path through a transform, would surface in the nightly instead of the PR. Mitigations:
  • Before switching, I can replay the last 6 months of transform-only PRs through the routing model and list any whose PR run had a connector-shard failure the reduced route would not have run.

Coordination

Questions for dev@

  • Which connector canary is representative enough for transforms?
  • Should transform changes also run the full JDBC parts? Many transform bugs are type conversions that JDBC E2E exercises.

Required checks and coordination

Are you willing to submit a PR?

  • Yes, once the direction is agreed on dev@.

Code of Conduct

Activity

  1. self-assigned this
    on Sep 26, 2026
  2. SEZ9 commented on Sep 26, 2026

    @SEZ9
    Collaborator

    Thanks for the detailed analysis and data. This reads as a reasonable sub-task of #11513 and lines up with the impacted-module approach from #11515.

    One question on scope: you note that some connector E2E modules (Kafka, RocketMQ, Elasticsearch, CDC) declare seatunnel-transforms-v2 as a dependency. Should the transforms route include those modules, or is the intent to rely on -pl seatunnel-transforms-v2 -amd unit tests, transform-v2-it-part-1/2, engine-v2-it, and the single fixed canary shard? Clarifying that will help evaluate the coverage trade-off and settle the canary set you left open.

    Since #12474 adds ExampleUdfIT to a job, it would be good to make sure the new transforms route selects that job too, so transform-only PRs keep that test covered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions