github-actions[bot] opened a new pull request, #77763: URL: https://github.com/apache/airflow/pull/77763
* Validate HITL params answers against their schemas on submit The PATCH hitlDetails route stored params_input as given, so an answer outside a param's JSON Schema, or one naming other params, was accepted and reported as successful. The task then failed on resume, in HITLOperator.validate_params_input, after the person had moved on; tasks from other language SDKs only checked the names. The route now runs the same check on submit and returns 400, as it already does for options. * Add newsfragment for HITL params answer validation * Remove newsfragment for HITL params answer validation * Raise on invalid HITL params answers and catch at the call site A function named validate should raise when validation fails, so the route can turn the error into a 400 where it is handled, as the Dag-run trigger route does. (cherry picked from commit 1a23e5c825a45daefba659fc008f419e78a7d287) Co-authored-by: Shivam Rastogi <[email protected]> -- 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]
