mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-30 06:42:43 +00:00
fix(storage): bump INCREMENTAL_SCHEMA_VERSION for Rust dyn-dispatch fix
RUST_SCOPE_QUERY gained a function_signature_item capture (previous commit) so abstract trait methods can now dispatch a CALLS edge through a &dyn Trait receiver. The incremental write set only covers changed files, so a top-up against a pre-v11 index would keep silently missing these edges for every unchanged Rust trait file — same contract as v7/v10; force a full re-analyze instead.
This commit is contained in:
parent
195f7bd25a
commit
f3885eeccb
1 changed files with 8 additions and 1 deletions
|
|
@ -437,8 +437,15 @@ export interface RepoMeta {
|
|||
* `Record` node and its `HAS_METHOD` edges for every unchanged record file
|
||||
* (same v7 contract: new nodes/edges the incremental path would otherwise
|
||||
* never backfill); force a full re-analyze instead.
|
||||
* v11: Rust abstract trait methods (`fn foo(&self) -> T;`, no body) now get a
|
||||
* scope + declaration capture (#2604): RUST_SCOPE_QUERY had no
|
||||
* `function_signature_item` pattern, so a `&dyn Trait` receiver could never
|
||||
* dispatch a CALLS edge to the trait's own method. Same v7/v10 contract: the
|
||||
* incremental write set only covers changed files, so a top-up against a
|
||||
* pre-v11 index would keep silently missing these CALLS edges for every
|
||||
* unchanged Rust trait file; force a full re-analyze instead.
|
||||
*/
|
||||
export const INCREMENTAL_SCHEMA_VERSION = 10;
|
||||
export const INCREMENTAL_SCHEMA_VERSION = 11;
|
||||
|
||||
export interface IndexedRepo {
|
||||
repoPath: string;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue