Skip to content

bug: info command reports stale native engine version (3.1.0 instead of 3.1.2) #411

@carlos-alm

Description

@carlos-alm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdogfoodFound during dogfooding

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions