[go: up one dir, main page]

Skip to content

Removing labels from a large MR is very slow

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem

Reported by @cwoolley-gitlab:

When deleting labels from an MR, the Labels widget blocks for several seconds with a spinner. The UI is locked from deleting additional labels until the spinner completes. If there are several labels to delete, this will take a very long time.

Also, the selected labels are not shown at the top of the Edit dropdown list (I think they used to be?) so that’s not an option to bulk delete them either.

I got into this situation (lots of labels to delete) because the MR was temporarily pointed at a wrong source branch, which brought in a bunch of unrelated commits, and then the bots went crazy applying labels based on those commits.

Example: !182392 (merged)

Recording

Screen_Recording_2025-03-06_at_12.48.10_PM

Suggested fixes

  • Fix the UI to allow bulk deletes
  • Allow multiple queued deletes
  • Fix the performance so that a deletion does not take several seconds.
    • Could this be caused by webhook processing, or another label-unrelated action that is impacted by the size of the MR?
Edited by 🤖 GitLab Bot 🤖