Skip to content

Commit 68e6fda

Browse files
authored
chore: release v3.9.2 (#891)
1 parent f711a7a commit 68e6fda

File tree

6 files changed

+35
-8
lines changed

6 files changed

+35
-8
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
44

5+
## [3.9.2](https://github.com/optave/ops-codegraph-tool/compare/v3.9.1...v3.9.2) (2026-04-06)
6+
7+
**Engine parity fix and build performance improvements.** This patch fixes a native engine deduplication bug that caused divergent results when multiple type map entries existed for the same symbol, improving engine parity. Build performance improves with deferred native database initialization (skipping the native DB entirely on no-op rebuilds) and a fix for an incremental rebuild regression introduced in v3.9.1. The resolution benchmark suite is significantly expanded with dynamic call tracing across all language fixtures, and the release workflow now gates on precision/recall thresholds.
8+
9+
### Bug Fixes
10+
11+
* **native:** confidence-aware dedup in type map for engine parity ([#885](https://github.com/optave/ops-codegraph-tool/pull/885))
12+
13+
### Performance
14+
15+
* defer NativeDatabase init to after no-op early exit ([#884](https://github.com/optave/ops-codegraph-tool/pull/884))
16+
* **native:** fix incremental rebuild regression ([#882](https://github.com/optave/ops-codegraph-tool/pull/882), [#888](https://github.com/optave/ops-codegraph-tool/pull/888))
17+
18+
### Chores
19+
20+
* **ci:** gate release workflow on resolution precision/recall thresholds ([#886](https://github.com/optave/ops-codegraph-tool/pull/886))
21+
* **bench:** resolution benchmark v2 — dynamic tracing, 14 languages, per-mode categories ([#878](https://github.com/optave/ops-codegraph-tool/pull/878))
22+
* **bench:** extend dynamic call tracing to all language fixtures ([#883](https://github.com/optave/ops-codegraph-tool/pull/883))
23+
524
## [3.9.1](https://github.com/optave/ops-codegraph-tool/compare/v3.9.0...v3.9.1) (2026-04-05)
625

726
**Dead code accuracy, native query performance, and supply-chain hardening.** This release significantly improves dead code detection — class instantiations via `new`, type-only imports, barrel re-exports, and same-file constants are now correctly tracked as consumption. The native Rust engine gains a composite `fnDeps` query that runs dependency resolution in a single cross-language call, and a critical 1238% incremental rebuild regression from v3.9.0 is fixed. WASM grammar validation and npm audit harden the build pipeline. CLI reliability improves with a fix for hangs in git worktree environments.

crates/codegraph-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "codegraph-core"
3-
version = "3.9.1"
3+
version = "3.9.2"
44
edition = "2021"
55
license = "Apache-2.0"
66

docs/roadmap/BACKLOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Codegraph Feature Backlog
22

3-
**Last updated:** 2026-04-05
3+
**Last updated:** 2026-04-06
44
**Source:** Features derived from [COMPETITIVE_ANALYSIS.md](../../generated/competitive/COMPETITIVE_ANALYSIS.md) and internal roadmap discussions.
55

66
---

docs/roadmap/ROADMAP.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Codegraph Roadmap
22

3-
> **Current version:** 3.9.1 | **Status:** Active development | **Updated:** 2026-04-05
3+
> **Current version:** 3.9.2 | **Status:** Active development | **Updated:** 2026-04-06
44
55
Codegraph is a strong local-first code graph CLI. This roadmap describes planned improvements across fourteen phases -- closing gaps with commercial code intelligence platforms while preserving codegraph's core strengths: fully local, open source, zero cloud dependency by default.
66

@@ -1476,6 +1476,14 @@ Upgrade the Phase 4.4 benchmark suite to enforce regression gates on the new res
14761476
- CI gate: fail if caller coverage drops below baseline (initially 29%, ratcheted upward as each sub-phase ships)
14771477
- Benchmark against Jelly and ACG on shared fixture projects for external validation
14781478

1479+
**Progress (v3.9.2):**
1480+
- ✅ Resolution benchmark v2 — dynamic call tracing across 14 languages, per-mode categories ([#878](https://github.com/optave/ops-codegraph-tool/pull/878))
1481+
- ✅ Dynamic call tracing extended to all language fixtures ([#883](https://github.com/optave/ops-codegraph-tool/pull/883))
1482+
- ✅ Release workflow gated on resolution precision/recall thresholds ([#886](https://github.com/optave/ops-codegraph-tool/pull/886))
1483+
- 🔲 Per-technique breakdown (edges contributed by each resolver)
1484+
- 🔲 Coverage dashboard in `codegraph stats`
1485+
- 🔲 Benchmark against Jelly and ACG on shared fixture projects
1486+
14791487
**Affected files:** `tests/benchmarks/resolution/`, `src/domain/analysis/symbol-lookup.ts`, `src/presentation/queries-cli/overview.ts`
14801488

14811489
### 8.7 -- Reaching Definition Analysis (PDG Foundation)
@@ -1685,8 +1693,8 @@ Commander supports shell completion but it's not implemented. Basic UX gap for a
16851693
**Deliverables:**
16861694

16871695
1. **CI `npm audit`** -- add `npm audit --omit=dev` step to CI pipeline; fail on critical/high vulnerabilities
1688-
- ✅ npm audit CI step added (v3.10.0, [#834](https://github.com/optave/ops-codegraph-tool/pull/834))
1689-
- ✅ WASM grammar validation — build-time integrity checks for tree-sitter grammar files (v3.10.0, [#834](https://github.com/optave/ops-codegraph-tool/pull/834))
1696+
- ✅ npm audit CI step added (v3.9.1, [#834](https://github.com/optave/ops-codegraph-tool/pull/834))
1697+
- ✅ WASM grammar validation — build-time integrity checks for tree-sitter grammar files (v3.9.1, [#834](https://github.com/optave/ops-codegraph-tool/pull/834))
16901698
2. **SBOM generation** -- produce CycloneDX or SPDX SBOM on each release via `@cyclonedx/cyclonedx-npm` or similar
16911699
- 🔲 Not yet started
16921700
3. **SLSA provenance** -- enable SLSA Level 2+ build provenance using `actions/attest-build-provenance` in the publish workflow; attach attestation to npm packages

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@optave/codegraph",
3-
"version": "3.9.1",
3+
"version": "3.9.2",
44
"description": "Local code graph CLI — parse codebases with tree-sitter, build dependency graphs, query them",
55
"type": "module",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)