Skip to content

Fix airflowctl dags state crash from an incomplete backport - #71095

Draft
Lee-W wants to merge 1 commit into
apache:airflow-ctl/v0-1-testfrom
astronomer:ctl-v0-1-fix-dags-state-crash
Draft

Fix airflowctl dags state crash from an incomplete backport#71095
Lee-W wants to merge 1 commit into
apache:airflow-ctl/v0-1-testfrom
astronomer:ctl-v0-1-fix-dags-state-crash

Conversation

@Lee-W

@Lee-W Lee-W commented Aug 4, 2026

Copy link
Copy Markdown
Member

The dags state backport (#69915, #70352) brought the caller and the tests but dropped suppress_error_log from DagRunOperations.list(), which main has. dag_command.py:147 passes it, so the command raised:

TypeError: DagRunOperations.list() got an unexpected keyword argument 'suppress_error_log'

Restore the keyword-only parameter and forward it to the client as the airflowctl_suppress_error_log extension, matching the sibling get().

The broken caller only exists on this test branch, so no released airflowctl is affected and no newsfragment is needed.

Split out of #70724 so that PR stays workflow-only.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Opus 5

Generated-by: Claude Opus 5 following the guidelines

The dags state backport (apache#69915, apache#70352) brought the caller and the tests
but dropped suppress_error_log from DagRunOperations.list(), which main
has. dag_command.py:147 passes it, so the command raised:

    TypeError: DagRunOperations.list() got an unexpected keyword
    argument 'suppress_error_log'

Restore the keyword-only parameter and forward it to the client as the
airflowctl_suppress_error_log extension, matching the sibling get().

The broken caller only exists on this test branch, so no released
airflowctl is affected and no newsfragment is needed.
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.

1 participant