Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test: classify the #6871 migrate test as global-state in the serial manifest (PGLite engines in the test body, process-wide exit verdict)
garrytanebe42b0b43c1
diff --git a/scripts/serial-files.tsv b/scripts/serial-files.tsvindex f95d4ab28d..25426eba7f 100644--- a/scripts/serial-files.tsv+++ b/scripts/serial-files.tsv@@ -273,7 +273,7 @@ test/migrate-embeddings-hardening.serial.test.ts R1 R1: mutates process.env (GBRtest/migrate-embeddings-op-contract.serial.test.ts R1 R1: mutates process.env (GBRAIN_HOME, GBRAIN_EMBEDDING_MODEL, GBRAIN_EMBEDDING_DIMENSIONS)test/migrate-embeddings-recovery-cli.serial.test.ts global-state global-state: R3: constructs PGLiteEngine outside beforeAll; R4: PGLiteEngine without an afterAll disconnect; process-wide test seams __setEmbedTransportForTeststest/migrate-engine-completeness.serial.test.ts R1 R1: mutates process.env (GBRAIN_HOME, DATABASE_URL, GBRAIN_DATABASE_URL)-test/migrate-engine-image-vectors-6871.serial.test.ts R1 R1: mutates process.env (GBRAIN_HOME, DATABASE_URL, GBRAIN_DATABASE_URL) via withEnv; reads the process-wide CLI exit verdict+test/migrate-engine-image-vectors-6871.serial.test.ts global-state global-state: R3: constructs PGLiteEngine outside beforeAll; R4: PGLiteEngine without an afterAll disconnect; R6: reads the process-wide CLI exit verdict (currentExitCode); withEnv scopes GBRAIN_HOME, DATABASE_URL and GBRAIN_DATABASE_URLtest/migrate-engine-page-copy-failure.serial.test.ts R1 R1: mutates process.env (GBRAIN_HOME, DATABASE_URL, GBRAIN_DATABASE_URL)test/migrate-engine-pagination.serial.test.ts R1 R1: mutates process.env (GBRAIN_HOME, DATABASE_URL, GBRAIN_DATABASE_URL)test/migrate-full-row-projections.serial.test.ts global-state global-state: runMigrateEngine sets the process-wide CLI exit verdict (reset in afterEach) and the run swaps GBRAIN_HOME through withEnv and writes config.json (saveConfig)