You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "88fantasy (via GitHub)" <gi...@apache.org> on 2026/09/08 09:25:43 UTC
[PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
88fantasy opened a new pull request, #12208:
URL: https://github.com/apache/seatunnel/pull/12208
### Purpose of this pull request
Implements #12204 (part of the umbrella #12207). Adds two new modules:
- `seatunnel-lineage`: engine-agnostic contract — job/environment/cluster config resolution, the `LineageEvent`/`LineageDataset` model, OpenLineage-spec dataset naming, and a pluggable `LineageBackend` SPI.
- `seatunnel-lineage-openlineage`: the default backend — OpenLineage 1.29.0 model classes plus a hand-written `httpclient 4.5.13` transport.
No engine wiring in this PR. The Zeta and Flink call sites are #12205 and #12206, implemented as PR #{{PR2}} and PR #{{PR3}}, both built on top of this branch.
### Does this PR introduce _any_ user-facing change?
Yes. 11 new optional `env {}` options, all prefixed `openlineage_`:
| Option | Type | Default |
|---|---|---|
| `openlineage_enabled` | Boolean | `false` |
| `openlineage_transport` | String | `"http"` |
| `openlineage_url` | String | (none) |
| `openlineage_namespace` | String | `"seatunnel"` |
| `openlineage_auth_token` | String | (none — env/cluster-level only, see below) |
| `openlineage_timeout_ms` | Int | `10000` |
| `openlineage_retry_times` | Int | `3` |
| `openlineage_run_facet` | String | `"seatunnel_properties"` |
| `openlineage_run_properties` | Map | (none) |
| `openlineage_heartbeat_min_interval_ms` | Long | `3600000` (1h) |
| `openlineage_producer` | String | `https://seatunnel.apache.org/<version>` |
`openlineage_enabled` defaults to `false`, so this PR changes nothing for any existing job. Full description in `docs/en(zh)/introduction/concepts/lineage.md`.
No existing option is renamed, removed, or has its default value changed.
### How was this patch tested?
- Unit tests for config resolution/precedence (`LineageConfigTest`), dataset naming against the OpenLineage naming spec (`LineageDatasetNamingTest`, `LineageDatasetFactoryTest`), event model serialization (`LineageEventTest`), `LineageBackend` SPI discovery (`LineageBackendDiscoveryTest`), and the OpenLineage backend/transport (`OpenLineageBackendTest`) — including a case asserting that a configuration error (bad/missing URL) is logged without leaking the raw endpoint (which can carry userinfo/query parameters).
- `EnvOptionRuleTest` covers that `openlineage_auth_token` is rejected when present in a job's `env {}` — it may only come from a process environment variable or cluster-level configuration, because job config can be persisted or serialized into a `JobGraph`.
- Verified directly (not just asserted in a test) that SeaTunnel's existing shaded `ObjectMapper` corrupts OpenLineage's facets: `@JsonAnyGetter` stops working after shading, and a facet's custom properties get wrapped in a literal `additionalProperties` key instead of being inlined, with no exception raised. This is why the new modules bring their own unshaded Jackson rather than reusing SeaTunnel's existing HTTP/JSON utilities.
- `./mvnw -q -DskipTests verify` across the whole reactor — 470 modules, BUILD SUCCESS.
- Dependency footprint checked with `mvn dependency:list -DincludeScope=runtime` on the new modules against `known-dependencies.txt`; the only net-new runtime jar is `openlineage-java-1.29.0.jar`, now registered there and in `seatunnel-dist/release-docs/LICENSE`. `httpcore` is pinned to `4.4.16` (the version already used elsewhere in the distribution) to avoid a second version landing in `seatunnel-dist`.
### Check list
* [x] New JAR binary package (`io.openlineage:openlineage-java:1.29.0`) — License Notice added, see the `LICENSE` diff in this PR
* [x] Documentation updated (`docs/en`, `docs/zh`)
* [ ] `incompatible-changes.md` — not applicable, this PR only adds new optional configuration
* [ ] Connector-specific checklist items — not applicable, this PR does not touch a connector
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "DanielLeens (via GitHub) via commits" <co...@seatunnel.apache.org>.
DanielLeens commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6945796467
Thanks for confirming the exact-head Build, @SEZ9. The green CI and my approval on `02e374ff` still stand for this head. A merge fact changed since the earlier leave-the-head guidance: GitHub now reports a content conflict against dev. Please resolve the conflict with current dev and run Build for the resulting head. No source finding is being reopened; the new commit will need review and the repository's effective maintainer approval.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub) via commits" <co...@seatunnel.apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6558713431
Thanks for the review. I have synced this branch with `dev` and resolved the conflicts in the English and Chinese incompatible-change notes, retaining both the upstream entries and the OpenLineage migration guidance. The current head is `43d000e81`; GitHub now reports it as mergeable.
The credential-routing follow-up in `2b8ffd656` binds a trusted bearer token to the receiver URL and transport from trusted configuration, and rejects conflicting job-level overrides without exposing the token. Unauthenticated job-level URL overrides remain supported.
After the sync, 26 focused configuration and Markdown tests passed locally with no failures, errors, or skips. The current-head fork [Build](https://github.com/88fantasy/seatunnel/actions/runs/41311714343) is queued; its result is still pending. A maintainer approval is also required.
@nzw921rx Could you please review the updated lineage foundation and, once CI is green and the required approval is in place, consider merging this PR? Thank you for your time.
This PR implements #12204 as part of #12207. The engine integrations are tracked separately in #12209 (Zeta) and #12210 (Flink).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6503421647
Thanks @SEZ9. I checked the actual failing log rather than stopping at the engine-server module name: unit-test (11, ubuntu-latest), job 122104731061, fails in JobStateCleanupDelayTest setup with Node failed to start and Address already in use; all-connectors-it-3 (11) is cancelled. My source clearance for the lineage scope is unchanged. The latest dev shared test fixture has no matching port/startup fix; candidate REST-port PRs #13028/#13030 remain open. Therefore a simple sync is not a demonstrated cure yet. The minimum diagnostic step is to rerun the affected failed/cancelled jobs and inspect a repeat failure, without adding unrelated lineage dependencies or test patches. This qualifies the sync suggestion in the thread rather than asking for an unproved source fix.
Checked 2026-10-29T17:13:49+00:00; head `fb4fd89ff46e8f93e3bf499702a8ccb5db91a052`. [Signal pull request update](https://github.com/apache/seatunnel/actions/runs/40477951213/job/122617766140) = `SUCCESS`; [Build](https://github.com/apache/seatunnel/runs/122617900918) = `FAILURE`
Comparison: base `dev`, head `fb4fd89ff46e8f93e3bf499702a8ccb5db91a052`, `diverged`, ahead 19 / behind 35; GitHub mergeable state `blocked`. Behind/diverged alone is recorded metadata and does not add a sync request.
Daniel has READ repository permission. This is a discussion/CI clarification, not a new complete source review, an effective APPROVED event or dismissal of historical requested changes. A write-capable maintainer must perform any required final approval/dismissal. Thanks for keeping the follow-up focused.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6258267561
Thanks @88fantasy for the kind words, and for the patience through all the rounds.
One practical heads-up: GitHub now reports this PR as having merge conflicts with `dev` (mergeable state: dirty; the head `d3209a898` is currently behind `dev` by 48 commits). The Approve you asked for will not be enough to land it, because the PR cannot enter the merge queue while it conflicts. Please sync the latest `dev` and resolve the conflicts. From my previous pass, the likely hot spots are the dependency and license files touched by the new `seatunnel-lineage` module, as in your earlier sync. A re-sync should not change the author code I reviewed, but it will need a fresh CI run on the new head.
My assessment of the source itself is unchanged from my last review: no source-side blocker. The committer Approve remains outside what I can provide as a read-only reviewer.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub)" <gi...@apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6336846242
Thanks @DanielLeens and @SEZ9 for the follow-up.
I have merged `dev@99ea16b9d` without conflicts and pushed the updated head `05422f37c`.
Both remaining wording comments are addressed:
- The PR description now correctly attributes token rejection coverage to `LineageConfigTest#rejectsTokenInJobOptions`, rather than `EnvOptionRuleTest`.
- The option description, rule comment, and English/Chinese documentation now explain that job-level tokens are rejected when `LineageConfig.resolve` runs. They also state that engine integrations must validate before persisting or serializing job configuration, including when lineage reporting is disabled.
This follow-up changes wording only; lineage runtime behavior, configuration keys, and defaults remain unchanged. Submission-path validation and the corresponding engine-level regression tests remain part of #12209 and #12210.
Local validation after the merge, using JDK 11:
- `./mvnw spotless:apply` — passed.
- Full-reactor `./mvnw -q -DskipTests verify` — passed.
- 18 targeted configuration, option-sync, option-rule, and Markdown checks — passed, with no failures or skips.
CI on the new head is still pending; these local results do not establish CI success. A committer approval is also still required.
Please take another look at the wording updates when you have a chance. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub)" <gi...@apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6051876555
@DanielLeens I have synced this PR with `dev@3ac7003fb` (ab3a19e20). Resolved the dependency/license conflicts.
Could you please re-review the updated head?
Validation on this head: Spotless, full-reactor `./mvnw -q -DskipTests verify`, and 44 focused tests passed.
The local validation above is separate from the GitHub CI results, which are still pending for the updated head.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "SEZ9 (via GitHub) via commits" <co...@seatunnel.apache.org>.
SEZ9 commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6962310637
Thanks for getting the Build run through on this head.
On `02e374ff`, fork Build 43186809808 completed successfully, so the CI gate that was the only open item is cleared for that head. No source blocker is open from the earlier review, and the earlier optional suggestions stay non-blocking.
One fact has changed since then: GitHub now reports a content conflict against `dev`, so this head can't be merged as is.
Remaining asks:
1. Resolve the conflict with current `dev` and push the result.
2. Run Build on the new head and post the run link here.
No source finding is being reopened. The conflict-resolution commit will need a quick re-check once Build is green, and the PR still needs the required approval from a write-capable maintainer before merge.
<!-- streview-comment:2415 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub) via commits" <co...@seatunnel.apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6558603470
Thanks for the review. I have pushed `2b8ffd656` to address the credential-routing concern.
When a bearer token comes from trusted environment or cluster configuration, the resolved receiver URL and transport are now bound to that trusted configuration. A conflicting job-level override is rejected without exposing the token. Unauthenticated job-level URL overrides remain supported.
I also added regression tests and updated the English and Chinese documentation and migration notes. Locally, the full reactor `verify` completed with tests skipped, followed by 26 focused tests with no failures, errors, or skips.
The PR currently has conflicts in the English and Chinese incompatible-change notes against the latest `dev`; I will update it before requesting another merge check. CI checks for this commit have not yet been reported.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub)" <gi...@apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6249519973
Thanks @DanielLeens for the re-review and for confirming Ready to merge with no remaining source-side issues.
Could a committer please Approve this PR so it can pass branch protection and land?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub)" <gi...@apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6518756247
Thanks @SEZ9 and @DanielLeens for the follow-up.
The fork [Build](https://github.com/88fantasy/seatunnel/actions/runs/40477948026) has completed successfully on the unchanged head `fb4fd89ff46e8f93e3bf499702a8ccb5db91a052` (attempt 2). Both previously affected jobs are now green: [unit-test (11, ubuntu-latest)](https://github.com/88fantasy/seatunnel/actions/runs/40477948026/job/123900333354) and [all-connectors-it-3 (11, ubuntu-latest)](https://github.com/88fantasy/seatunnel/actions/runs/40477948026/job/123900333265). The Apache PR’s Build and PR signal checks are also green.
Could a write-capable maintainer please review the current head and provide any approval required by branch protection? Thank you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6258703442
Hi @88fantasy, thanks again for your patience through all the rounds.
To keep this moving, the next step is on the branch rather than the review: the PR currently has merge conflicts with `dev`, so an Approve alone would not let it land. Could you please sync the latest `dev` into this branch and resolve the conflicts? Ideally the author code stays unchanged from what was reviewed at `e64970e18` (the `d3209a898` head has an empty tree diff against it), so the prior review still applies.
Once the new head is pushed and CI has run on it, please drop a note here. If resolving the conflicts required anything beyond mechanical merges, call it out so I can take a targeted look.
As noted earlier, a committer Approve is outside what I can provide as a read-only reviewer, but I'm happy to re-check the diff on the new head once it is up.
<!-- streview-comment:1863 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub)" <gi...@apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6120709054
@DanielLeens Thanks again for the thorough reviews across the three rounds.
I've synced this branch with the latest `dev` and addressed the two remaining non-blocking items from your last pass:
- **Issue 3** — added `OpenLineageOptionSyncTest` so `EnvCommonOptions` OpenLineage keys/defaults stay aligned with `LineageConfig` (test-scoped dependency only; no compile-time api→lineage edge).
- **Issue 4** — introduced a `LineageDatasetExtractor` SPI (ServiceLoader) and moved the Paimon / Doris / JDBC parsers into dedicated extractors; `LineageDatasetFactory` now only discovers and delegates.
Earlier blockers (exception containment in `LineageRuntime.emit`, docs Markdown heading / license layout) and the other suggestions (blocking-bound Javadoc, stricter `asBoolean`) remain in place on this head.
Head: `a2e66f52d`. Could you please take another look when you have a moment? Also noting that a committer Approve is still needed for branch protection since your reviews are comment-only — happy to follow up with maintainers if you have a suggested reviewer.
Local validation on this head: lineage module tests (36) and openlineage backend tests (9) passed; Spotless checked on the touched modules.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub)" <gi...@apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6438304132
Thanks @DanielLeens for the review.
I have addressed the two suggestions in `b8d0d1269`:
- `LineageRuntime` and `OpenLineageBackend` now rethrow `VirtualMachineError` before handling other failures. Tests cover propagation during backend resolution, rendering and sending, as well as containment of `NoClassDefFoundError`.
- The English and Chinese documentation now describe the general JDBC `base-url` fallback. Tests also cover a three-part `table-names` entry and precedence when both `table_list` and `table-names` are present.
The branch was subsequently synced with `dev@c875a87bd`; the current PR head is `fb4fd89f`. The merge did not change the lineage modules or the English and Chinese lineage documentation.
Local validation on `b8d0d1269` with JDK 11 passed: Spotless, full-reactor `-DskipTests verify`, and 31 focused unit and Markdown tests, with no failures or skips. These results were obtained **before** the subsequent `dev` merge and are not claimed as validation of the exact current head.
The exact-head [fork Build](https://github.com/88fantasy/seatunnel/actions/runs/40477948026) is still queued/in progress. Some jobs have passed, but the overall CI result is not yet available. GitHub currently reports the PR as mergeable and requiring review.
Could you please take another look when convenient? Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub) via commits" <co...@seatunnel.apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6652570815
Hi committers, a gentle ping for a merge review on this PR.
This is the shared core foundation for the OpenLineage stack, and it needs to land before (or together with) the engine integrations:
- #12209 (Zeta): approved by @DanielLeens, Apache CI green
- #12210 (Flink): approved by @DanielLeens, Apache CI green
@DanielLeens has reviewed all three and found no source-level blockers, but an approval from a committer with write access is still needed here. Could one of you take a look when you have time? Happy to address any feedback quickly.
Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub)" <gi...@apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6205620787
@DanielLeens Thanks for the re-review on `61ece4fae`.
Addressed both non-blocking notes in `d10445a74` / `e64970e18`:
- **Issue 1** — `prefersDorisOverJdbcWhenOptionsAlsoCarryAUrl` now uses a distinct JDBC URL (`jdbc:postgresql://other-host:5432/other_db`) so a JDBC-first order would fail the Doris namespace assertion (`mysql://fe.example:9030` / `ds71.orders`).
- **Issue 2** — `LineageDatasetFactory.loadExtractors()` now catches `ServiceConfigurationError` from both `hasNext()` (break) and `next()` (skip), so a malformed provider file cannot poison class init.
Also synced with latest `dev` on this branch. Happy to take another look when you have a moment. CI on the fork for this head and a committer Approve are still the remaining gates.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub)" <gi...@apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6258985807
Thanks @DanielLeens — synced the latest `dev` into this branch (tip 4bccb0e55).
The only conflict was `tools/dependencies/known-dependencies.txt`; kept both the K8s/client jars from #12460 and `openlineage-java-1.29.0.jar`. Fork Build has been re-triggered for the new head.
Could a committer please Approve once CI is green so this can pass branch protection?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6514127837
Thanks for sticking with this one. Quick status update on the CI gate for head `fb4fd89ff46e8f93e3bf499702a8ccb5db91a052`, which is the only open point from the earlier review:
- The source conclusion from the previous review (5667064158) is unchanged for the reviewed scope; nothing new is being asked on the code itself.
- The Build check (122617900918) is still `FAILURE`. Looking at the actual log rather than just the module name, `unit-test (11, ubuntu-latest)` (job 122104731061, run 40477948026) fails in `JobStateCleanupDelayTest` setup with "Node failed to start" / "Address already in use", and `all-connectors-it-3 (11, ubuntu-latest)` (job 122104730136) was cancelled. The surefire failure on `seatunnel-engine-server` is the same symptom, not a second problem.
- That failure pattern looks environmental (port collision in the shared test fixture) rather than something this PR touches, but we don't yet have evidence proving that. A sync to `dev` has not been shown to fix it, so I'm not asking you to rebase purely for this, and please don't add unrelated dependency or test patches to work around it.
Concrete asks:
1. Rerun only the two affected jobs (`unit-test (11, ubuntu-latest)` and `all-connectors-it-3 (11, ubuntu-latest)`) on the current head.
2. If `JobStateCleanupDelayTest` fails again with the same "Address already in use" error, paste the relevant log snippet here so we can confirm it's independent of this change.
3. If the rerun goes green, just drop a note and a write-capable maintainer can do the final approval.
CI won't be passed by inference, so a green rerun (or a clear repeat-failure log) is what unblocks the merge.
<!-- streview-comment:2147 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "SEZ9 (via GitHub) via commits" <co...@seatunnel.apache.org>.
SEZ9 commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6870918635
Thanks for the follow-up on CI. Confirming the current state on the unchanged head `02e374ff9ff7518ec1763dc344610ebc551ba67f`: the fork `Build` run 43186809808 completed successfully, and the PR now reports `Signal pull request update=SUCCESS; Build=SUCCESS`. The earlier guidance about enabling Actions or manually triggering `Build` is obsolete, since CI was the only remaining gate on this head.
No source change is requested from my side; the previous conclusion of "Ready to merge" stands. The branch comparison with `dev` is recorded as ahead 24 / behind 9 with no conflict reported, and I am not asking for another sync while the checks are green.
Remaining asks:
- Please leave the head at `02e374ff` for now so the green run stays valid for the reviewing committer.
- The repository still shows `REVIEW_REQUIRED`, so the effective approval and merge decision rest with a write-capable maintainer; if a further `dev` merge becomes necessary for that step, please push it as a plain merge and let the fork `Build` run again on the new head.
<!-- streview-comment:2341 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub)" <gi...@apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6136242868
@DanielLeens Thanks for the re-review on `a2e66f52d`.
Addressed the three non-blocking notes on the extractor SPI in `61ece4fae`:
- **Issue 1** — `LineageDatasetFactory` now loads extractors with this module’s class loader and skips broken providers (`ServiceConfigurationError`) so one bad entry cannot poison class init or pin a job loader.
- **Issue 2** — Documented that named-connector extractors must use `order() < 100`; added a Doris+`url` precedence test and built-in order asserts (Paimon 10 < Doris 20 < JDBC 100).
- **Issue 3** — Documented null/fallback semantics on the public `LineageDatasetOptionSupport` helpers.
Happy to take another look when you have a moment. CI on this head still needs a Build run from the fork; I’ll trigger that separately if it has not started yet. A committer Approve is still needed for branch protection.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "SEZ9 (via GitHub) via commits" <co...@seatunnel.apache.org>.
SEZ9 commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6537587208
Thanks @88fantasy for the update.
A rerun of only the previously affected jobs on the unchanged head `fb4fd89ff46e8f93e3bf499702a8ccb5db91a052` is exactly the diagnostic step that was asked for. I have not independently re-checked attempt 2 of the fork [Build](https://github.com/88fantasy/seatunnel/actions/runs/40477948026) ([unit-test (11, ubuntu-latest)](https://github.com/88fantasy/seatunnel/actions/runs/40477948026/job/123900333354), [all-connectors-it-3 (11, ubuntu-latest)](https://github.com/88fantasy/seatunnel/actions/runs/40477948026/job/123900333265)) or its logs, so I am not recording those results here as a verified gate snapshot. If those jobs completed without a repeat of the `JobStateCleanupDelayTest` "Node failed to start / Address already in use" setup error seen in job 122104731061, that is consistent with the earlier failure being a startup/port flake rather than something introduced by this PR, and no test patch or unrelated dependency change is requested from you.
My earlier source conclusion for the reviewed scope is unchanged. I have READ permission on the repository only, so I cannot provide the approval required by branch protection; that remains with a write-capable maintainer. Nothing further is needed from you on the CI item.
<!-- streview-comment:2153 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub)" <gi...@apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6406011630
Thanks @DanielLeens for checking the CI failures and identifying the upstream fix.
I merged `dev@7604a83ec` and pushed the updated head `12ed6a859`. This includes #12938 (`cc54bb433`), which restores the UID required by the archived LLM wrapper fixture. The merge leaves the lineage modules, related API option/rule sources, and English/Chinese lineage documentation unchanged.
Local validation on the new head, using JDK 11:
- `./mvnw spotless:apply` — passed, with no tracked formatting changes.
- Full-reactor `./mvnw -q -DskipTests verify` — passed.
- Both lineage modules — 47 tests passed.
- API option registration, option synchronization, and Markdown checks — 7 tests passed.
- `LLMBooleanOutputTest#readsLegacyFactoryWrapperWithValidationDisabled` — passed.
All 55 selected tests completed with zero failures, errors, or skips. The PR description now records these results.
The new-head [Build](https://github.com/88fantasy/seatunnel/actions/runs/40252464030) is still pending, with the Java 11/17 Linux/Windows unit-test lanes and transform-v2 part-2 lanes running or queued. The local fixture result does not establish CI success or compatibility with every historical wrapper.
The separate Python container setup `Hash Sum mismatch` remains unverified on this head. If it recurs, I will retain the new job link for a separate fixture/mirror investigation, as suggested.
Full unfiltered unit tests and real-cluster/E2E acceptance were not run locally. Engine submission-path token validation and its regression coverage remain in #12209 and #12210. Required Build completion and a write-capable maintainer’s final approval remain outstanding.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6473863384
Thanks for the contribution. The CI fact cited in my previous conclusion has changed; this follow-up updates that gate on the unchanged reviewed head, without issuing another full source review.
Gate snapshot (2026-10-28T15:56:33+00:00), head `fb4fd89ff46e8f93e3bf499702a8ccb5db91a052`: [Build](https://github.com/apache/seatunnel/runs/122617900918) is `FAILURE`.
The blocking jobs are [Run / all-connectors-it-3 (11, ubuntu-latest)](https://github.com/88fantasy/seatunnel/actions/runs/40477948026/job/122104730136) `cancelled`; [Run / unit-test (11, ubuntu-latest)](https://github.com/88fantasy/seatunnel/actions/runs/40477948026/job/122104731061) `failure`.
Observed log evidence: `Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project seatunnel-engine-server: There are test failures.`
Please inspect or rerun only the named failed job where a rerun is appropriate. The logs establish the failing stage, but do not alone establish whether the current PR caused it. No matching upstream cure has been proved by this follow-up; a base sync alone is not a verified resolution, so no unrelated module/dependency patch is requested.
My [previous source conclusion](https://github.com/apache/seatunnel/pull/12208#pullrequestreview-5667064158) remains clear for the reviewed scope. CI is not being passed by inference, and this follow-up is not an effective approval.
Comparison recorded in this scan: base `dev`, `diverged`, ahead 19 / behind 23, no merge conflict. Branch drift is metadata here and is not an additional sync request.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6514267320
Thanks @SEZ9; that matches my current conclusion. The named JobStateCleanupDelayTest setup/port error and cancelled connector shard remain the concrete CI gates. Current dev still has no verified matching startup fix, so sync alone is not an established cure. Please use only the affected failed/cancelled jobs for the retry, then inspect any repeat startup log. My existing source clearance is unchanged; unrelated lineage edits are unnecessary.
Checked 2026-10-30T03:30:37.151657+00:00; head `fb4fd89ff46e8f93e3bf499702a8ccb5db91a052`. [Signal pull request update](https://github.com/apache/seatunnel/actions/runs/40477951213/job/122617766140)=`SUCCESS`; [Build](https://github.com/apache/seatunnel/runs/122617900918)=`FAILURE`. Base `dev`, `diverged`, ahead 19/behind 38; merge `blocked`.
This is an unchanged-head discussion/CI clarification, not another full source review or an effective approval. Daniel has READ repository permission.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6487248541
Hi @88fantasy, a brief note so this doesn't get lost: nothing new from my side beyond my last two comments. Once you have re-synced the branch with `dev` and pushed, please share the new head so I can re-check the gate on it. If the [unit-test (11, ubuntu-latest)](https://github.com/88fantasy/seatunnel/actions/runs/40477948026/job/122104731061) job still fails on the synced head, the failing test name(s) in `seatunnel-engine-server` would help; if it goes green, that is sufficient. The source-level points from my earlier review remain resolved. Thanks!
<!-- streview-comment:2120 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "DanielLeens (via GitHub) via commits" <co...@seatunnel.apache.org>.
DanielLeens commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6537990616
Thanks @88fantasy. I independently rechecked the current PR checks: Build is now SUCCESS on the unchanged reviewed head. This supersedes my earlier failed JobStateCleanupDelayTest/cancelled-shard gate and retry request. CI was the remaining technical blocker in my review, so that objection is cleared and my source conclusion remains ready to proceed. No unrelated lineage patch or upstream synchronization is requested. Effective maintainer approval remains separate.
Checked 2026-10-31T02:47:06.229171+00:00; unchanged head `fb4fd89ff46e8f93e3bf499702a8ccb5db91a052`. [Signal pull request update](https://github.com/apache/seatunnel/actions/runs/40477951213/job/122617766140)=`SUCCESS`; [Build](https://github.com/apache/seatunnel/runs/123903910161)=`SUCCESS`.
This is a discussion/CI clarification, not another full source review or an effective maintainer approval. Daniel has READ repository permission; a write-capable maintainer owns required approval/dismissal.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "88fantasy (via GitHub)" <gi...@apache.org>.
88fantasy commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-5595288182
Thanks for the detailed review — really appreciated the depth here, especially the exception-safety and CI-log tracing.
Both blockers are fixed in `1f2c9928f`:
**Issue 1** (`LineageRuntime.emit()` rethrowing) — `LineageRuntime.emit()` now catches `Throwable` from backend resolution/emission and logs it at WARNING via `java.util.logging` (kept off `slf4j` deliberately, since this module still carries zero runtime dependencies so it can be shaded into a Flink `lib/` directory). `LineageReportingException` is removed since nothing constructs it anymore. Added `LineageRuntimeTest` covering both the disabled no-op path and the "unresolvable transport degrades to a logged warning, not a throw" case you called out.
**Issue 2** (CI failure) — Removed the ASF license comment block from both `docs/en/introduction/concepts/lineage.md` and `docs/zh/introduction/concepts/lineage.md`, so front matter goes straight into the `# ` heading like every other doc in the tree. Confirmed locally: `MarkdownTest.testPrimaryHeadersHaveNoTextAbove` now passes for both files.
Also picked up two of the non-blocking suggestions while I was in there:
**Issue 5** — Documented the worst-case blocking bound (`(retryTimes + 1) * timeoutMs`) on `LineageBackend#emit`'s Javadoc, so a future caller can judge whether to keep it off a latency-sensitive thread.
**Issue 6** — `LineageConfig#asBoolean` now rejects anything that isn't `"true"`/`"false"` (case-insensitive) with a named `IllegalArgumentException`, matching the numeric-option error style, instead of silently folding a typo into `false`. Added a test for it.
**Issue 3** (option-key/default duplication between `EnvCommonOptions` and `LineageConfig`) and **Issue 4** (connector-specific parsing in `LineageDatasetFactory`) are still open — left them out of this pass since you flagged both as non-blocking, and Issue 3's cross-check test in particular reaches into places this PR doesn't otherwise touch. Happy to add the Option A cross-check test for Issue 3 here if you'd rather see it land before merge instead of as a fast-follow.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Core] Add the lineage module and OpenLineage transport [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12208:
URL: https://github.com/apache/seatunnel/pull/12208#issuecomment-6397571594
Thanks for the contribution. My previous review described queued checks. The exact-head [fork Build](https://github.com/88fantasy/seatunnel/actions/runs/39750960377) is now **failed**, so that pending-status guidance is obsolete.
I inspected the [Java 11 Linux unit-test log](https://github.com/88fantasy/seatunnel/actions/runs/39750960377/job/119732244124): `LLMBooleanOutputTest.readsLegacyFactoryWrapperWithValidationDisabled` fails with `InvalidClassException` for `AbstractMultiCatalogTransform`, comparing archived UID `7090258061839605137` with local UID `-3241928148724104003`. Latest dev already fixes this exact archived-wrapper contract in [#12938](https://github.com/apache/seatunnel/pull/12938), commit `cc54bb433357b4cb45db9cd5d0743589c3111b79`, which explicitly restores that UID. I checked that this head does not contain the fix.
There is a separate [transform-v2 part-2 failure](https://github.com/88fantasy/seatunnel/actions/runs/39750960377/job/119732244753): `TestPythonTransformIT.testMultiTablePythonTransform` fails during container setup because Ubuntu's package index download reports `Hash Sum mismatch`. That is not a lineage assertion. I did not find a matching committed fix in the current Python fixture history, and the UID fix is not claimed to solve a package-mirror error.
The comparison is `diverged`, ahead 15 / behind 27 against dev, with no conflict. Please sync latest dev to incorporate #12938, then rerun the affected failed lanes. If the package-index failure repeats, retain its new job link for a separate fixture/mirror investigation; no unrelated package or transform patch belongs in this lineage PR merely to chase it.
My earlier full source conclusion remains clear of blockers. This is a CI-fact correction, not a new full source review or an effective approval. Required Build and a write-capable maintainer's final approval remain outstanding. Thank you for the contribution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org