Skip to content

Clear task instance broken #74712

Closed

Description

@atuls4441

Under which category would you file this issue?

Airflow Core

Apache Airflow version

3.4.0b1

What happened and how to reproduce it?

  1. Try to clear a TI for any Dag which has a dagrun already.
  2. Notice, no action done since request payload has dry_run=true
Image

Response:

{"task_instances":[{"id":"01a139c2-178b-7a06-9eb1-7928ba830716","task_id":"assert_the_states","dag_id":"branch_date_time_operator","dag_run_id":"manual__2026-10-14T09:06:59.752518+00:00","map_index":-1,"in_loop":false,"loop_iteration":null,"logical_date":"2026-10-14T09:06:58Z","run_after":"2026-10-14T09:06:59.752518Z","start_date":"2026-10-14T09:33:06.757890Z","end_date":"2026-10-14T09:33:07.156818Z","duration":0.398928,"state":"success","try_number":3,"max_tries":2,"task_display_name":"assert_the_states","dag_display_name":"branch_date_time_operator","hostname":"b3b2774fd3a8","unixname":"root","pool":"default_pool","pool_slots":1,"queue":"default","priority_weight":1,"operator":"PythonOperator","operator_name":"PythonOperator","queued_when":"2026-10-14T09:33:06.742416Z","scheduled_when":"2026-10-14T09:33:06.730369Z","pid":119474,"executor":null,"executor_config":"{}","note":null,"rendered_map_index":null,"rendered_fields":{"templates_dict":null,"op_args":[{"branch_datetime":"success","dummy0":"skipped","dummy1":"skipped","dummy2":"success","dummy3":"success"}],"op_kwargs":{}},"trigger":null,"triggerer_job":null,"dag_version":{"id":"01a13950-c7a5-7c4b-9039-ac710999de40","version_number":1,"dag_id":"branch_date_time_operator","bundle_name":"dags-folder","bundle_version":null,"created_at":"2026-10-14T07:29:17.733474Z","dag_display_name":"branch_date_time_operator","bundle_url":null},"team_name":null,"state_reason":null}],"total_entries":1,"total_entries_limit":null,"next_cursor":null,"previous_cursor":null}

What you think should happen instead?

No response

Operating System

No response

Deployment

None

Apache Airflow Provider(s)

No response

Versions of Apache Airflow Providers

No response

Official Helm Chart version

Not Applicable

Kubernetes Version

No response

Helm Chart configuration

No response

Docker Image customizations

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:bug
    needs-triage
    on Oct 14, 2026
  2. self-assigned this
    on Oct 14, 2026
  3. removed
    needs-triage
    on Oct 14, 2026
  4. added
    affected_version:3.4.0rc
    priority:critical
    on Oct 14, 2026
  5. kaxil commented on Oct 14, 2026

    @kaxil
    Member

    PR: #74725

  6. added a commit that references this issue on Oct 14, 2026
    ea805e3
  7. added a commit that references this issue on Oct 14, 2026
    b43d79c
  8. added a commit that references this issue on Oct 20, 2026
    8673738
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

affected_version:3.4.0rckind:bugpriority:critical

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions