fix(SUP-53128): do not restore entry if there is no file sync available - #14113
Conversation
|
@github-copilot suggest |
🤖 AI PR Review🚦 Verdict: 🟢 SAFESurgical Track B fix that correctly blocks entry/asset restoration when no file sync could actually be restored, matching the ticket's reported root cause; only minor nits found. 📌 Context Summary & Code ArchaeologyBug: Fix: Archaeology: This is the third iterative hardening of this exact restore path:
Confirmed via repo-wide search that 📋 Actionable Feedback
|
|
@github-copilot suggest |
|
@github-copilot suggest |
issue:
when do restore to entry, but there are no filesync that can be restored to ready state, the code change the file sync to status error, but still change the entry status to ready and then the entry cannot be played
solution:
add counter if file sync status was changed to ready, only then continue with the entry restoration
SUP-53128