Skip to content

Marking success or failled of a single or group of tasks effects other tasks under different execution dates #36879

@rorymcstay

Description

@rorymcstay

Apache Airflow version

Other Airflow 2 version (please specify below)

If "Other Airflow 2 version" selected, which one?

2.3.3

What happened?

When marking a task as success or fail from the UI (either browse task instances screen or from the grid) causes all tasks of the same task id to be also marked success.

Dags are scheduled using a timetable (airflow.timetables.events.EventsTimetable). Using postgres

No failed tasks initially. Mark Failed a single task instance is selected (Past/Future/Upstream/Downstream are NOT selected)
image

UI Prompts to mark all failed
image

All tasks marked failure
image

What you think should happen instead?

Only the tasks which were selected should be marked accordingly

How to reproduce

  1. Create a dag using the airflow EventsTimetable
  2. Ensure a number of dag runs have been populated
  3. Mark a task success or fail
  4. Observe that the execution date is not respected

Operating System

Ubuntu 22.04 LTS

Versions of Apache Airflow Providers

$ pip freeze | grep apache-airflow-providers
apache-airflow-providers-common-sql==1.3.4
apache-airflow-providers-ftp==3.2.0
apache-airflow-providers-http==4.2.0
apache-airflow-providers-imap==3.1.0
apache-airflow-providers-sqlite==3.3.1

Deployment

Other Docker-based deployment

Deployment details

apache airflow 2.3.3 image is being used

Anything else?

Problem occurs every time, even from the brow task instances screen, or marking an entire dag success/fail

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions