AOSSIE-Org / AOSSIE-Org/PictoPy

BUG : Infinite Stream of Folder Status Requests When AI Tagging Is Enabled

Đang mở
#612 8 bình luận 0 reaction 1 người được giao Được @Hemil36 nhận Xem trên GitHub
backend bug frontend
Ngôn ngữ chính
Python
Star
283
Fork
679
Merge trung bình
7 ngày 2 giờ
Pull request đã merge (30 ngày)
3

Mô tả

### Is there an existing issue for this?

- [x] I have searched the existing issues

### What happened?

**Description** :

When a folder is added and AI Tagging is turned on, the frontend starts sending folder status requests to the backend continuously and indefinitely while the user stays on the Settings → Folder page.
This causes a nonstop stream of network calls and backend log spam.

**Steps to Reproduce**

- Navigate to the Settings page.

- Add a new folder.

- Enable AI Tagging for that folder.

- Stay on the same Settings → Folder page.

- Observe backend logs — you’ll see folder status requests being sent indefinitely without stopping.

**Expected Behavior**

The frontend should:

- Make a single folder status request, or

- Poll at controlled intervals until the tagging process completes, then stop automatically.

### Record

- [x] I agree to follow this project's Code of Conduct

### Checklist before Submitting

- [ ] Have you updated docs for it?
- [ ] Have you added unit tests?
- [ ] Have you made sure unit tests pass?
- [x] Have you made sure code formatting is correct?
- [ ] Do Your changes passes all tests?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.