DEV Community

Cover image for Comfy Cloud’s delete function does not actually remove files
Sharad Raj (He/Him)
Sharad Raj (He/Him)

Posted on

Comfy Cloud’s delete function does not actually remove files

🔴 Comfy Cloud’s delete function does not actually remove files from storage. This affects both the "Generated" and "Imported" tabs.
Because of this, I had to create a custom script that properly deletes the files.

You can find it here: https://gist.github.com/sharadcodes/3fd2c636f2b505ff150129647356ce64

Steps to Reproduce:

  1. Generate images or upload files so they appear in Media Assets
  2. Go to Media Assets → switch between Generated and Imported tabs
  3. Select one or more assets and click the Delete button
  4. Refresh the page or restart the workflow
  5. Add a Load Image (from Outputs) node → the deleted images still appear in the list

Top comments (0)