Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test(goldens): regenerate export-surface (runtime + .d.ts: markdown.ts explicitMarkdownTitle) and engine-sql SQL-text pages.json (purgeDeletedPages identity-downgrade purge hold) for #6729
garrytan392d313528c6
diff --git a/test/fixtures/goldens/exports/runtime.json b/test/fixtures/goldens/exports/runtime.jsonindex d331b5c7a9..3e711d5845 100644--- a/test/fixtures/goldens/exports/runtime.json+++ b/test/fixtures/goldens/exports/runtime.json@@ -741,6 +741,7 @@"comparableFrontmatter","contentSizeHold","embeddedTitleLineValue",+ "explicitMarkdownTitle","findTimelineSplitIndex","frontmatterBodyOffset","frontmatterHoldMessageWithoutKeys",diff --git a/test/fixtures/goldens/exports/types.json b/test/fixtures/goldens/exports/types.jsonindex 837d29a390..f14598ed87 100644--- a/test/fixtures/goldens/exports/types.json+++ b/test/fixtures/goldens/exports/types.json@@ -5595,6 +5595,13 @@"(line: string) => string | null"]},+ {+ "kind": "function",+ "name": "explicitMarkdownTitle",+ "signature": [+ "(content: string) => string"+ ]+ },{"kind": "function","name": "findTimelineSplitIndex",diff --git a/test/fixtures/goldens/sql-text/pages.json b/test/fixtures/goldens/sql-text/pages.jsonindex bb63918fff..316b491069 100644--- a/test/fixtures/goldens/sql-text/pages.json+++ b/test/fixtures/goldens/sql-text/pages.json@@ -777,8 +777,8 @@"params": ["number"],- "sql": "DELETE FROM pages WHERE deleted_at IS NOT NULL AND deleted_at < now() - ($1 || ' hours')::interval RETURNING slug",- "textSha256": "f92fe640850731cd347ca2ea99eef26d1adb3f7cd9b5a16584159313ce298e07"+ "sql": "DELETE FROM pages WHERE deleted_at IS NOT NULL AND deleted_at < now() - ($1 || ' hours')::interval -- #6729: the old page of an open rename-identity downgrade waits for its disposition (identityDowngradePurgeHold). AND NOT EXISTS (SELECT 1 FROM op_checkpoints dg WHERE dg.op = 'sync-identity-downgrade' AND dg.fingerprint = pages.id::text AND dg.completed_keys->0->>'disposition' IS NULL AND pages.deleted_at = (dg.completed_keys->0->>'old_deleted_at')::timestamptz) RETURNING slug",+ "textSha256": "8fc15609300a1a13325d70453a322bc25eedbd57d6c0029beefca7d0c2bcfeb4"}],"dryRun": [@@ -787,8 +787,8 @@"params": ["number"],- "sql": "SELECT slug, deleted_at FROM pages WHERE deleted_at IS NOT NULL AND deleted_at < now() - ($1 || ' hours')::interval ORDER BY deleted_at ASC, slug ASC",- "textSha256": "3f3ea375a23f949c89c760499ed7542180bbe9bb1e4e146359337e8693079d09"+ "sql": "SELECT slug, deleted_at FROM pages WHERE deleted_at IS NOT NULL AND deleted_at < now() - ($1 || ' hours')::interval AND NOT EXISTS (SELECT 1 FROM op_checkpoints dg WHERE dg.op = 'sync-identity-downgrade' AND dg.fingerprint = pages.id::text AND dg.completed_keys->0->>'disposition' IS NULL AND pages.deleted_at = (dg.completed_keys->0->>'old_deleted_at')::timestamptz) ORDER BY deleted_at ASC, slug ASC",+ "textSha256": "6d9afbd5ee5480399ddcd577977b106ccf5005eee1be7b84044daebff995d3e2"}]},