chore(test-isolation): broaden runtime ignore list for live fusion app paths
Live fusion instances running on a shared HOME write to tasks/, messages/, memory-insights.md, test-cache.json, HEARTBEAT.md, kb.db.backup-*, and fusion.db.pre-* snapshots; none were in the runtime ignore list, so the script flagged them as test-driven mutations and failed merge build verification. Recursion in collectFusionSignature only filters via top-level matches, so adding these top-level patterns short-circuits descent into live-app dirs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
10
.changeset/test-isolation-live-app-noise.md
Normal file
10
.changeset/test-isolation-live-app-noise.md
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
"@runfusion/fusion": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Extend `scripts/check-test-isolation.mjs` runtime ignore list to cover live
|
||||||
|
fusion app paths that previously tripped the merge-time check when a fusion
|
||||||
|
instance was running on the same HOME during tests: `tasks/`, `messages/`,
|
||||||
|
`memory-insights.md`, `test-cache.json`, `HEARTBEAT.md`, `kb.db.backup-*`,
|
||||||
|
and `fusion.db.pre-*` snapshots. Tests still must not write to these paths;
|
||||||
|
the filter only suppresses noise from a concurrently-running app.
|
||||||
@@ -67,13 +67,18 @@ const RUNTIME_IGNORE_PATTERNS = [
|
|||||||
/^cache(?:[/\\]|$)/,
|
/^cache(?:[/\\]|$)/,
|
||||||
/^config\.json$/,
|
/^config\.json$/,
|
||||||
/^fusion-central\.db(?:-wal|-shm|-journal)?$/,
|
/^fusion-central\.db(?:-wal|-shm|-journal)?$/,
|
||||||
/^fusion\.db(?:-wal|-shm|-journal)?(?:\.backup-[\w-]+)?$/,
|
/^fusion\.db(?:-wal|-shm|-journal)?(?:\.backup-[\w-]+)?(?:\.pre-[\w-]+)?$/,
|
||||||
/^archive\.db(?:-wal|-shm|-journal)?(?:\.backup-[\w-]+)?$/,
|
/^archive\.db(?:-wal|-shm|-journal)?(?:\.backup-[\w-]+)?$/,
|
||||||
|
/^kb\.db(?:-wal|-shm|-journal)?(?:\.backup-[\w-]+)?$/,
|
||||||
/^activity-log\.jsonl$/,
|
/^activity-log\.jsonl$/,
|
||||||
/^settings\.json$/,
|
/^settings\.json$/,
|
||||||
/^logs(?:[/\\]|$)/,
|
/^logs(?:[/\\]|$)/,
|
||||||
/^tasks(?:[/\\]|$)/,
|
/^tasks(?:[/\\]|$)/,
|
||||||
/^memory(?:[/\\]|$)/,
|
/^memory(?:[/\\]|$)/,
|
||||||
|
/^messages(?:[/\\]|$)/,
|
||||||
|
/^memory-insights\.md$/,
|
||||||
|
/^test-cache\.json$/,
|
||||||
|
/^HEARTBEAT\.md$/,
|
||||||
/^MEMORY\.md$/,
|
/^MEMORY\.md$/,
|
||||||
/^DREAMS\.md$/,
|
/^DREAMS\.md$/,
|
||||||
/^\d{4}-\d{2}-\d{2}\.md$/,
|
/^\d{4}-\d{2}-\d{2}\.md$/,
|
||||||
|
|||||||
Reference in New Issue
Block a user