CryoThrust opened a new pull request, #12065: URL: https://github.com/apache/seatunnel/pull/12065
## Purpose Add a reusable, config-level validation result model for SeaTunnel integrations such as the AI CLI, while preserving the existing `--check` human-readable output and exit behavior. ## Changes - add versioned `ConfigValidationResult` and `ConfigValidationError` models - expose `SeaTunnelConfValidateCommand.validateResult()` for future CLI, MCP, and REST adapters - include stable fields for validity, phase, location, plugin, option path, rule category, and sanitized message - classify representative parse, option, plugin, and validation failures without changing the existing command contract - add focused serialization and command integration tests This change intentionally does not introduce a transport-specific JSON flag, bind an LLM provider, or claim runtime-equivalent validation. ## Tests - `ConfigValidationResultTest` - `SeaTunnelConfValidateCommandTest` Local Maven execution was blocked before compilation by unavailable internal mirror dependencies (`software.amazon.awssdk:bom`, `com.google.cloud:libraries-bom`, and `os-maven-plugin`). Closes #10651 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
