Cleanup: Automate TTS/STT folder deletion

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

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
45/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
aws, python
Lĩnh vực
backend, cloud

Hướng nghiên cứu

Bắt đầu bằng cách xác định các đường dẫn hiện có cho việc dọn dẹp S3 và cron hoặc migration của DB, sau đó kiểm tra cách đặt tên thư mục voice-note TTS/STT và việc sử dụng bộ nhớ lưu trữ evaluation. Xác định các thư mục đủ điều kiện, xác minh rằng evals sẽ không sử dụng lại chúng, và tách riêng việc xóa khỏi việc dọn dẹp DB; các tiêu chí nghiệm thu cho phép xóa đệ quy thông qua console.

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

Mô tả

Is your feature request related to a problem?
S3 cleanup is currently separate from DB cleanup. TTS/STT folders require manual deletion as only a few projects generate real traffic, leading to potential clutter.

Describe the solution you'd like

  • Identify TTS/STT voice-note storage folders eligible for deletion.
  • Delete folders recursively (manual console deletion is acceptable).
  • Ensure this process is separate from the DB cron/migration path.
  • Verify that evaluation processes do not reuse the same folder path prior to deletion.
Original issue

Context

S3 cleanup stays separate from DB cleanup. TTS/STT folders can be deleted recursively, possibly manually via console since only ~10–12 projects have real traffic.

Acceptance criteria

  • Identify TTS/STT voice-note storage folders eligible for deletion.
  • Delete recursively (manual console deletion acceptable given low project count).
  • Keep this work out of the DB cron/migration path.
  • Confirm evals does not reuse the same folder path before deletion.
Ngôn ngữ chính
Python
Star
18
Fork
10
Merge trung bình
2 ngày 20 giờ
Pull request đã merge (30 ngày)
14

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

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

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 ProjectTech4DevAI/kaapi-backend

Tất cả issue của ProjectTech4DevAI/kaapi-backend

Issue tương tự

Thêm issue về Python

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.