-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
Airflow stable API taskInstance call fails if a task is removed from running DAG #14331
Labels
affected_version:2.0
Issues Reported for 2.0
area:API
Airflow's REST/HTTP API
kind:bug
This is a clearly a bug
Milestone
Comments
From here: airflow/airflow/utils/state.py Lines 48 to 60 in a7e4266
The task states do not include removed , I think that's why it was omitted here:airflow/airflow/api_connexion/openapi/v1.yaml Lines 2500 to 2509 in a7e4266
Should we change this @kaxil? |
We just need to check it (`task_states) isn't used anywhere else to cause domino effect |
vikramkoka
added
area:API
Airflow's REST/HTTP API
affected_version:2.0
Issues Reported for 2.0
labels
Feb 23, 2021
kaxil
pushed a commit
to astronomer/airflow
that referenced
this issue
Apr 1, 2021
…ning DAG (apache#14381) Closes: apache#14331 (cherry picked from commit 7418679) (cherry picked from commit 0cb2a96)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affected_version:2.0
Issues Reported for 2.0
area:API
Airflow's REST/HTTP API
kind:bug
This is a clearly a bug
Apache Airflow version: 2.0.1
Environment: Docker on Win 10 with WSL, image based on
apache/airflow:2.0.1-python3.8
What happened:
I'm using the airflow API and the following (what I believe to be a) bug popped up:
This happened after I changed a DAG in the corresponding instance, thus a task was removed from a DAG while the DAG was running.
What you expected to happen:
Give me all task instances, whether including the removed ones or not is up to the airflow team to decide (no preferences from my side, though I'd guess it makes more sense to supply all data as it is available).
How to reproduce it:
The text was updated successfully, but these errors were encountered: