From de08bed0fe7536823932f576c2a60a96e2afb92c Mon Sep 17 00:00:00 2001 From: safishamsi Date: Tue, 13 Oct 2026 11:18:28 +0100 Subject: [PATCH] chore(cache): bump AST schema to 13 for the generics/cross-repo batch Kotlin/Scala/C++/Swift generic & template type-param pruning (#4406, #4407, #4408, #4409), Objective-C NS_ENUM/NS_OPTIONS extraction and callable markers (#4401, #3385), and Go/PHP receiver-typed member-call parking (#3395, #3391) all change AST extraction output, so warm caches must re-extract. Co-Authored-By: Claude Opus 4.8 --- graphify/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphify/cache.py b/graphify/cache.py index a5e4f1378..0295f16d9 100644 --- a/graphify/cache.py +++ b/graphify/cache.py @@ -37,7 +37,7 @@ except Exception: _EXTRACTOR_VERSION = "unknown" # Bump when AST cache-key semantics change independently of the package version. -_AST_CACHE_SCHEMA = 12 # Java inherited-supertype (`receiver_unbound`) and chained/new/cast receiver typing (`java_receiver_chain`, `_java_ret`); C/C++ quoted cross-directory include provenance (`include_kind`); JS external imports anchored to the package, not the path leaf; prior (11): Python property-accessor decorators / `Self`, Swift `Self`, Go generic type params, Python forward type-hint file node, PowerShell dot-source, C# verbatim-interpolated string recovery; (10): C# partial types carry `type_path`; (9): Python property-read raw calls and `_py_property` nodes; (8): Rust `use`-group per-binding edges; (7): Python opaque-base/super(args) markers + nested-class enclosing ids. +_AST_CACHE_SCHEMA = 13 # Kotlin/Scala/C++/Swift generic & template type params no longer mint sourceless stubs; Objective-C NS_ENUM/NS_OPTIONS extraction and `_callable`/`_callable_class` markers; Go and PHP receiver-typed member calls park cross-repo (`go_type_table`/`php_type_table`, receiver fields); prior (12): Java inherited-supertype (`receiver_unbound`) and chained/new/cast receiver typing (`java_receiver_chain`, `_java_ret`); C/C++ quoted cross-directory include provenance (`include_kind`); JS external imports anchored to the package, not the path leaf; prior (11): Python property-accessor decorators / `Self`, Swift `Self`, Go generic type params, Python forward type-hint file node, PowerShell dot-source, C# verbatim-interpolated string recovery; (10): C# partial types carry `type_path`; (9): Python property-read raw calls and `_py_property` nodes; (8): Rust `use`-group per-binding edges; (7): Python opaque-base/super(args) markers + nested-class enclosing ids. # Per-process memo: distributions() scans site-packages metadata, which is