From 4de6ed1eb17b58e8aaa17c136bdc0a2ed8e123b6 Mon Sep 17 00:00:00 2001 From: safishamsi Date: Mon, 12 Oct 2026 22:38:34 +0100 Subject: [PATCH] chore(cache): bump AST schema to 11 for the extractor batch Python property-accessor decorators and `Self` (#4385, #4386), Swift `Self` (#4387), Go generic type params (#4388), the Python forward type-hint file-node fix (#4343), PowerShell dot-source paths (#4369), and the C# verbatim-interpolated-string recovery (#3612) 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 227b9b367..03b158d09 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 = 10 # C# partial types carry `type_path`, the nested/generic partial merge key; prior (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 = 11 # Python property-accessor decorators / `Self`, Swift `Self`, Go generic type params no longer mint sourceless stubs; Python forward type-hint keeps the file node; PowerShell dot-source paths and script-scope calls; C# recovers members past a verbatim-interpolated escaped-quote string; prior (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