You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "atul-astronomer (via GitHub)" <gi...@apache.org> on 2025/07/30 12:01:35 UTC
[I] Mapped task instance index is always 0 on 'Task Instances' tab [airflow]
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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Mapped task instance index is always 0 on 'Task Instances' tab [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun commented on issue #53924:
URL: https://github.com/apache/airflow/issues/53924#issuecomment-3144955618
Thanks for reporting Atul, let me know if you need any help @anya-xcode
--
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
Re: [I] Mapped task instance index is always 0 on 'Task Instances' tab [airflow]
Posted by "anya-xcode (via GitHub)" <gi...@apache.org>.
anya-xcode commented on issue #53924:
URL: https://github.com/apache/airflow/issues/53924#issuecomment-3138850613
@jroachgolf84 i will try my best
--
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
Re: [I] Mapped task instance index is always 0 on 'Task Instances' tab [airflow]
Posted by "jroachgolf84 (via GitHub)" <gi...@apache.org>.
jroachgolf84 commented on issue #53924:
URL: https://github.com/apache/airflow/issues/53924#issuecomment-3136801392
Sounds good @anya-xcode - have you been able to reproduce this exception?
--
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
Re: [I] Mapped task instance index is always 0 on 'Task Instances' tab [airflow]
Posted by "anya-xcode (via GitHub)" <gi...@apache.org>.
anya-xcode commented on issue #53924:
URL: https://github.com/apache/airflow/issues/53924#issuecomment-3138852995
> Sounds good [@anya-xcode](https://github.com/anya-xcode) - have you been able to reproduce this exception?
I will try my best
--
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
Re: [I] Mapped task instance index is always 0 on 'Task Instances' tab [airflow]
Posted by "anya-xcode (via GitHub)" <gi...@apache.org>.
anya-xcode commented on issue #53924:
URL: https://github.com/apache/airflow/issues/53924#issuecomment-3136455297
@jroachgolf84 I want to work on this issue. Could you please assign it to me?
--
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
Re: [I] Mapped task instance index is always 0 on 'Task Instances' tab [airflow]
Posted by "atul-astronomer (via GitHub)" <gi...@apache.org>.
atul-astronomer commented on issue #53924:
URL: https://github.com/apache/airflow/issues/53924#issuecomment-3135986960
Also, the tab name here is not correct
@pierrejeambrun
<img width="1599" height="712" alt="Image" src="https://github.com/user-attachments/assets/297234da-2aa7-4a07-b341-fdd8e0a3ff9f" />
--
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
Re: [I] Mapped task instance index is always 0 on 'Task Instances' tab [airflow]
Posted by "jscheffl (via GitHub)" <gi...@apache.org>.
jscheffl closed issue #53924: Mapped task instance index is always 0 on 'Task Instances' tab
URL: https://github.com/apache/airflow/issues/53924
--
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
Re: [I] Mapped task instance index is always 0 on 'Task Instances' tab [airflow]
Posted by "yangyulely (via GitHub)" <gi...@apache.org>.
yangyulely commented on issue #53924:
URL: https://github.com/apache/airflow/issues/53924#issuecomment-3252091040
It should be the total count of mapped tasks according to this PR(https://github.com/apache/airflow/pull/50085). I'd like to pick it up if it's right.
--
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
Re: [I] Mapped task instance index is always 0 on 'Task Instances' tab [airflow]
Posted by "vatsrahul1001 (via GitHub)" <gi...@apache.org>.
vatsrahul1001 commented on issue #53924:
URL: https://github.com/apache/airflow/issues/53924#issuecomment-3243858634
@anya-xcode, how are we progressing on this?
--
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