KingLizard1020 opened a new pull request, #73103:
URL: https://github.com/apache/airflow/pull/73103

   `CloudComposerExternalTaskSensor` inspected templated task-id arguments in 
`__init__`: it converted an empty list to unset, wrapped 
`composer_external_task_id` into `composer_external_task_ids`, and used 
truthiness to choose Dag vs task state validation.
   
   Those value reads now run after rendering in `poke()` / `execute()` via 
`_normalize_external_task_ids`. An empty `composer_external_task_ids=[]` is 
treated as unset before exclusivity and dag-vs-task state checks, matching the 
previous constructor. Duplicate-state checks on non-templated `allowed_states` 
/ `skipped_states` / `failed_states` stay in `__init__`. The exemption entry is 
removed.
   
   related: #70296
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Cursor
   
   Generated-by: Cursor 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