commit f851f8f4bbdf25e404470ace01ad6e2d4b20f7c9
parent 6665a6bab206685eb49eb1b2ae3f204f59d7a0f0
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sat, 26 Sep 2026 17:06:32 -0400
common: say at PREFETCH_OWN_FILES why metadata.history.json is not on the allow-list (comment only)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/common/ytdlp/downloadOneManaged.ts b/common/ytdlp/downloadOneManaged.ts
@@ -404,6 +404,9 @@ const PREFETCH_OWN_FILES: ReadonlySet<string> = new Set([
// one a previous rejection wrote before this rule existed. It records what
// happened, never what is on disk, so it is ours to drop with the rest.
"download-outcome.json",
+ // NOT metadata.history.json, deliberately: a history means an earlier
+ // metadata.info.json was here before this pass, and it is the one record of
+ // what the source used to say (lib/metadataHistory-server.ts).
]);
async function discardPrefetchDir(