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: native complexity upsert supplies all 18 Halstead/MI columns
The native complexity shortcut was passing only 4 params to the upsert
statement which now expects 18 (added by the Halstead/MI migration).
This crashed at runtime for natively-parsed functions. Fill Halstead/LOC/MI
columns with zeros since native engine intentionally skips WASM AST.
Also adds #[napi(js_name = "maxNesting")] to ComplexityMetrics so Rust
exports camelCase directly, removing the snake_case fallback in parser.js
and complexity.js. Cleans up a duplicate assertion and fixes indentation
in go.rs.
Impact: 4 functions changed, 4 affected
* fix: make complexity rules report-only in manifesto engine
Complexity rules (cognitive, cyclomatic, maxNesting) now always report
warnings but never cause process.exit(1). This keeps codegraph focused
on dependency graph analysis rather than acting as a CI linter gate.
- Add reportOnly flag to function-level complexity RULE_DEFS
- Force fail: null in resolveRules() when reportOnly is set
- Remove fail key from complexity defaults in config.js
- Add integration test verifying user fail thresholds are ignored
Impact: 1 functions changed, 2 affected
* style: format manifesto.js per biome rules
Impact: 1 functions changed, 2 affected
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
0 commit comments