diff --git a/gitnexus/test/unit/incremental-parse-cache.test.ts b/gitnexus/test/unit/incremental-parse-cache.test.ts index e22a301e4..b0b4dbd9e 100644 --- a/gitnexus/test/unit/incremental-parse-cache.test.ts +++ b/gitnexus/test/unit/incremental-parse-cache.test.ts @@ -106,7 +106,10 @@ describe('PARSE_CACHE_VERSION', () => { // conditional-directive parse-semantics change (#2771), 38 -> 39 for // receiver-chain wire format v2: every persisted chain string changed prefix // and a v2 decoder refuses v1 by design, so a stale cache replays chains this - // build silently discards. + // build silently discards. 39 -> 40 for inference-typed field captures in six + // languages (#2807) — all parse-time emission, so a warm cache replays the + // pre-fix capture set for byte-unchanged files and the new receiver edges + // never appear. // // This pin has now earned its keep EIGHT times, and twice it caught an EXACT // clash rather than a near-miss: main took 37 for #2416 while this branch @@ -115,8 +118,8 @@ describe('PARSE_CACHE_VERSION', () => { // second clash was caught — after review, while the branch sat waiting to // merge — which is precisely the window in which `main` allocates. Re-check // against origin/main immediately before merge, not at review time. - it('pins SCHEMA_BUMP to 39 so concurrent bumps cannot silently collide (#2766)', () => { - expect(Number(PARSE_CACHE_VERSION.split('+', 1)[0])).toBe(39); + it('pins SCHEMA_BUMP to 40 so concurrent bumps cannot silently collide (#2766)', () => { + expect(Number(PARSE_CACHE_VERSION.split('+', 1)[0])).toBe(40); }); it('embeds the gitnexus package version (so upgrades invalidate the cache)', () => {