multimeric opened a new issue, #59074:
URL: https://github.com/apache/airflow/issues/59074

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2/3 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   All executors, even as simple as the `LocalExecutor` try to send API 
requests to `/execution`. I'm not exactly sure which component typically 
provides this, maybe the API server. However, `dag.test(use_executor=True)` 
doesn't run the component that does, so you end up with a lot of `'[Errno 61] 
Connection refused'` from trying to call `<Request('PATCH', 
'http://localhost:8789/execution/task-instances/019aebfb-c04b-77bd-bf3c-4feb705d81ea/run')>`.
   
   As a result, I'm not able to run `dag.test(use_executor=True)`. I've had no 
luck starting an API server separately either.
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Try to run any workflow with `dag.test(use_executor=True)` 
   
   ### Operating System
   
   macOS 15.6
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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]

Reply via email to