HumanSignal / HumanSignal/label-studio

Invalid task with a non-existing image [likely the containing folder in Azure] is created when syncing azure cloud storage

Open
#6,313 3 comments 0 reactions 0 assignees View on GitHub
community:bug community:reviewed
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**
When I do a cloud-sync with an azure blob storage there is always an empty task created even if there is no image in the cloud storage available.

It is not created if I set a File Filter Regex.

**To Reproduce**
Steps to reproduce the behavior:
1. Setup a project with a Microsoft Azure Source storage using a prefix (e.g. labelstudio/input) and Treat every bucket object as a source file enabled.
2. Upload one image to the blob
3. Press sync in labelstudio
4. Open the tasks of the project
5. There are two tasks

**Expected behavior**
Only one task should show up

**Screenshots**
Blob Storage:
![image](https://github.com/user-attachments/assets/1d3fd1f8-a873-4bf5-9403-ac5e80f8d197)

Tasks:
![image](https://github.com/user-attachments/assets/302dc3f0-ffbf-4112-bd70-54af93f27059)

**Environment (please complete the following information):**
- Linux (hosted on Azure as webapp)
- Label Studio Version 1.13.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.