From 6b91fde9721dd3e310459b22c3989a2a7748f2ce Mon Sep 17 00:00:00 2001 From: "D. Rimron-Soutter" Date: Tue, 17 Feb 2026 16:17:43 +0000 Subject: [PATCH] fix: silently skip /denied/ and other non-hosted download prefixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are valid entries we've been asked not to host — no need to log warnings for them. claude-opus-4-6@MacFiver --- bin/update-software-hashes.mjs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/update-software-hashes.mjs b/bin/update-software-hashes.mjs index e262240..8c92128 100755 --- a/bin/update-software-hashes.mjs +++ b/bin/update-software-hashes.mjs @@ -336,10 +336,13 @@ async function main() { try { const localZip = toLocalPath(fileLink); if (!localZip) { - logWarn(` [${id}] Unsupported file_link prefix: ${fileLink}`); - errors++; + // /denied/ and other non-hosted prefixes — skip silently + skipped++; processed++; currentState.lastProcessedId = id; + if (processed % 500 === 0) { + await checkpoint(); + } continue; }