p5.js-web-editor icon indicating copy to clipboard operation
p5.js-web-editor copied to clipboard

Assets Not Removed from AWS S3 on Sketch Deletion

Open raclim opened this issue 1 month ago • 0 comments

p5.js version

No response

What is your operating system?

None

Web browser and version

No response

Actual Behavior

Reported by email:

A few days ago, a user reaching out to delete their account noticed that despite deleting all of the sketches and assets from their account, the asset storage bar still indicated used storage space (pictured in partial screenshot below).

Screenshot of empty Asset list but 57% storage used.

After taking a look on AWS S3, it seems like the user still had assets associated with their account, but had no sketches on MongoDB.

Expected Behavior

When a sketch is deleted, the storage bar in the Assets tab should update accordingly.

Steps to reproduce

I wasn't able to reproduce it consistently yet—thoughts on this would be helpful!

I was able to encounter this issue once through the following steps:

  1. Creating a new sketch.
  2. Uploading an asset to the sketch, then saving the sketch.
  3. Going to 'My Sketches' and confirming that the sketch is saved in the 'Sketches' tab and that the asset exists in the 'Assets' tab.
  4. Deleting the sketch through the dropdown icon in the 'Sketches' tab.
  5. Going back to the Assets tab, which did not reflect a change in the storage size amount.

raclim avatar Dec 15 '25 02:12 raclim