atul-astronomer opened a new issue, #55465:
URL: https://github.com/apache/airflow/issues/55465

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Endpoint: 
http://localhost:28080/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/wait?interval=10
   
   This endpoint is supposed to return the dagrun status for each interval but 
currently response is coming after the dagrun finishes.
   
   
https://github.com/user-attachments/assets/a16f4485-2909-42cd-8f18-a23dfa47180a
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   1. Have a dag which runs for 20 seconds, use sleep maybe.
   2. In dagrun endpoint, set interval of 5 seconds.
   3. Expectation is get the response for each interval but in actual, response 
is only coming once the dagrun completes.
   
   I have used postman to trigger the endpoint.
   
   Endpoint: 
http://localhost:28080/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/wait?interval=5
   
   <img width="1181" height="872" alt="Image" 
src="https://github.com/user-attachments/assets/2fb57703-f8a3-4c2e-b541-4bcc7be29fb2";
 />
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### 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