From 824df5e42e129e1f2feebf5b9048c82b90d41ba4 Mon Sep 17 00:00:00 2001 From: "extro.rook.host" Date: Mon, 27 Jul 2026 17:59:12 -0600 Subject: [PATCH] test(explore): date-stamp the shared explore D1 helper Rename test/explore-d1.js to test/explore-d1-260727.js so every artifact from the 2026-07-27 canonical-beacon pass carries the date stamp, and point its four importers at the new path. --- test/explore-canonical-beacon-api-260727.test.js | 2 +- test/explore-canonical-beacon-ingest-260727.test.js | 2 +- test/explore-canonical-beacon-migration-260727.test.js | 2 +- test/explore-cursor.test.js | 2 +- test/{explore-d1.js => explore-d1-260727.js} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename test/{explore-d1.js => explore-d1-260727.js} (100%) diff --git a/test/explore-canonical-beacon-api-260727.test.js b/test/explore-canonical-beacon-api-260727.test.js index 83b8a96..4496bea 100644 --- a/test/explore-canonical-beacon-api-260727.test.js +++ b/test/explore-canonical-beacon-api-260727.test.js @@ -4,7 +4,7 @@ import { describe, expect, test } from 'bun:test'; import { handleRequest } from '../explore/src/api.js'; import { processCapEvent } from '../explore/src/jetstream.js'; -import { createSqliteEnv } from './explore-d1.js'; +import { createSqliteEnv } from './explore-d1-260727.js'; const CANONICAL = 'vit:github.com/solpbc/thermals'; const HTTPS_ALIAS = 'https://github.com/solpbc/thermals'; diff --git a/test/explore-canonical-beacon-ingest-260727.test.js b/test/explore-canonical-beacon-ingest-260727.test.js index 0465cb0..f63cda6 100644 --- a/test/explore-canonical-beacon-ingest-260727.test.js +++ b/test/explore-canonical-beacon-ingest-260727.test.js @@ -3,7 +3,7 @@ import { describe, expect, spyOn, test } from 'bun:test'; import { processCapEvent, processVouchEvent } from '../explore/src/jetstream.js'; -import { createSqliteEnv } from './explore-d1.js'; +import { createSqliteEnv } from './explore-d1-260727.js'; const PROJECT_A = 'vit:github.com/solpbc/thermals'; const PROJECT_A_ALIAS = 'https://github.com/solpbc/thermals'; diff --git a/test/explore-canonical-beacon-migration-260727.test.js b/test/explore-canonical-beacon-migration-260727.test.js index ce77112..1e1c53a 100644 --- a/test/explore-canonical-beacon-migration-260727.test.js +++ b/test/explore-canonical-beacon-migration-260727.test.js @@ -4,7 +4,7 @@ import { describe, expect, test } from 'bun:test'; import { readFileSync } from 'node:fs'; import { join } from 'node:path'; -import { createSqliteEnv, splitSqlStatements } from './explore-d1.js'; +import { createSqliteEnv, splitSqlStatements } from './explore-d1-260727.js'; const MIGRATION_PATH = join( import.meta.dir, diff --git a/test/explore-cursor.test.js b/test/explore-cursor.test.js index 704a476..72c4b83 100644 --- a/test/explore-cursor.test.js +++ b/test/explore-cursor.test.js @@ -4,7 +4,7 @@ import { describe, expect, test } from 'bun:test'; import { runScheduled } from '../explore/src/index.js'; import { processCapEvent, processSkillEvent, processVouchEvent } from '../explore/src/jetstream.js'; -import { createSqliteEnv } from './explore-d1.js'; +import { createSqliteEnv } from './explore-d1-260727.js'; function createCursorEnv({ stored = '', diff --git a/test/explore-d1.js b/test/explore-d1-260727.js similarity index 100% rename from test/explore-d1.js rename to test/explore-d1-260727.js -- 2.51.2