PictoPy icon indicating copy to clipboard operation
PictoPy copied to clipboard

BUG:Indexing works in series in the application while folder Uploads.

Open Takitxt opened this issue 4 months ago • 3 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

What happened?

Problem:

Right now, whenever we upload a folder, the Indexing process works in series i.e:

  • If you upload a folder and quickly enable AI TAGGING, it goes through a indexing process first, then it starts the AI TAGGING but, if you upload FOLDER -2 instantly after FOLDER - 1 and the AI TAGGING is still in process for FOLDER - 1, FOLDER -2 ends up waiting in queue/ or line until FOLDER-1 finishes.

- This is not the copy or duplicate of ISSUE - 1373.

Video Proof:

https://github.com/user-attachments/assets/a2f14802-294a-4e09-b56e-64b1cfb06ee3

Steps To Reproduce:

  1. Open the application.
  2. Upload Folder 1.
  3. As soon as the upload starts, enable AI Tagging for Folder 1.
  4. Before the indexing/AI Tagging for Folder 1 completes, upload Folder 2.
  5. Observe that Folder 2 does not begin indexing immediately.
  6. Folder 2 remains queued until both the indexing and AI Tagging for Folder 1 have finished.

Current Behavior:

  • Folder uploads are processed sequentially.
  • Folder 2 waits for Folder 1's entire indexing and AI Tagging pipeline to complete before its own indexing starts.

Expected Behaviour:

  • The indexing should be done i parallel instead of series. (Yes it will take more CPU consumption if you are uploading multiple folders at the same time, but indexing is not a that big of a process to begin with, i think it's gonna be fine for low end machines also.)

Record

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

Takitxt avatar Jul 29 '26 18:07 Takitxt

👋 Thanks for opening this issue! The maintainers will review it shortly. Till then, do not open any PR. This is a strict rule we like to follow around here :)

github-actions[bot] avatar Jul 29 '26 18:07 github-actions[bot]

@rohan-pandeyy can i please work on this issue?

Takitxt avatar Jul 29 '26 18:07 Takitxt

⚠️ Potential Duplicate Issue (Semantic Match)

This issue appears semantically similar to the following issues in AOSSIE-Org/PictoPy:

  1. BUG: Temporary empty folder state during AI Tagging just after uploading a Folder. (#1373, closed) https://github.com/AOSSIE-Org/PictoPy/issues/1373 Similarity: 84%

Please review before proceeding.

github-actions[bot] avatar Jul 29 '26 18:07 github-actions[bot]