fix: count pre-existing preview files as cached in backfill
Pre-scan storage filenames and check each task's predicted cache file before generating. Existing previews are now counted as "already cached" and skipped, instead of being counted as remaining work and regenerated. Storage-scan and plan-computation failures fall back to generation.
This commit is contained in:
parent
5a368c4a8c
commit
18db52a47c
6 changed files with 179 additions and 13 deletions
|
|
@ -17,6 +17,7 @@ export interface WarmResultItem {
|
|||
format: string | null;
|
||||
ok: boolean;
|
||||
ms: number;
|
||||
cached?: boolean;
|
||||
error?: string;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue