korex-f commented on code in PR #66633:
URL: https://github.com/apache/airflow/pull/66633#discussion_r3363892957
##########
task-sdk/src/airflow/sdk/execution_time/supervisor.py:
##########
@@ -467,7 +468,8 @@ def exit(n: int) -> NoReturn:
except Exception as e:
with suppress(Exception):
print(
- f"--- Last chance exception handler failed ---
{repr(str(e))}\n", file=last_chance_stderr
+ f"--- Last chance exception handler failed ---
{repr(str(e))}\n",
+ file=last_chance_stderr,
Review Comment:
Done
##########
task-sdk/src/airflow/sdk/execution_time/supervisor.py:
##########
@@ -628,13 +630,22 @@ def start(
# execv replaces the process -- unreachable on success
else:
# Run the child entrypoint
- _fork_main(child_requests, child_stdout, child_stderr,
child_logs.fileno(), target)
+ _fork_main(
+ child_requests,
+ child_stdout,
+ child_stderr,
+ child_logs.fileno(),
+ target,
Review Comment:
Done.
--
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]