Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Give the GST-2579 test repository its own Git identity, as the sibling durability tests do, so gbrain's commits land on a runner with none (GST-2579)

garrytan8c227d456827
diff --git a/test/db-wins-unimported-gst2579.test.ts b/test/db-wins-unimported-gst2579.test.ts
index 773b7c5f0d..fc48b0e807 100644
--- a/test/db-wins-unimported-gst2579.test.ts
+++ b/test/db-wins-unimported-gst2579.test.ts
@@ -49,6 +49,7 @@ const WRITER_LINE = 'A line only gbrain\'s own writer committed.';
const WRITER = `---\ntype: concept\ntitle: A\n---\n\nThe first body.\n\n${WRITER_LINE}\n`;
const setup = ({ root }: { root: string }) => {
mkdirSync(join(root, 'notes'), { recursive: true }); git(root, 'init', '-q');
+ git(root, 'config', 'user.name', 'Example'); git(root, 'config', 'user.email', '[email protected]'); git(root, 'config', 'commit.gpgsign', 'false');
writeFileSync(join(root, 'notes/a.md'), FIRST); git(root, 'add', '-A'); git(root, 'commit', '-qm', 'first');
};
const backendOpts = (backend: string) => ({ ...(backend === 'postgres' ? { databaseUrl: process.env.DATABASE_URL } : {}), setup });