Repository navigation
[airflow-ctl/v0-1-test] Fix enum names and non-ISO dates in airflowctl dags output (#76354) - #76574
Merged
shahar1 merged 2 commits intoNov 6, 2026
Conversation
…l dags output (#76354) `dags pause`, `unpause`, `drain` and `next-execution` printed "DagSchedulingState.ACTIVE" and "2024-12-31 23:59:59+00:00" with `-o json`, so scripts comparing against the API values never matched, and the output disagreed with `dags get` for the same Dag. (cherry picked from commit 3204b6e) Co-authored-by: Y-C <[email protected]>
1 task done
shahar1
marked this pull request as ready for review
November 6, 2026 05:56
shahar1
requested review from
bugraoz93,
dheerajturaga and
potiuk
as code owners
November 6, 2026 05:56
shahar1
approved these changes
Nov 6, 2026
The cherry-picked test asserts on `scheduling_state`, which `DAGResponse` does not have on this branch, so it raised KeyError. `allowed_run_types` is the enum field that `pause` and `unpause` print here, and it printed "DagRunType.MANUAL" before this fix. Claude-Session: https://claude.ai/code/session_01BVx6g7kMcPenQEPwEZbPQJ
shahar1
enabled auto-merge (squash)
November 6, 2026 06:08
shahar1
added a commit
to shahar1/airflow
that referenced
this pull request
Nov 7, 2026
…l dags output (apache#76354) (apache#76574) * [airflow-ctl/v0-1-test] Fix enum names and non-ISO dates in airflowctl dags output (apache#76354) `dags pause`, `unpause`, `drain` and `next-execution` printed "DagSchedulingState.ACTIVE" and "2024-12-31 23:59:59+00:00" with `-o json`, so scripts comparing against the API values never matched, and the output disagreed with `dags get` for the same Dag. (cherry picked from commit 3204b6e) Co-authored-by: Y-C <[email protected]> * Test the enum output fix against the field this branch has The cherry-picked test asserts on `scheduling_state`, which `DAGResponse` does not have on this branch, so it raised KeyError. `allowed_run_types` is the enum field that `pause` and `unpause` print here, and it printed "DagRunType.MANUAL" before this fix. Claude-Session: https://claude.ai/code/session_01BVx6g7kMcPenQEPwEZbPQJ --------- Co-authored-by: Y-C <[email protected]> Co-authored-by: Shahar Epstein <[email protected]>
28 of 67 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
dags pause,unpause,drainandnext-executionprinted"DagSchedulingState.ACTIVE" and "2024-12-31 23:59:59+00:00" with
-o json, so scripts comparing against the API values never matched,and the output disagreed with
dags getfor the same Dag.(cherry picked from commit 3204b6e)
Co-authored-by: Y-C [email protected]