You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/07/12 13:16:57 UTC
[GitHub] [airflow] pascal-knapen opened a new issue, #24998: Taskgroups show incorrect status in grid view
pascal-knapen opened a new issue, #24998:
URL: https://github.com/apache/airflow/issues/24998
### Apache Airflow version
2.3.2
### What happened
Once a task belonging to a TaskGroup is in the status `failed` or `upstream failed`, that status is shown for the TaskGroup over all the runs in grid view.
### What you think should happen instead
I expect in the grid view to see TaskGroups in the status corresponding to the status of the tasks in that group for the given dag run.
### How to reproduce
1. Create a DAG using taskgroups
```
from airflow import DAG
from airflow.utils.task_group import TaskGroup
from airflow.operators.empty import EmptyOperator
from datetime import datetime, timedelta
default_args = {
"depends_on_past": False,
"start_date": datetime(year=2022, month=7, day=9),
"email": [],
"email_on_failure": False,
"email_on_retry": False,
"retries": 0,
"retry_delay": timedelta(minutes=5),
}
with DAG(
"sample-taskgroup", default_args=default_args, schedule_interval="@daily", max_active_runs=1
) as dag:
t0 = EmptyOperator(task_id='start')
# Start Task Group definition
with TaskGroup(group_id='group1') as tg1:
t1 = EmptyOperator(task_id='task1')
t2 = EmptyOperator(task_id='task2')
t1 >> t2
# End Task Group definition
t3 = EmptyOperator(task_id='end')
# Set Task Group's (tg1) dependencies
t0 >> tg1 >> t3
```
1. Change the status of one of the tasks in the taskgroup
https://user-images.githubusercontent.com/33350052/178497737-60195a29-4bc9-4027-b5de-9d3daf00435e.mov
### Operating System
Debian GNU/Linux 11 (bullseye)
### Versions of Apache Airflow Providers
N/A
### Deployment
Other Docker-based deployment
### Deployment details
N/A
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] bbovenzi closed issue #24998: Taskgroups show incorrect status in grid view
Posted by GitBox <gi...@apache.org>.
bbovenzi closed issue #24998: Taskgroups show incorrect status in grid view
URL: https://github.com/apache/airflow/issues/24998
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] bbovenzi commented on issue #24998: Taskgroups show incorrect status in grid view
Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #24998:
URL: https://github.com/apache/airflow/issues/24998#issuecomment-1183351135
This was fixed in https://github.com/apache/airflow/pull/24327 which was included in 2.3.3
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #24998: Taskgroups show incorrect status in grid view
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #24998:
URL: https://github.com/apache/airflow/issues/24998#issuecomment-1182236325
I love the video-report :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #24998: Taskgroups show incorrect status in grid view
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #24998:
URL: https://github.com/apache/airflow/issues/24998#issuecomment-1181748892
Thanks for opening your first issue here! Be sure to follow the issue template!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] josh-fell commented on issue #24998: Taskgroups show incorrect status in grid view
Posted by GitBox <gi...@apache.org>.
josh-fell commented on issue #24998:
URL: https://github.com/apache/airflow/issues/24998#issuecomment-1183274264
@pascal-knapen Thanks for submitting this issue. Definitely not the desired behavior. Can you check out Airflow 2.3.3 and see if the issue is fixed when you get a chance please? I did a quick test with the example you provided on 2.3.3 as well as the `main` branch and this seems to be fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] pascal-knapen commented on issue #24998: Taskgroups show incorrect status in grid view
Posted by GitBox <gi...@apache.org>.
pascal-knapen commented on issue #24998:
URL: https://github.com/apache/airflow/issues/24998#issuecomment-1183428074
Thanks @bbovenzi for checking, that saved me some time this evening.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org