ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend

Cleanup: Automate TTS/STT folder deletion

オープン
#1,182 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、既存のS3クリーンアップおよびDBのcronまたはマイグレーションのパスを特定し、次にTTS/STTボイスノートのフォルダー命名と評価ストレージの使用状況を調査します。対象となるフォルダーを特定し、evalsがそれらを再利用しないことを確認したうえで、削除をDBクリーンアップから分離してください。受け入れ基準では、コンソール経由の再帰的な削除が許可されています。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, python
領域
backend, cloud
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
説明が足りない
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。