The GitHub Actions job "Tests" on airflow.git has failed. Run started by GitHub user kaxil (triggered by kaxil).
Head commit for run: c2f9fa43fc13d607d9136cbc30eed0289aac42df / Kaxil Naik <[email protected]> AIP-72: Get `TriggerDagRunOperator` working with Task SDK closes https://github.com/apache/airflow/issues/47499 `TriggerDagRunOperator` requires direct DB access to trigger DAG runs, which is not feasible under AIP-72 / Task SDK. Several approaches were considered: 1. **New Airflow API provider** - Move `TriggerDagRunOperator` to a new provider built on top of the HTTP provider and Airflow API. - This would allow DAG authors to configure a dedicated Airflow connection. - However, the Public API currently requires API tokens and does not support username/password authentication, making setup cumbersome. 2. **Pass Task Token to API** - Use Task Token from the controller DAG to authenticate API calls. - This would allow triggering DAGs in the same deployment using the execution API. - However, Task-identity tokens have not been implemented yet. 3. **Handle via Task Execution API (Chosen Approach)** - Raise a `TriggerDagRunOperator` exception. - The Task Runner catches this and invokes a new endpoint in the Task Execution API to trigger the target DAG. Since (2) is not yet available, this PR/commit implements (3) as a temporary solution. Report URL: https://github.com/apache/airflow/actions/runs/13922072727 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
