SEZ9 commented on PR #12824: URL: https://github.com/apache/seatunnel/pull/12824#issuecomment-7177319011
Thanks for the update. The Build run 44137036919 is reported as completed successfully, so the earlier running/failing CI guidance no longer applies. That clears the CI side only: the head is unchanged, so the points from the previous review are still open. Remaining asks: - **Migration path:** `OptionRule.Builder` has no method that accepts a `Condition` chain as the trigger, so the migration guide names constructors whose result cannot be attached to an `OptionRule` through any public builder path. Please either add that builder entry point or correct the guide to show a path that works. - **Extension equality:** `Condition.equals`/`hashCode` now include the `ConditionExtension` instance, which changes `Condition` and `OptionRule` equality for every factory that creates its extension inline. Please add this to the incompatible-changes entry. - **Null triggers:** `new ConditionRule(null, rule)` used to fail during validation and is now silently skipped, while the REST and CLI exporters throw a `NullPointerException` on the same rule. `ConditionalRequiredOptions.of(null, ...)` is skipped by the validator in the same way. Please make the validator and the exporters behave consistently here. - **Validation errors:** an `OptionValidationException` thrown while evaluating a `ConditionalRequiredOptions` chain escapes `collectErrors` unguarded and discards the errors already collected. The chain is also evaluated more than once per rule. - **Rendering note:** the incompatible-changes entry limits the rendering change to chains that mix AND and OR. Any multi-node `Condition` chain that was wrapped in a single `Expression` node also loses its outer parentheses, so please widen the note. - **REST doc:** please move the new sentence from between the `Responses` heading and the JSON sample into the existing Notes list, and add a multi-node example. I could not find the CLI metadata export it refers to documented under `docs/en`, so could you point me to where it is documented, or adjust the reference? Since these touch the same contract, a single revised commit covering them together, with tests at the corresponding entry points (builder, validator, REST and CLI export), would be the most useful next step. If you intend to keep any of the current behaviour as is, please say which and why. <!-- streview-comment:2616 --> -- 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]
