Skip to content

Multi-select (checkbox) history item delete does not stop running jobs. #22531

@natefoo

Description

@natefoo

Describe the bug
Normally, deleting a job's output history items causes the job to be deleted. If instead you use the "Select Items" multiselect to select a bunch of datasets by checkbox and then "With N Selected..." -> "Delete", the HDAs are marked deleted but the jobs are not. You can even undelete the HDAs and they'll complete normally when the job finishes.

Galaxy Version and/or server at which you observed the bug
Galaxy Version: 26.0
Commit: a4a3818

Browser and Operating System
Operating System: Linux
Browser: Firefox

To Reproduce
Steps to reproduce the behavior:

  1. Start a long running job
  2. Click the checkbox at the top of the history panel
  3. Select all of the job's outputs
  4. Click the action menu for the selected datasets
  5. Click "Delete"
  6. Click the trash can to show deleted datasets
  7. Observe that the job is still running on the backend
  8. Undelete the datasets
  9. Delete them individually using the trash can icon on each dataset
  10. Observe that the job is killed upon the deletion of the final dataset.

Expected behavior
Jobs are stopped when datasets are deleted.

Screenshots
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Triage/Discuss

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions