Skip to content

Conversation

@gopidesupavan
Copy link
Member

related #56954

Currently TriggerDagRunOperator accessing the DagModel, to get the dag state, but with AF3 we cant access direct db. for now am restricting usage of fail_when_dag_is_paused in TriggerDagRunOperator with Airflow 3.

Have raised a PR here #56955 to support the dagstate endpoint. until that released we can throw error if any one tries to use that otherwise they get db access error.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@gopidesupavan gopidesupavan changed the title Throw FeatureNotAvailable error when fail_when_dag_is_paused is used in TriggerDagRunOperator with Airflow 3 Throw NotImplementedError error when fail_when_dag_is_paused is used in TriggerDagRunOperator with Airflow 3 Oct 22, 2025
@gopidesupavan gopidesupavan changed the title Throw NotImplementedError error when fail_when_dag_is_paused is used in TriggerDagRunOperator with Airflow 3 Throw NotImplementedError error when fail_when_dag_is_paused is used in TriggerDagRunOperator with Airflow 3.x Oct 22, 2025
@gopidesupavan gopidesupavan force-pushed the trigger-darunoperator-fix branch from 3d0e5cc to 8e6e849 Compare October 22, 2025 10:58
@gopidesupavan
Copy link
Member Author

fix for static check merged: #57052

@gopidesupavan gopidesupavan merged commit ef5977c into apache:main Oct 22, 2025
108 of 110 checks passed
@gopidesupavan gopidesupavan deleted the trigger-darunoperator-fix branch October 22, 2025 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants