ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend
Cleanup: Automate TTS/STT folder deletion
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 18
- フォーク
- 10
- 平均マージ
- 2日 20時間
- マージ済み PR(30日)
- 14
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、既存のS3クリーンアップおよびDBのcronまたはマイグレーションのパスを特定し、次にTTS/STTボイスノートのフォルダー命名と評価ストレージの使用状況を調査します。対象となるフォルダーを特定し、evalsがそれらを再利用しないことを確認したうえで、削除をDBクリーンアップから分離してください。受け入れ基準では、コンソール経由の再帰的な削除が許可されています。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, python
- 領域
- backend, cloud
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 45/100