uranusjr opened a new pull request, #68216: URL: https://github.com/apache/airflow/pull/68216
Instead of printing to stdout, use the conventional ApiError to surface error sent in the initial supervisor message, like any other messages. When exiting after task execution, instead of fire-and-forget with sendMessage(), use communicate() to also wait for the supervisor's (empty) response so we are sure the supervisor has received it. ##### Was generative AI tooling used to co-author this PR? - [x] Yes (please specify the tool below) Generated-by: [Clause] following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) (Clause used for debugging the integration test error that surfaced the bug.) -- 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]
