You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Usiel (via GitHub)" <gi...@apache.org> on 2023/09/04 07:13:18 UTC
[GitHub] [airflow] Usiel opened a new issue, #34066: Toggling TaskGroup toggles all TaskGroups with the same label on Graph/Grid
Usiel opened a new issue, #34066:
URL: https://github.com/apache/airflow/issues/34066
### Apache Airflow version
main (development)
### What happened
When you have 2 TaskGroups with the same `group_id` (nested under different parents), toggling either of them on the UI (graph or grid) toggles both.
<img src="https://cdn-std.droplr.net/files/acc_1153680/9Z1Nvs" alt="image" width="50%">
### What you think should happen instead
Only the clicked TaskGroup should be toggled. They should be distinguishable since they have the parent's group_id as prefix.
### How to reproduce
```
from datetime import datetime
from airflow.models import DAG
from airflow.operators.empty import EmptyOperator
from airflow.utils.task_group import TaskGroup
with DAG(
"my_dag",
start_date=datetime(2023, 9, 4),
):
with TaskGroup(group_id="a"):
with TaskGroup(group_id="inner"):
EmptyOperator(task_id="dummy")
with TaskGroup(group_id="b"):
with TaskGroup(group_id="inner"):
EmptyOperator(task_id="dummy")
```
### Operating System
-
### Versions of Apache Airflow Providers
_No response_
### Deployment
Virtualenv installation
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [X] 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 #34066: Toggling TaskGroup toggles all TaskGroups with the same label on Graph/Grid
Posted by "bbovenzi (via GitHub)" <gi...@apache.org>.
bbovenzi closed issue #34066: Toggling TaskGroup toggles all TaskGroups with the same label on Graph/Grid
URL: https://github.com/apache/airflow/issues/34066
--
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] Lee-W commented on issue #34066: Toggling TaskGroup toggles all TaskGroups with the same label on Graph/Grid
Posted by "Lee-W (via GitHub)" <gi...@apache.org>.
Lee-W commented on issue #34066:
URL: https://github.com/apache/airflow/issues/34066#issuecomment-1705120272
I just tested the DAG on the latest main branch and encountered the same issue. As you already send a PR, I'll assign this issue to you.
--
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 #34066: Toggling TaskGroup toggles all TaskGroups with the same label on Graph/Grid
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #34066:
URL: https://github.com/apache/airflow/issues/34066#issuecomment-1704733760
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
--
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