SEZ9 commented on PR #12922: URL: https://github.com/apache/seatunnel/pull/12922#issuecomment-6995519160
Thanks for following up on the two-phase validation. Here is where the earlier points stand. **Looks resolved** - **Partial submission on a bad entry:** a later invalid `params` object now prevents all submissions in that request. A failure while building or starting an otherwise valid job can still leave earlier jobs submitted, as the API docs say. - **Non-integral or oversized numbers:** decimal, exponent, nested and out-of-range values are now rejected. - **Client keys in error messages:** the parameter-shape errors now identify the supported types without echoing client keys or values. **Still open, as the thread doesn't confirm them** 1. **Empty `jobId`:** does an empty-string `jobId` with `isStartWithSavePoint: true` now fail in `checkStartWithSavePoint` with a message about `jobId`, rather than the later `restoreSourceJobId is required when restoreMode=SAVEPOINT`? 2. **Null and empty-string tests:** does `RestUtilSubmitJobsParamsTest` now cover the `null`-value and empty-string handling, and do the docs and incompatible-changes entry still match the final behaviour? 3. **Docs table:** has the `params` table been updated? It typed every key as `string` and omitted `restoreMode` and `restoreSourceJobId`, while the paragraph below says numbers and booleans are accepted. 4. **End-to-end tests:** does `JobInfoServiceSubmitJobsTest` now pin the nested-value rejection and the mixed-order case, where a later bad entry must block all submissions? 5. **`buildRequestParams` overloads:** do `buildRequestParams(Map, String)` and `buildRequestParams(Map, Map)` still share a name? They have different decoding contracts, and a literal `null` second argument is ambiguous. A short note on each of the five, or a pointer to where it is handled, would be enough to finish this round. <!-- streview-comment:2448 --> -- 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]
