From dc323329d606cffd9c304da947ac66597ee30542 Mon Sep 17 00:00:00 2001 From: tv5171621-source Date: Mon, 15 Jun 2026 14:47:35 +0300 Subject: [PATCH] Ignore graph artifacts in release smoke --- scripts/mnemazine-release-check.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/mnemazine-release-check.mjs b/scripts/mnemazine-release-check.mjs index 11a112a..98f4149 100644 --- a/scripts/mnemazine-release-check.mjs +++ b/scripts/mnemazine-release-check.mjs @@ -81,7 +81,9 @@ async function demoSmoke() { const inboxFiles = await fs.readdir(inbox) if (inboxFiles.length !== 0) throw new Error(`demo smoke failed: inbox not empty (${inboxFiles.join(', ')})`) - const notes = (await listFiles(vault)).filter(file => file.endsWith('.md')) + const notes = (await listFiles(vault)) + .filter(file => file.endsWith('.md')) + .filter(file => !file.split(path.sep).includes('graphify-out')) if (notes.length !== 1) throw new Error(`demo smoke failed: expected 1 note, got ${notes.length}`) const note = await fs.readFile(notes[0], 'utf8') const forbidden = [/intake-draft/i, /draft-local/i, /\btemp_image/i, /\bIMG_\d+/, /\.(WEBP|PNG|JPE?G|HEIC|TIFF)\b/]