Skip to content

Conversation

@ephraimbuddy
Copy link
Contributor

@ephraimbuddy ephraimbuddy commented Jan 8, 2025

This PR adds bundle_name to ParseImportError. Future work would make
the filename relative to the bundle path and that means we need to include
bundle_name as part of the ParseImportError so that if two DAG files are
having the same filename, we could differentiate them by the bundle they belong.

Depends on #45371

Closes: #45474

@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:CLI area:db-migrations PRs with DB migration area:providers area:Scheduler including HA (high availability) scheduler area:webserver Webserver related Issues kind:documentation provider:fab provider:openlineage AIP-53 labels Jan 8, 2025
@ephraimbuddy ephraimbuddy marked this pull request as ready for review January 13, 2025 15:41
@ephraimbuddy ephraimbuddy added the legacy api Whether legacy API changes should be allowed in PR label Jan 13, 2025
@ephraimbuddy ephraimbuddy reopened this Jan 13, 2025
Copy link
Contributor

@bbovenzi bbovenzi left a comment

Choose a reason for hiding this comment

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

Do we need to make any changes to the new FastAPI endpoint?

@ephraimbuddy
Copy link
Contributor Author

Do we need to make any changes to the new FastAPI endpoint?

Yes. Added the needed changes now

@ephraimbuddy ephraimbuddy added the legacy ui Whether legacy UI change should be allowed in PR label Jan 14, 2025
@ephraimbuddy ephraimbuddy reopened this Jan 14, 2025
This PR adds bundle_name to ParseImportError. Future work would make
the filename relative to the bundle path and that means we need to include
bundle_name as part of the ParseImportError so that if two DAG files are
having the same filename, we could differentiate them by the bundle they belong.
@ephraimbuddy ephraimbuddy merged commit 8c420b1 into apache:main Jan 15, 2025
91 checks passed
@ephraimbuddy ephraimbuddy deleted the bundle_name branch January 15, 2025 23:09
HariGS-DB pushed a commit to HariGS-DB/airflow that referenced this pull request Jan 16, 2025
* Add bundle_name to ParseImportError

This PR adds bundle_name to ParseImportError. Future work would make
the filename relative to the bundle path and that means we need to include
bundle_name as part of the ParseImportError so that if two DAG files are
having the same filename, we could differentiate them by the bundle they belong.

* fixup! Add bundle_name to ParseImportError

* fixup! fixup! Add bundle_name to ParseImportError

* fixup! fixup! fixup! Add bundle_name to ParseImportError

* Fix tests

* Move migration

* Fix compact tests

* Fix fab failures
dauinh pushed a commit to dauinh/airflow that referenced this pull request Jan 24, 2025
* Add bundle_name to ParseImportError

This PR adds bundle_name to ParseImportError. Future work would make
the filename relative to the bundle path and that means we need to include
bundle_name as part of the ParseImportError so that if two DAG files are
having the same filename, we could differentiate them by the bundle they belong.

* fixup! Add bundle_name to ParseImportError

* fixup! fixup! Add bundle_name to ParseImportError

* fixup! fixup! fixup! Add bundle_name to ParseImportError

* Fix tests

* Move migration

* Fix compact tests

* Fix fab failures
got686-yandex pushed a commit to got686-yandex/airflow that referenced this pull request Jan 30, 2025
* Add bundle_name to ParseImportError

This PR adds bundle_name to ParseImportError. Future work would make
the filename relative to the bundle path and that means we need to include
bundle_name as part of the ParseImportError so that if two DAG files are
having the same filename, we could differentiate them by the bundle they belong.

* fixup! Add bundle_name to ParseImportError

* fixup! fixup! Add bundle_name to ParseImportError

* fixup! fixup! fixup! Add bundle_name to ParseImportError

* Fix tests

* Move migration

* Fix compact tests

* Fix fab failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AIP-66: DAG Bundle/Manifest area:API Airflow's REST/HTTP API area:CLI area:db-migrations PRs with DB migration area:providers area:Scheduler including HA (high availability) scheduler area:webserver Webserver related Issues kind:documentation legacy api Whether legacy API changes should be allowed in PR legacy ui Whether legacy UI change should be allowed in PR provider:fab provider:openlineage AIP-53

Projects

Development

Successfully merging this pull request may close these issues.

Add bundle_name to ParseImportError

3 participants