Skip to content

airflowctl: Add support to manage Task Instances #61547

Open

Description

@amit-mittal

Description

Currently, airflowctl CLI can only manage DAGs and DAG runs. Add support for task instances, so we can easily do bulk operations.

Below operations should at least be supported:

Use case/motivation

If there are individual tasks which are in a bad state (hung because of Airflow issue) or just stuck in queued state, it is better to cancel those tasks and reschedule them rather than canceling and rerunning the whole DAG.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:feature
    needs-triage
    on Feb 6, 2026
  2. Suraj-kumar00 commented on Feb 6, 2026

    @Suraj-kumar00

    Hi @amit-mittal, hope you're doing well!

    Can I work on this issue?

  3. abhijeets25012-tech commented on Feb 7, 2026

    @abhijeets25012-tech
    Contributor

    “Hi @amit-mittal I’d like to contribute and work on this issue. Could you assign it to me?”

  4. removed
    needs-triage
    on Feb 7, 2026
  5. shahar1 commented on Feb 7, 2026

    @shahar1
    Contributor

    “Hi @amit-mittal I’d like to contribute and work on this issue. Could you assign it to me?”

    Please note that Suraj has asked to be assigned first, so I give him the priority.

  6. Suraj-kumar00 commented on Feb 7, 2026

    @Suraj-kumar00

    Thanks @shahar1, will be working on this.

    Is there any deadline to this?

  7. shahar1 commented on Feb 7, 2026

    @shahar1
    Contributor

    Thanks @shahar1, will be working on this.

    Is there any deadline to this?

    The beauty of open source, is that there are no strict deadlines, at least not in the "corporate sense"*.
    However, if this issue gets inactive for more than a a couple of weeks and someone else asks to be assigned, I'll probably assign them instead.

    * - this sentence is not valid if you work in an open source team for living, as in Astronomer or AWS :)

  8. Suraj-kumar00 commented on Feb 7, 2026

    @Suraj-kumar00

    Thanks @shahar1, will be working on this.
    Is there any deadline to this?

    The beauty of open source, is that there are no strict deadlines, at least not in the "corporate sense"*. However, if this issue gets inactive for more than a a couple of weeks and someone else asks to be assigned, I'll probably assign them instead.

      • this sentence is not valid if you work in an open source team for living, as in Astronomer or AWS :)

    Got it, just wanted to hear that. Will submit the PR soon.

    Thanks.

  9. MiteshSahu commented on Feb 13, 2026

    @MiteshSahu

    Hi @Suraj-kumar00, are you still working on this?

  10. Suraj-kumar00 commented on Feb 13, 2026

    @Suraj-kumar00

    Hi @MiteshSahu, yes i'm working on this mostly i have made the progress and hopefully tomorrow I'll raise the PR.

    cc: @shahar1

  11. added a commit that references this issue on Feb 15, 2026
    f71decb
  12. potiuk commented on Mar 2, 2026

    @potiuk
    Member

    @Suraj-kumar00 We are unassigning you from this issue as part of our updated assignment policy.

    This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.

    We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.

  13. Suraj-kumar00 commented on Mar 3, 2026

    @Suraj-kumar00

    Sure @potiuk, you can assign this issue again to me!

    As you can see i have already opened the PR anf there is ome CI faliure there. I'm fixing that and will update you soon..

  14. Suraj-kumar00 commented on Mar 18, 2026

    @Suraj-kumar00

    Hi @potiuk, I have raised the new PR for this.

    Could you please assign the issue to me and review the PR.

    cc: @amit-mittal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:CLIkind:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions