darwinyip opened a new issue #10275: URL: https://github.com/apache/airflow/issues/10275
**Description** Trigger rule for `always`. **Use case / motivation** This comes in handy when there is a need to clean up resources at the end of the DAG run no matter whether it fails or succeeds. For example: ``` allocate >> a >> b >> c >> d >> cleanup ``` The biggest issue is that if an error occurs before `d`, `cleanup` will never get executed. Example use case is using BigQuery's Reservation API. We want to reserve slots at the beginning of the run and deallocate at the end. Not deallocating would mean a rampant bill at the end of the month. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
