atul-astronomer opened a new issue, #53924:
URL: https://github.com/apache/airflow/issues/53924

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When user navigates to a specific task instance then also tab shows Task 
Instance[0], it should show the correct index
   
   <img width="1459" height="573" alt="Image" 
src="https://github.com/user-attachments/assets/19a000a0-9126-486d-905a-01460a45627d";
 />
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Run any dynamic taskmap dag and notice the task instance tab indexing:
   
   ```python
   from airflow.decorators import task
   from airflow.exceptions import AirflowSkipException
   from airflow.providers.standard.operators.bash import BashOperator
   from airflow.sdk import DAG
   
   with DAG(
       dag_id="zip",
       doc_md="zip two datasets together (2 tasks)",
       schedule=None,
       tags=["taskmap"]
   ) as zip:
   
       @task
       def get_cmd():
           return ["echo hello $VAR", "echo goodbye $VAR"]
   
       @task
       def get_env():
           return [{"VAR": "foo"}, {"VAR": "bar"}]
   
       def mapper(arg):
           return {"bash_command": arg[0], "env": arg[1]}
   
       combined = get_cmd().zip(get_env()).map(mapper)
   
       BashOperator.partial(
           task_id="two_cmds",
       ).expand_kwargs(combined)
   ``` 
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### 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