Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test: regenerate the dispatch-phase golden (the warm socket dispatch step) and the export-surface goldens (PostgresEngine.connectedDatabaseUrl)

garrytand9e734a5c3ae
diff --git a/test/fixtures/goldens/cli/dispatch-phase.json b/test/fixtures/goldens/cli/dispatch-phase.json
index 94c40b621d..8183a9815c 100644
--- a/test/fixtures/goldens/cli/dispatch-phase.json
+++ b/test/fixtures/goldens/cli/dispatch-phase.json
@@ -2199,6 +2199,16 @@
"terminates": true,
"thinClientCheck": false,
"unconditionalFor": []
+ },
+ {
+ "commands": [],
+ "condition": "['search', 'query', 'get', 'recall'].includes(command) && await (await import('./cli-socket-client.ts')).maybeServeFromCliSocket(command, subArgs)",
+ "connectsEngine": false,
+ "refusesThinClient": false,
+ "routesThinClient": false,
+ "terminates": true,
+ "thinClientCheck": false,
+ "unconditionalFor": []
}
],
"thinClientGuard": {
diff --git a/test/fixtures/goldens/exports/runtime.json b/test/fixtures/goldens/exports/runtime.json
index 6f9cc4aa21..1f362b1661 100644
--- a/test/fixtures/goldens/exports/runtime.json
+++ b/test/fixtures/goldens/exports/runtime.json
@@ -228,6 +228,7 @@
"batchRetry",
"connRetry",
"connect",
+ "connectedDatabaseUrl",
"consolidateFact",
"countChunklessPagesWithContent",
"countKeywordPages",
diff --git a/test/fixtures/goldens/exports/types.json b/test/fixtures/goldens/exports/types.json
index d9daa18890..c59c57894e 100644
--- a/test/fixtures/goldens/exports/types.json
+++ b/test/fixtures/goldens/exports/types.json
@@ -1066,6 +1066,7 @@
"allocateBodyOccurrenceIds: (count: number) => Promise<number[]>",
"batchLoadEmotionalInputs: (slugs?: string[]) => Promise<EmotionalWeightInputRow[]>",
"connect: (config: EngineConfig & { poolSize?: number; parentConnectionManager?: ConnectionManager; }) => Promise<void>",
+ "connectedDatabaseUrl: string | undefined",
"connectionManager: ConnectionManager | null",
"consolidateFact: (id: number, takeId: number) => Promise<void>",
"countChunklessPagesWithContent: (opts?: { sourceId?: string; }) => Promise<number>",