You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: scope native import-edge skip to Windows only (#777)
* fix: scope native import-edge skip to Windows only
The Rust key mismatch in build_import_edges (backslash vs forward slash)
only affects Windows where path.join produces backslashes. On Linux/macOS
path.join uses forward slashes matching the Rust format!("{}/{}", ...).
Skipping native import edges on all platforms caused the Codegraph Impact
Analysis CI workflow to fall back to the slow JS path unnecessarily.
* fix: match Rust key format in resolvedImports instead of skipping native
Instead of skipping the native import-edge builder for addon 3.8.0,
construct resolvedImports keys as rootDir + "/" + relPath to match
the Rust format!("{}/{}", root_dir, file) exactly. This avoids the
Windows path separator mismatch without any performance penalty.
0 commit comments