Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test(train-r): RLS scope inventory counts searchKeyword's handle read (#7497) on the combined tree
garrytan32f1748a8165
diff --git a/test/fixtures/goldens/rls-scope-inventory.json b/test/fixtures/goldens/rls-scope-inventory.jsonindex 0c066fc697..b2301f974b 100644--- a/test/fixtures/goldens/rls-scope-inventory.json+++ b/test/fixtures/goldens/rls-scope-inventory.json@@ -3602,7 +3602,7 @@}},"static": {- "callSites": 35,+ "callSites": 36,"directMethods": {"_searchKeywordCJK": 1,"countChunklessPagesWithContent": 1,@@ -3634,7 +3634,7 @@"readPageSnapshot": 1,"readPageSnapshotsBatch": 1,"runVectorAttempt": 1,- "searchKeyword": 1,+ "searchKeyword": 2,"searchKeywordChunks": 1,"searchKeywordPages": 1,"searchTitles": 1,diff --git a/test/postgres-rls-scope-inventory.test.ts b/test/postgres-rls-scope-inventory.test.tsindex 3ca66f5687..b9937e5f15 100644--- a/test/postgres-rls-scope-inventory.test.ts+++ b/test/postgres-rls-scope-inventory.test.ts@@ -180,7 +180,7 @@ describe('EO4 RLS scope inventory (master)', () => {const scoping = astScoping(capture.ast);const callSites = Object.values(capture.ast).reduce((a, m) => a + m.directCallSites, 0);- expect(callSites).toBe(35);+ expect(callSites).toBe(36);expect(Object.values(capture.ast).filter((m) => m.directCallSites > 0).length).toBe(35);const byMethod = new Map<string, RuntimeObservation[]>();