-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove API-44 methods from method map #44494
Conversation
The changes apache#44490, apache#44491, apache#44489 removed internal_api_call decorator from a few methods but did not remove them from method map. This PR is a follow-up.
Hi @potiuk While I like the cleanup and reversion of AIP-44 you are running faster than I can make the other PR to main to move EdgeExecutor off the AIP-44. The method map is broken on main and for Airflow 3 can be completely removed. BUT we need it further for the backcompat case in Airflow 2.10. There I need to restore the state of Airflow 2.10, else it is both broken in Airflow 2.10 as well as in Airflow 3. While I accept it is temporarily broken in Airflow 3 (Still running behind trying to make EdgeExecutor working on main (again after the stone was hitting the glass) with the ongoing changes and merges to EdgeExecutor it is also throwing stones on the ability to further use it in Airflow 2.10. |
I think we should not hold back the changes for Airflow 2.10 compatibilty. This is the main thing we discussed before that it will have to end at some point of time - when it starts blocking our Airflow 3 development, And I think this is the time. I'd say - if we need to have new features of I think that was inevitable and there is no better way - there is no easy way same edge executor will work for both 2.10 and 3 becasue the APIs will be so vastly different (and AIP-44 completely removed in Airflow 3). I'd say that this is the right moment to break the compatibility and let the burden on maintaining 2.10 variant of the edge executor to stay in the hands of Bosh, rather than keep us from cleaning and developing Airflow 3. @kaxil @ashb - I guess the AIP-44 code is keeping you from AIP-72 progressing (it looked like from the discussions we had so far and the plans for next week to make PRs that are overlapping with the current AIP-44 cleanup. We can raise it as a discussion at the devlist as well, but I think that was part of the agreement that we keep AIP-44 and Edge Executor happy with it for as long as we can - and I think "as long as we can" is "NOW". |
Also technically speaking- when it comes to the mechanics of it. That should be of course a bit of a burden for you and your team - but this is completely no problem to fork Airflow and run So this is just a matter of backporting any changes in You can also easily run the same compatibility tests in your CI - using your fork, so technically speaking you could do everything to release next "2.10" compatible edge worker on your own - without having to keep the compatibility in Airflow repo. So all that is doable - the question is - should it slow down the current Airflow 3 development, or should it slow down Bosh's team runnning the 2.10 version of it. i think that's basiclly the choice we are facing now. |
The changes #44490, #44491, #44489 removed internal_api_call decorator from a few methods but did not remove them from method map.
This PR is a follow-up.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.