enrique-ayala opened a new issue, #33179:
URL: https://github.com/apache/airflow/issues/33179

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### What happened
   
   Airflow version 2.5.3 
   
   When using a mapped Task Group , task logs are not shown  from Grid view .  
For example  
   
![image](https://github.com/apache/airflow/assets/10963531/b1d53bc1-151c-455e-958b-dd44bb17009f)
   
   See "How to reproduce" for dag code example. 
   
    
   
   ### What you think should happen instead
   
   I was expecting to see logs represented similar as with dynamic task mapping 
from Grid view , where you can select a mapped index task   to see logs. 
   
   ### How to reproduce
   
   ```
   from airflow.decorators import dag, task_group, task
   from pendulum import datetime
   
   
   @dag(
       start_date=datetime(2022, 12, 1),
       schedule=None,
       catchup=False,
   )
   def task_group_mapping_example():
       # creating a task group using the decorator with the dynamic input my_num
       @task_group(group_id="group1")
       def tg1(my_num):
           @task
           def print_num(num):
               return num
   
           @task
           def add_42(num):
               return num + 42
   
           print_num(my_num) >> add_42(my_num)
   
       # creating 6 mapped task group instances of the task group group1 (2.5 
feature)
       tg1_object = tg1.expand(my_num=[19, 23, 42, 8, 7, 108])
   
   
   task_group_mapping_example()
   ```
   
   ### Operating System
   
   PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other 3rd-party Helm chart
   
   ### Deployment details
   
   _No response_
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to