Skip to content

Conversation

@gyli
Copy link
Collaborator

@gyli gyli commented Mar 11, 2025

Change bundle_name in dag not nullable and prepopulate the value in the migration: #46734

Closes: #46734

@boring-cyborg boring-cyborg bot added the area:db-migrations PRs with DB migration label Mar 11, 2025
remove migration query

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
@gyli gyli requested a review from potiuk as a code owner March 15, 2025 22:24
@gyli
Copy link
Collaborator Author

gyli commented May 5, 2025

Hi @ephraimbuddy @jedcunningham Do you think this PR looks good already, or you think more testing needs to be done?

@ephraimbuddy
Copy link
Contributor

Hi @ephraimbuddy @jedcunningham Do you think this PR looks good already, or you think more testing needs to be done?

Since Airflow 3 has been released, we should update the PR with new migration file instead of editing the add-dagbundlemodel migration file. Sorry that it didn't make it to 3.0.0

@gyli
Copy link
Collaborator Author

gyli commented May 6, 2025

PR is updated to use new migration file, as 3.0 is rolled out.

…undle_name_not_nullable.py

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
…undle_name_not_nullable.py


Update downgrade

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
@gyli
Copy link
Collaborator Author

gyli commented Jul 19, 2025

Hi @jedcunningham, PR updated. All test functions now add dag bundle with fixture. For adding dag bundle in helper functions, DagBundleModel is still used to avoid creating dag bundle unnecessarily. Does it look good to you?

@phanikumv phanikumv requested a review from uranusjr August 4, 2025 12:08
@gyli gyli requested a review from jedcunningham August 12, 2025 03:57
Comment on lines +50 to +51
('example_dags'),
('dags-folder')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to this PR at all, damn this mix of dash and underscore is an eye sore.

@uranusjr uranusjr merged commit 1215818 into apache:main Aug 14, 2025
105 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in AIP-66: DAG Bundles & Parsing Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

Make bundle_name non-nullable

5 participants