Skip to content

[v3-0-test] Delete import error when a dag bundle becomes inactive (#51800) - #51921

Merged
ephraimbuddy merged 1 commit into
apache:v3-0-testfrom
astronomer:backport-51800
Jun 19, 2025
Merged

ephraimbuddy merged 1 commit into
apache:v3-0-testfrom
astronomer:backport-51800

Conversation

@ephraimbuddy

Copy link
Copy Markdown
Contributor
  • Delete import error when a dag bundle becomes inactive

Currently, when a bundle is marked as inactive, its associated import errors continue to appear. To resolve this, we delete the import errors at the moment the bundle is deactivated.

  • Update airflow-core/src/airflow/dag_processing/bundles/manager.py

(cherry picked from commit 073fe2e)

* Delete import error when a dag bundle becomes inactive

Currently, when a bundle is marked as inactive, its
associated import errors continue to appear. To resolve this,
we delete the import errors at the moment the bundle is deactivated.

* Update airflow-core/src/airflow/dag_processing/bundles/manager.py

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>

---------

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
(cherry picked from commit 073fe2e)
@ephraimbuddy
ephraimbuddy merged commit 33875db into apache:v3-0-test Jun 19, 2025
@ephraimbuddy
ephraimbuddy deleted the backport-51800 branch June 19, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants