Skip to content

Conversation

@dstandish
Copy link
Contributor

I checked all the uses, and in every case (except one test), either "the latest dag version" was supplied, or None was supplied (in which case, the latest dag version is looked up and used anyway).

If we ever need to create a dag run with something other than the latest dag run version, then we can add it back.

Having this not be an argument makes it easier to control the behavior at dag run creation time.

@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:CLI area:dev-tools area:providers area:Scheduler including HA (high availability) scheduler provider:standard labels Apr 12, 2025
@dstandish dstandish added the full tests needed We need to run full set of tests for this PR to merge label Apr 13, 2025
@dstandish dstandish marked this pull request as ready for review April 13, 2025 12:06
I checked all the uses, and in every case (except one test), either "the latest dag version" was supplied, or None was supplied (in which case, the latest dag version is looked up and used anyway).

If we ever need to create a dag run with something other than the latest dag run version, then we can add it back.

Having this not be an argument makes it easier to control the behavior at dag run creation time.
@dstandish dstandish force-pushed the consolidate-dag-version-create-dag-run-behavior branch from 65ac9f9 to 5b190dd Compare April 13, 2025 12:09
@dstandish dstandish merged commit 0c883c5 into apache:main Apr 13, 2025
95 checks passed
@dstandish dstandish deleted the consolidate-dag-version-create-dag-run-behavior branch April 13, 2025 13:24
@dstandish dstandish added this to the Airflow 3.0.0 milestone Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:CLI area:dev-tools area:providers area:Scheduler including HA (high availability) scheduler full tests needed We need to run full set of tests for this PR to merge provider:standard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants