Repository navigation
Conversation
* Execution API: Enforce OPERATOR run type for operator-triggered DAG runs * naming operator as operator_triggered * Fix trigger_dag syntax error after rebase * address unrelated changes Only the DagRunType value and what is generated from it are backported, so airflowctl 0.1.x can read runs that Airflow 3.3+ servers create through TriggerDagRunOperator. The execution API route change and its test are left out: airflow-core is not released from this branch. The spec, _private_ui.yaml, UI openapi-gen, task-sdk and airflowctl datamodels were regenerated with this branch's generators. Adds an airflowctl test for the new value. (cherry picked from commit ed51aff)
shahar1
requested review from
amoghrajesh,
bbovenzi,
bugraoz93,
choo121600,
dheerajturaga,
ephraimbuddy,
guan404ming,
jason810496,
kaxil,
pierrejeambrun,
potiuk,
rawwar,
ryanahamilton,
shubhamraj-git and
vatsrahul1001
as code owners
October 30, 2026 18:02
shahar1
enabled auto-merge (squash)
October 30, 2026 18:03
This was referenced Oct 31, 2026
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.
Backport of #63733 to
airflow-ctl/v0-1-test(cherry picked from ed51aff, path-limited).Airflow 3.3+ servers create runs with
run_type: operator_triggered(from TriggerDagRunOperator). airflowctl 0.1.x'sDagRunTypelacks the value, sodagrun list/get,dags triggeranddags list/getfail validation on those runs. This adds the enum value; nothing changes for 3.2.x servers, which never send it.Left out: the execution API route change and its test (airflow-core does not ship from this branch).
Checks:
pytest airflow-ctl/tests386 passed (the one failure,test_server_connection_refused, also fails on the unchanged branch locally); new airflowctl test fails without the change;airflow-core/tests/unit/api/common/test_trigger_dag.py3 passed; UItsc --noEmitclean.Generated files were regenerated on this branch rather than copied from
main(codegen versions differ): the v2 spec,_private_ui.yamland the simple-auth spec viascripts/in_container/run_generate_openapi_spec.pyon Python 3.12, the airflowctl and task-sdk datamodels via the branch'scodegengroup, and the UIopenapi-genviapnpm codegen. On the unchanged branch these reproduce the committed files byte for byte. CI on this branch only runs the airflow-ctl tests, so please re-run the generators when reviewing.Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5.5) following the guidelines
🤖 Generated with Claude Code