You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jinoo7099 (via GitHub)" <gi...@apache.org> on 2026/05/10 06:22:21 UTC
[PR] fix: report duplicate plugin names as import errors [airflow]
jinoo7099 opened a new pull request, #66649:
URL: https://github.com/apache/airflow/pull/66649
## Description
Report duplicate Airflow plugin names as plugin import errors.
When multiple plugins define the same name, Airflow already skips the later duplicate plugin, but the conflict was only logged as a warning. This made the issue hard to discover from the UI/API because only one plugin appeared in the plugin list.
This change keeps the existing behavior of skipping duplicate plugin names and continuing to load subsequent plugins, but also records the duplicate as a plugin import error so it is visible from the plugin import errors endpoint/UI.
- closes: #55140
## Testing
- Before : Import error is not shown.
<img width="780" height="551" alt="image" src="https://github.com/user-attachments/assets/f4a646d1-ca41-4063-8da6-6d7c7326dc13" />
- After : Duplicate Airflow plugin names are shown as an import error.
<img width="1064" height="543" alt="image" src="https://github.com/user-attachments/assets/07d10c8e-7d88-41d0-bcf8-9231fa1843e9" />
---
Was generative AI tooling used to co-author this PR?
- [x] Yes — OpenAI Codex (GPT-5)
Generated-by: OpenAI Codex (GPT-5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix: report duplicate plugin names as import errors [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #66649:
URL: https://github.com/apache/airflow/pull/66649
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix: report duplicate plugin names as import errors [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on PR #66649:
URL: https://github.com/apache/airflow/pull/66649#issuecomment-4415897996
LGTM
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org