github-actions[bot] opened a new pull request, #77803: URL: https://github.com/apache/airflow/pull/77803
* Skip the success callback request for a trigger-ended task without on_success_callback The Dag processor parses the whole Dag file to serve a callback request, and for a task ended by its trigger it runs only failure and retry callbacks, so a SUCCESS request for a task with no on_success_callback cost a full parse and ran nothing. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Share one Dag bag across the task instances of a trigger event Trigger.submit_event now builds one DBDagBag per event and passes it to handle_event_submit, so a trigger that ends several tasks of one Dag deserializes that Dag once instead of once per task instance. Other callers of handle_event_submit keep working: the task-end handler falls back to a fresh bag when none is given. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- (cherry picked from commit 32aff4b4519853ae60a3613f7c491a9520f0397d) Co-authored-by: dor-bernstein <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> -- 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]
