Skip to content

Commit

Permalink
AIP-72: Logging task runner messages in supervisor (apache#45108)
Browse files Browse the repository at this point in the history
  • Loading branch information
amoghrajesh authored Dec 20, 2024
1 parent 72ab6b4 commit f10f552
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions task_sdk/src/airflow/sdk/execution_time/supervisor.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ def handle_requests(self, log: FilteringBoundLogger) -> Generator[None, bytes, N
self._handle_request(msg, log)

def _handle_request(self, msg: ToSupervisor, log: FilteringBoundLogger):
log.debug("Received message from task runner", msg=msg)
resp = None
if isinstance(msg, TaskState):
self._terminal_state = msg.state
Expand Down

0 comments on commit f10f552

Please sign in to comment.