Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Assets Not Removed from AWS S3 on Sketch Deletion

Đang mở
#3,754 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
aws, javascript, mongodb
Lĩnh vực
backend, cloud, databases

Hướng nghiên cứu

Bắt đầu bằng cách theo dõi luồng xóa bản phác thảo từ tab Sketches và kiểm tra cách các asset của chúng được xóa khỏi AWS S3 và biểu diễn trong MongoDB. Thực hiện lại các bước tạo, tải lên, lưu và xóa được liệt kê, sau đó xác minh rằng giá trị lưu trữ trong tab Assets được cập nhật và không còn asset mồ côi nào.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Bug Needs Steps to Reproduce
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.
Ngôn ngữ chính
JavaScript
Star
1.7k
Fork
1.7k
Merge trung bình
6 ngày
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của processing/p5.js-web-editor

Tất cả issue của processing/p5.js-web-editor

Issue tương tự

Thêm issue về JavaScript

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.