dabla commented on code in PR #62922:
URL: https://github.com/apache/airflow/pull/62922#discussion_r4163853651
##########
task-sdk/src/airflow/sdk/execution_time/supervisor.py:
##########
@@ -2404,6 +2404,16 @@ def send(self, msg: BaseModel):
return self._get_response()
+ async def asend(self, msg: BaseModel):
Review Comment:
Moved this fix to its own PR, #74074: making `dag.test()`'s in-process
supervisor safe to call from several threads applies to any task that calls the
SDK from its own threads, and it touches the execution API and
`models.Variable`/`Connection`, so it's easier to review on its own. Here, the
two tests that iterate sync items concurrently under `dag_maker` are marked
strict xfail on #74074 until it lands.
---
Drafted-by: Claude Opus 5.5; reviewed by @dabla before posting
--
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]