ACE-Step-Studio icon indicating copy to clipboard operation
ACE-Step-Studio copied to clipboard

Post-release cleanup: temp dirs, mapSong dedup, video render, macOS/Linux

Open timoncool opened this issue 7 months ago • 0 comments

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.

timoncool avatar Apr 14 '26 05:04 timoncool