-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't workingdogfoodFound during dogfoodingFound during dogfooding
Description
Found during dogfooding v3.0.0
Severity: Low
Command: codegraph info
Reproduction
npm init -y && npm install @optave/codegraph@3.0.0
npx codegraph infoExpected behavior
Native version should report 3.0.0 to match the package version.
Actual behavior
Codegraph Diagnostics
====================
Version : 3.0.0
Native engine : available
Native version: 2.6.0
Active engine : native (v2.6.0)
The npm package @optave/codegraph-win32-x64-msvc@3.0.0 is correctly versioned at 3.0.0 in npm, but the compiled Rust binary internally reports version 2.6.0.
Root cause
The Cargo.toml version in crates/codegraph-core/ was likely not bumped to 3.0.0 before the release build. The native engine version string is baked into the Rust binary at compile time.
Suggested fix
Update Cargo.toml version to match package.json (3.0.0) and rebuild the native binaries. This is cosmetic but causes confusing diagnostics and may trigger unnecessary full rebuilds when the version mismatch detection in buildGraph() sees 2.6.0 !== 3.0.0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdogfoodFound during dogfoodingFound during dogfooding