Skip to content

Clear Task Instances Model often comes up with TI in wrong state #55828

@ashb

Description

@ashb

Body

Repro steps.

  • Navigate to a TI page.
  • Hit shift-C to clear the current task
  • Accept the modal.
  • Wait a few seconds, enough time for the new try to appear in the pane below.
  • Now hit shift-C again.

At this point the state the modal shows was showing "No Status", even though the network request made by opening the dialog to http://localhost:28080/api/v2/dags/test_dag/clearTaskInstances contains the right state of "state": "queued"

I.e. quickly clear a task, so it looks like:
Image

Then hit shift-c and we see

Image

Interestingly enough this appears to be time based, as when I went back to this to document the steps a few minutes after initially clearing it the state in the modal was correct

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

Labels

area:APIAirflow's REST/HTTP APIarea:UIRelated to UI/UX. For Frontend Developers.area:coregood first issuekind:bugThis is a clearly a bugpriority:mediumBug that should be fixed before next release but would not block a release

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions