Skip to content

Conversation

@ephraimbuddy
Copy link
Contributor

If there's a bundle name change without the dag structure changing, we should update the dag version to reflect the change.

This issue was fixed in #49886 but the fix randomly assigned versions to the new bundle.

@ephraimbuddy ephraimbuddy force-pushed the update-serdag-version-when-bundle-name-changes branch from 5cda8bc to ff82265 Compare June 18, 2025 20:55
@ephraimbuddy ephraimbuddy added this to the Airflow 3.0.3 milestone Jun 18, 2025
@ephraimbuddy ephraimbuddy added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Jun 18, 2025
@ephraimbuddy ephraimbuddy force-pushed the update-serdag-version-when-bundle-name-changes branch from ff82265 to dd5077d Compare June 19, 2025 09:49
If there's a bundle name change without the dag structure changing,
we should update the dag version to reflect the change.

This issue was fixed in apache#49886 but the fix randomly assigned versions
to the new bundle.
@ephraimbuddy ephraimbuddy force-pushed the update-serdag-version-when-bundle-name-changes branch from dd5077d to b040c18 Compare June 19, 2025 12:30
@ephraimbuddy
Copy link
Contributor Author

@jedcunningham , I'm changing this to create new version when the bundle changes. The reason is this: if there's a run before the change of bundle name, updating the version means altering history since the run would appear as if from the new bundle whereas it was from the old bundle.

@ephraimbuddy ephraimbuddy merged commit cc7abdc into apache:main Jun 19, 2025
98 checks passed
@ephraimbuddy ephraimbuddy deleted the update-serdag-version-when-bundle-name-changes branch June 19, 2025 15:19
github-actions bot pushed a commit that referenced this pull request Jun 19, 2025
* Update dag version when bundle name changes

If there's a bundle name change without the dag structure changing,
we should update the dag version to reflect the change.

This issue was fixed in #49886 but the fix randomly assigned versions
to the new bundle.

* fixup! Update dag version when bundle name changes

* fixup! fixup! Update dag version when bundle name changes

* fixup! fixup! fixup! Update dag version when bundle name changes

* Change this to create new version when the bundle name changes
(cherry picked from commit cc7abdc)

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
@github-actions
Copy link

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

RoyLee1224 pushed a commit to RoyLee1224/airflow that referenced this pull request Jun 21, 2025
* Update dag version when bundle name changes

If there's a bundle name change without the dag structure changing,
we should update the dag version to reflect the change.

This issue was fixed in apache#49886 but the fix randomly assigned versions
to the new bundle.

* fixup! Update dag version when bundle name changes

* fixup! fixup! Update dag version when bundle name changes

* fixup! fixup! fixup! Update dag version when bundle name changes

* Change this to create new version when the bundle name changes
kaxil pushed a commit that referenced this pull request Jul 2, 2025
)

If there's a bundle name change without the dag structure changing,
we should update the dag version to reflect the change.

This issue was fixed in #49886 but the fix randomly assigned versions
to the new bundle.

* fixup! Update dag version when bundle name changes

* fixup! fixup! Update dag version when bundle name changes

* fixup! fixup! fixup! Update dag version when bundle name changes

* Change this to create new version when the bundle name changes
(cherry picked from commit cc7abdc)

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:DAG-processing area:serialization backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants