Vamsi-klu opened a new pull request, #64990:
URL: https://github.com/apache/airflow/pull/64990

   CloudComposer DAG-run waits could report success even when no DAG run 
existed inside the requested execution window. That can let downstream work 
continue before the expected Composer run is actually present.
   
   This change keeps both synchronous and deferrable DAG-run waits pending 
until:
   - at least one DAG run exists inside the requested execution window, and
   - every in-window DAG run is in an allowed state.
   
   It also adds regression coverage for:
   - allowed in-window runs
   - disallowed in-window runs
   - responses where all returned runs are outside the requested window
   - both Airflow 2 (`execution_date`) and Airflow 3 (`logical_date`) response 
shapes
   
   Validation:
   - `breeze run pytest 
providers/google/tests/unit/google/cloud/sensors/test_cloud_composer.py -xvs`
   - `breeze run pytest 
providers/google/tests/unit/google/cloud/triggers/test_cloud_composer.py -xvs`
   - `prek run --from-ref main --stage pre-commit`
   
   closes: #57512
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Codex (GPT-5)
   
   Generated-by: Codex (GPT-5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


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