Skip to content

Conversation

@pgagnon
Copy link
Contributor

@pgagnon pgagnon commented Jan 14, 2026

The __register_plugins function was using 'return' instead of 'continue' when encountering a duplicate plugin name. This caused the entire loop to exit early, preventing subsequent plugins from being loaded.

The __register_plugins function was using 'return' instead of 'continue'
when encountering a duplicate plugin name. This caused the entire
loop to exit early, preventing subsequent plugins from being loaded.

This is a regression introduced in apache#32692.
@potiuk
Copy link
Member

potiuk commented Jan 21, 2026

Can you add unit tests please - that would avoid future similar regressions

@potiuk potiuk added this to the Airflow 3.1.7 milestone Jan 23, 2026
@potiuk potiuk added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Jan 23, 2026
@potiuk
Copy link
Member

potiuk commented Jan 23, 2026

:D ? Would be great to have a unit test so that we can back-port it to 3.1.7

@pgagnon
Copy link
Contributor Author

pgagnon commented Jan 23, 2026

:D ? Would be great to have a unit test so that we can back-port it to 3.1.7

I'm a bit behind because I'm traveling. Will add asap. :-)

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

Labels

area:plugins 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.

3 participants