-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't workingdogfoodFound during dogfoodingFound during dogfooding
Description
Found during dogfooding v3.1.2
Severity: Low
Command: codegraph info
Reproduction
npm install @optave/codegraph@3.1.2
node -e "const p=require('@optave/codegraph-win32-x64-msvc/package.json'); console.log(p.version)"
# → 3.1.2
npx codegraph info
# → Native version: 3.1.0 (WRONG — should be 3.1.2)Expected behavior
codegraph info should report Native version: 3.1.2 matching the actual installed binary package version.
Actual behavior
Reports Native version: 3.1.0. The binary package.json correctly says 3.1.2, but the version string embedded in the Rust binary itself was not bumped.
Root cause
The native Rust binary has a hardcoded version string (likely in Cargo.toml or a const) that was not updated when releasing 3.1.2. The info command reads the version from the native addon's reported version, not from the npm package.json.
Suggested fix
Ensure the publish workflow bumps the version in Cargo.toml / native addon version constant to match the npm release version.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdogfoodFound during dogfoodingFound during dogfooding