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

   ## Related
   
   - Follow-up to 
https://github.com/apache/airflow/pull/74070#discussion_r4197883402
   
   ## Why
   
   - `dag.if` and `dag.switch` need a handler that returns the decision.
   - A `triggerDagRun` task passed past the types was accepted and failed only 
when the task ran, with an unclear error.
   
   ## How
   
   - Reject a `triggerDagRun` task in the shared decider placement, so both 
`dag.if` and `dag.switch` fail when the Dag is declared.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [x] Yes, with help of Claude Code Opus 5.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