You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We replaced Websever with API server serving static JS in Airflow 3.0 and hence removed lot of Webserver configuration. However, the following configuration still exists, and I think most, if not al,l can be nuked
@kaxil I just realized that now that we moved some pieces from webserver to api. (targetted for 3.1.0), people upgrading from 3.0.0 to 3.1.0 will need to config lint again because otherwise their config will not have that api section that core is now looking for, and will most likely crash.
Is that acceptable, what do you think is the best way. (I know this isn't great, but I couldn't find a better option, or we still look for webserver section but this will emit deprecation warning, until AF4...)
Is that acceptable, what do you think is the best way. (I know this isn't great, but I couldn't find a better option, or we still look for webserver section but this will emit deprecation warning, until AF4...)
So core should still be looking for webserver.my_config (old location) ?
What about configs moved to providers, is that the same, provider should still look for webserver even if it's expected to be in fab now ? Or since we introduced a lower bound on both side (core => provider, provider => core) we can assume that the config section will be up to date ?
My bad, sorry for the confusion, double checked with Jed, yes those will raise deprecation warnings for core moved in core.
Yeah. Core to Core is straightforward - > core to fab requires bumping min version(s), really - that's the simplest way, another option is to add a code in fab provider to manually fallback to the old webserver settings with deprecations.
Activity
pierrejeambrun commentedon May 5, 2025
Some of them are still used and more complicated to remove/migrate, I'll do them in separate PRs. (part are fab provider, part is core etc.)
pierrejeambrun commentedon May 19, 2025
@kaxil I just realized that now that we moved some pieces from
webservertoapi. (targetted for 3.1.0), people upgrading from3.0.0to3.1.0will need toconfig lintagain because otherwise their config will not have thatapisection that core is now looking for, and will most likely crash.Is that acceptable, what do you think is the best way. (I know this isn't great, but I couldn't find a better option, or we still look for
webserversection but this will emit deprecation warning, until AF4...)pierrejeambrun commentedon May 19, 2025
cc: @potiuk @jedcunningham
potiuk commentedon May 19, 2025
Yes. We should deprecate those.
pierrejeambrun commentedon May 19, 2025
So core should still be looking for
webserver.my_config(old location) ?What about configs moved to providers, is that the same, provider should still look for
webservereven if it's expected to be infabnow ? Or since we introduced a lower bound on both side (core => provider, provider => core) we can assume that the config section will be up to date ?kaxil commentedon May 19, 2025
Yeah for ones where we do still use those config, we should deprecate them first unfortunately
pierrejeambrun commentedon May 19, 2025
My bad, sorry for the confusion, double checked with Jed, yes those will raise deprecation warnings for core moved in core.
potiuk commentedon May 19, 2025
Yeah. Core to Core is straightforward - > core to fab requires bumping min version(s), really - that's the simplest way, another option is to add a code in fab provider to manually fallback to the old webserver settings with deprecations.