Deluge lost labels, sonarr spams different versions of the same episode

Sonarr version (exact version): 4.0.16.2944
Mono version (if Sonarr is not running on Windows): .NET Yes (6.0.13)
OS: Alpine (docker)
Debug logs: Only thing in logs is that it couldn’t add the torrent because it already exists over and over, because it just kept on cycling through.
Description of issue: There was a deluge update with a breaking change on alpine, the labels plugin was disabled and prevented from installing. This caused an issue on sonarr side where the downloader was configured but not really labelling.

The problem is that sonarr kept adding torrents to download, cycling through the available torrents. Between 3am and 9am it downloaded nine different versions of an episode, but since it didn’t have a label, it was not recognized by sonarr.

Isn’t it possible to flag the torrent as downloading even if the label feature is disabled? Mark it as downloading if it the “add to downloader” was successful, even if it fails to actually find it afterwards?

The problem is Sonarr likely got an unsuccessful response when adding the torrent/setting the label, which would mean Sonarr was unaware that it was grabbed successfully, this would result in multiple grabs for the same episode in the same RSS sync and nothing added to history (so Sonarr doesn’t actually know it was grabbed).

Even if it thinks it was added successfully it’d think the download was deleted because it didn’t come back from the Deluge when it asks for torrents in the specified category. There isn’t a way to determine this is because Deluge’s label plugin is broken and it was removed, it’ll just treat it as removed.

TLDR, it’s not possible.