Some checks failed
build / build (push) Has been cancelled
Reviewer-flagged: v0.4.20 fixed the reindex branch's post-put race, but the main download completion path still did READY.put without a follow-up epoch check. /videoCache clear landing between READY.put and the chat notification could leave a resurrected READY entry pointing at a deleted file, plus a stale "완료" message. Extracted publishIfNotCancelled(url, path, startEpoch) helper that does the full pre-check → put → post-check → rollback dance, and routed both publish sites (reindex branch + download-complete branch) through it. Centralizing this is the structural fix: future publish sites can't forget the post-check.
457 B
457 B