Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test: keep reconcile-pgbouncer's blocked remember (tag drift; frontmatter-only drift no longer blocks, #8109); weigh the contact-rows drift arm

garrytan574b998a41a8
diff --git a/scripts/postgres-arm-weights.json b/scripts/postgres-arm-weights.json
index 6832690539..6fb99ec77a 100644
--- a/scripts/postgres-arm-weights.json
+++ b/scripts/postgres-arm-weights.json
@@ -31,6 +31,7 @@
"test/company-brain-policy.test.ts": 19588,
"test/company-brain-runtime.test.ts": 23895,
"test/consolidate-same-instant-6023.test.ts": 17190,
+ "test/contact-rows-drift-8109.test.ts": 13000,
"test/conversation-facts-oversized-sidecar.test.ts": 4085,
"test/cycle/synthesize-concepts-merge.test.ts": 11041,
"test/db-lock-reconnect.test.ts": 4653,
diff --git a/test/e2e/reconcile-pgbouncer.test.ts b/test/e2e/reconcile-pgbouncer.test.ts
index 3d78155db7..196aa7fcf5 100644
--- a/test/e2e/reconcile-pgbouncer.test.ts
+++ b/test/e2e/reconcile-pgbouncer.test.ts
@@ -67,7 +67,8 @@ for (const enabled of [false, true]) {
{ sourceId: source, sourcePath: 'people/example.md', noEmbed: true, remote: false });
const before = (await db.readPageSnapshot(slug, { sourceId: source }))!;
const file = join(root, 'people/example.md');
- writeFileSync(file, serializePageToMarkdown({ ...before.page, frontmatter: { file_field: 'kept' } }, before.tags));
+ // A file-only tag besides the frontmatter fields: frontmatter-only drift no longer blocks remember (#8109); tag drift does, and reconcile unions tags.
+ writeFileSync(file, serializePageToMarkdown({ ...before.page, frontmatter: { file_field: 'kept' } }, [...before.tags, 'pooled-example']));
const binding = await claimWorktree(db, source, root);
const registration = await registerLocalWriter(db, 'cli');
await db.executeRaw('UPDATE persistence_brain SET enabled=$1 WHERE singleton=1', [enabled]);