ACE-Step-Studio
ACE-Step-Studio copied to clipboard
Post-release cleanup: temp dirs, mapSong dedup, video render, macOS/Linux
Post-release cleanup tasks from 2026-04-14 session
1. Temp directory leak
app/server/src/services/acestep.ts — prepareAudioFile() creates temp/gradio/ref-{timestamp}/ for every generation. Never cleaned up.
2. Deduplicate mapSong (3 copies in App.tsx)
3 near-identical song mapping functions. Refactor into single mapSongFromApi().
3. Video render error handling
VideoGeneratorModal.tsx — no startRes.ok check, frame upload responses unchecked.
4. FFmpeg progress stale closure
exportStage captured from closure, never updates. Use ref.
5. macOS / Linux support
Shell scripts, platform-agnostic paths.