Uh oh!
There was an error while loading. Please reload this page.
Remove Run task action from UI - #29706
Conversation
dimberman
commented
Feb 23, 2023
@kaxil what would be the benefit of keeping it? |
eladkal
commented
Feb 23, 2023
the run command is also available from CLI. I'm missing the part why it makes sense to use it in CLI but not from the UI? the end result is the same doesn't it? |
jedcunningham
commented
Feb 23, 2023
The CLI will be a little trickier, but yes, the non --local or --raw path which spins up an executor should probably also be axed. |
jedcunningham
commented
Feb 23, 2023
And --local certainly makes sense - it's how KubernetesExecutor works. I'm not familiar enough with --raw to speak to that one though. |
uranusjr
commented
Feb 23, 2023
IIRC |
jedcunningham
commented
Feb 23, 2023
Yeah, when troubleshooting something else today, I happened to find that --local ends up using --raw as well 👍. Either way, I think we should address the UI and CLI separately. |
The run task instance capability was removed from the Airflow UI and API in apache#29706 but the base executor interface and subclasses which support it was not updated.
Airflow.runis broken. It tries to start an executor. From the UI, users should use Clear instead. This PR removes the Run buttons from the UI (we will only show clear or mark failure/success).Note: Since it is broken, I feel like this counts as a bug fix for 2.5.2. But if removing a UI element is too drastic I'm fine to move this to 2.6.0 instead
Before:

After:

^ 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.rstor{issue_number}.significant.rst, in newsfragments.