Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(e2e): map the stale-atoms repair and its sync-race journey Postgres lanes

garrytan708effa95440
diff --git a/scripts/e2e-test-map.ts b/scripts/e2e-test-map.ts
index 26527e0240..7abc977a00 100644
--- a/scripts/e2e-test-map.ts
+++ b/scripts/e2e-test-map.ts
@@ -246,6 +246,8 @@ export const E2E_TEST_MAP: Record<string, string[]> = {
"test/e2e/managed-extract-atoms.test.ts",
"test/e2e/managed-atom-regressions.test.ts",
"test/e2e/managed-atom-compaction.test.ts",
+ "test/e2e/repair-stale-atoms-postgres.test.ts",
+ "test/e2e/journey-atoms-sync-race-postgres.test.ts",
"test/e2e/managed-maintenance.test.ts",
"test/e2e/managed-writers-w3.test.ts",
"test/e2e/managed-facts-writers.test.ts",
@@ -526,6 +528,8 @@ export const E2E_TEST_MAP: Record<string, string[]> = {
"src/core/connectors/connector-text.ts": ["test/e2e/connector-holds.test.ts"],
"src/commands/sources-retry-held.ts": ["test/e2e/connector-holds.test.ts"],
"src/core/repair/connector-fences.ts": ["test/e2e/connector-holds.test.ts"],
+ // Fix wave 5 (#5770): stale-atoms repair and its #5777 cross-lane journey.
+ "src/core/repair/stale-atoms.ts": ["test/e2e/repair-stale-atoms-postgres.test.ts", "test/e2e/journey-atoms-sync-race-postgres.test.ts", "test/e2e/managed-extract-atoms.test.ts"],
// Fix wave 3 lane A: connector identity, account pin, no-op kernel, pending set and migration 176.
"src/core/take-proposals.ts": ["test/e2e/takes-propose-accept-managed.test.ts"],
"src/core/persistence/connector-sync.ts": ["test/e2e/connector-wave3.test.ts", "test/e2e/connector-holds.test.ts"],