You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "davidzollo (via GitHub)" <gi...@apache.org> on 2026/07/11 10:55:28 UTC
[I] [Discussion][Core] Define a unified validate, explain, and plan contract before job submission [seatunnel]
davidzollo opened a new issue, #11405:
URL: https://github.com/apache/seatunnel/issues/11405
## Background
SeaTunnel still lacks a unified contract for what should happen **before** a job is submitted.
Today, several related needs appear separately:
- static config validation
- semantic connector validation
- dry-run expectations
- explainability for generated job structure
- reusable plan output for later platform or UI consumption
These are related, but the product contract is still fragmented.
## Problem to solve
We should define what users and platforms can expect from a pre-run workflow before job submission.
That workflow should answer at least three questions:
1. Is this job valid?
2. What does this job mean structurally?
3. What plan will SeaTunnel execute?
## Proposal
Define a unified pre-run contract with three complementary concepts:
- validate
- explain
- plan
Suggested first-delivery scope:
- define a minimal validate contract
- define minimal explain output for pipeline structure and intent
- define minimal plan output that can later be reused by CLI, REST, and platform integrations
## Why this should be discussion-first
This topic affects:
- CLI behavior
- REST/API behavior
- core planning and validation flow
- future platform and automation integration
There is already related work around dry-run and structured validation, but this discussion is intentionally broader: the goal is to align those efforts under one stable pre-run contract instead of leaving them as separate point features.
## Non-goals for v1
- do not build a complete operations platform
- do not replace every runtime check
- do not require full connectivity sampling in the first delivery
## Suggested validation
- validate common invalid config scenarios
- validate semantic mismatch scenarios
- validate that explain output helps a user understand the pipeline structure
- validate that plan output is stable enough for future reuse
## Acceptance criteria
- validate, explain, and plan each have clear scope boundaries
- the first delivery stays intentionally small
- the design can absorb existing dry-run and validation efforts instead of duplicating them
- the community agrees on what belongs in the pre-run contract and what remains runtime-only
## Related issues
- #10247
- #10681
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Discussion][Core] Define a unified validate, explain, and plan contract before job submission [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #11405:
URL: https://github.com/apache/seatunnel/issues/11405#issuecomment-4949417173
This is a useful direction, and I agree the right first step is to define a stable pre-run contract instead of letting validation, dry-run, and explainability grow as separate point features.
The most important boundary to keep clear is that `validate`, `explain`, and `plan` are related, but they should not collapse into one vague “analysis” step:
1. `validate` should answer whether the job is acceptable to submit
2. `explain` should help a user understand the structural meaning of the pipeline
3. `plan` should describe the executable shape that later CLI, REST, and platform integrations can consume
For v1, I would keep the scope intentionally narrow and explicit about what remains runtime-only. In particular, it would help to make reviewers able to see:
- which checks are purely static config checks versus semantic connector checks
- whether `plan` is descriptive only in v1, or already a stable machine-consumable contract
- how this relates to the existing dry-run / validation work so we absorb it instead of duplicating it
If those boundaries are made crisp in the design, this could become a very strong core-facing contract without overcommitting the first implementation.
--
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