Repository navigation
Description
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-itshards, 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
- Of 400 PRs merged 2026-07-23 → 2026-09-24, 90 took the
apiroute. For 14 of those 90, transforms were the only reason: everyapi-matched file was under the two transform paths, and no engine file changed. Examples: [Fix][Transform-V2] Support small integer MOD divisors #12215, [Fix][Transform-V2] Honor Amazon embedding retry options #12193, [Fix][Transform-V2] Make rename transform case conversion locale independent #11994, [Fix][Transform-V2] Make SQL case conversion locale independent #11951, [Fix][Transform-V2] Handle TINYINT and SMALLINT in Zeta SQL numeric functions #11937, [Fix][Transform-V2][DataValidator] Normalize numeric bounds in RANGE rule to fix ClassCastException #11920, [Improve][Transform-V2] Unify duplicated toBigDecimal helper #11918, [Fix][Transform-V2] Support decimal range bounds #11855, [Improve][Transform-V2] Migrate FilterRowKind validation to OptionRule #11763, [Fix][Transform-V2] Fix DECIMAL arithmetic precision loss and division rounding #11724, [Bug][Transform-V2] Fix CEIL/FLOOR/ROUND/MOD/TRUNC silently corrupting BIGINT and DECIMAL values (#11696) #11712, [Fix][Transform-V2] Fix silent value corruption in Zeta SQL numeric functions #11697. Most change 2–8 files. - Transform coverage itself sits in
transform-v2-it-part-1/2(andExampleUdfIT, which no job selects today; [Fix][CI] Route engine, UDF and standalone-module changes to their tests #12474 adds it). The connector matrix exercises transforms only incidentally:ContainerUtil.copySeaTunnelStarterToContainercopies the transforms jar into every engine container. - Modules that declare
seatunnel-transforms-v2as a dependency: the starters,seatunnel-dist,seatunnel-e2e-common, the engine E2E bases, and some connector E2E modules (Kafka, RocketMQ, Elasticsearch, CDC).
Proposal
- Take the two transform paths out of the
apiglob. Add atransformsflag for them. - When
transforms=true(andapi/engineare false), run:- unit tests for
seatunnel-transforms-v2and 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-2and the UDF E2E on the PR engine set;engine-v2-itas the Zeta canary;- one fixed connector canary shard that loads transforms through a real source and sink. For example, the
connector-fake/connector-assertE2E plus one Kafka or JDBC transform pipeline; the exact set is to be agreed here.
- unit tests for
- Keep
api=truefor changes toseatunnel-api,seatunnel-core,seatunnel-translation,seatunnel-e2e-common, and so on, exactly as today. - 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:
- the canary shard;
- a
full-cilabel maintainers can apply; - the nightly, once it can finish ([Fix][CI] Stop the nightly backend run and dev push builds from cancelling each other #12467).
- 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
- It builds on [Improve][CI] Reduce unnecessary PR validation work #11515 (impacted unit tests, per-path flags).
- It is independent of [Improve][CI] Extract modules that take a long time and run them independently. #9976.
- The dev@ thread requested on [Umbrella][CI] Redesign PR validation for fast, trusted, and scalable feedback #11513 should confirm the canary set, because it changes what "Build" guarantees for transform PRs.
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
Buildstays the single required check. This only changes which legs run inside it on ordinary PRs; the nightly (and a maintainer-applied full-CI option) keep full coverage, per the boundary set in [Umbrella][CI] Redesign PR validation for fast, trusted, and scalable feedback #11513.- Complementary to [Improve][CI] Optimize CI #9900 (merged CI optimization) and [Bug] [seatunnel-translation] seatunnel-translation-base test dependencies introduce unrelated connector modules into incremental IT builds #11074 (translation test dependencies pulling unrelated connector modules into incremental IT builds); it does not change either.
- This is a proposal for the dev@ discussion requested in [Umbrella][CI] Redesign PR validation for fast, trusted, and scalable feedback #11513; no implementation before there is agreement.
Are you willing to submit a PR?
- Yes, once the direction is agreed on dev@.
Code of Conduct
- I agree to follow this project's Code of Conduct
Activity
SEZ9 commentedon Sep 26, 2026
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-v2as a dependency. Should thetransformsroute include those modules, or is the intent to rely on-pl seatunnel-transforms-v2 -amdunit 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
ExampleUdfITto a job, it would be good to make sure the newtransformsroute selects that job too, so transform-only PRs keep that test covered.