Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for map_index in /clearTaskInstances #43635

Open
2 tasks done
sharpnife opened this issue Nov 4, 2024 · 1 comment
Open
2 tasks done

Add support for map_index in /clearTaskInstances #43635

sharpnife opened this issue Nov 4, 2024 · 1 comment
Assignees
Labels
area:API Airflow's REST/HTTP API area:dynamic-task-mapping AIP-42 kind:feature Feature Requests

Comments

@sharpnife
Copy link

Description

Enhance the /clearTaskInstances REST API endpoint by adding support for clearing specific task instances using map_indexes.

This feature is especially valuable for dynamically mapped operators, which can generate multiple task instances for a single operator. Currently, while the Airflow UI allows clearing individual task instances by map_index, this capability is not available via the /clearTaskInstances endpoint

Use case/motivation

We want to provide users with the ability to retry specific instances of a failed mapped task. To enable this, the REST API should support clearing specific map_index(es) for a given task ID.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@sharpnife sharpnife added kind:feature Feature Requests needs-triage label for new issues that we didn't triage yet labels Nov 4, 2024
Copy link

boring-cyborg bot commented Nov 4, 2024

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.

@dosubot dosubot bot added area:API Airflow's REST/HTTP API area:dynamic-task-mapping AIP-42 labels Nov 4, 2024
@Lee-W Lee-W removed the needs-triage label for new issues that we didn't triage yet label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:API Airflow's REST/HTTP API area:dynamic-task-mapping AIP-42 kind:feature Feature Requests
Projects
None yet
Development

No branches or pull requests

2 participants