GitNexus/gitnexus/bench
Gergő Magyar 4cfd3e4cde
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Gitleaks / gitleaks (push) Waiting to run
Publish / Classify release event (push) Waiting to run
Publish / RC guard (marker + release-PR skip) (push) Blocked by required conditions
Publish / ci (push) Blocked by required conditions
Publish / Publish to npm (push) Blocked by required conditions
Publish / Build & Push RC Docker images (push) Blocked by required conditions
Scorecard / Scorecard analysis (push) Waiting to run
Trivy Image Scan / Trivy (gitnexus-cli) (push) Waiting to run
Trivy Image Scan / Trivy (gitnexus-web) (push) Waiting to run
fix(ingestion): stabilize community and process IDs (#3855)
* fix: stabilize community and process IDs

Run-order IDs renumbered unrelated records during analysis. Derive community
IDs from their smallest member and process IDs from their endpoint pair.
Preserve opaque community IDs in web grouping and color selection.

Refresh PDG and mini-repo graph digests for stable fallback community labels;
node/edge counts and membership-normalized edge triples are unchanged.
Update singleton skill-generation expectations for the same stable IDs.

Reanalysis migrates positional IDs once. Selective database reconciliation
remains separate work.

Closes #3851

* perf: trim stable graph identity overhead

Avoid per-symbol entry tuples and reuse each community color during graph conversion.

* perf: reduce graph processing allocations

* perf: release completed pipeline context

Isolate the graph integrity lookup's closure so retained graphs cannot
keep pipeline phase results alive. Drop the completed deferred callback
before database loading. Regression tests fail on both prior paths.

* docs: clarify stable graph ID contracts

* fix: address stable ID review feedback (#3855)

Compare parser output across runtimes while keeping full-graph reuse
checks. Release deferred phases before compaction writes and document
the ID migration, tie ordering, and identity limits.

Pin breadth-first layout, palette coverage, and callback lifetime.

Refs #3855

Note: pre-existing failure in setup-skills.test.ts not addressed by this PR.

Note: pre-existing failure in setup.test.ts not addressed by this PR.

Note: pre-existing failure in worker-pool-resilience.test.ts not addressed by this PR.

* fix(bench): read packed cache sections

The #3856 cache migration replaced loose V8 shards with file-result
packs. The interning probe fails before timing on unchanged ea97d6db8.

Load every published facts and scope section through the baseline
readers. Reject incomplete or corrupt corpora and retain legacy support.
Record the format; preserve timed operations, warmups, equality checks,
and the 5% acceptance budget. Packed and legacy timings are not directly
comparable.

Validate with 95 tests, source/test typechecks, and real-cache base/base
and base/PR controls. Both controls pass the unchanged interning gate.

Refs #3856, #3855

---------

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
2026-11-10 17:21:43 +00:00
..
analyze-resume feat(analyze): make indexing resource-bounded and resumable (#3829) 2026-11-07 11:27:47 +00:00
callable-value-flow fix(ci): rebalance native tests and stabilize flaky gates (#3719) 2026-10-25 09:38:21 +00:00
cfg fix(taint): avoid false positives for guarded Git arguments (#3703) 2026-10-24 15:37:26 +01:00
cpp-qualified-ns
cross-repo-trace fix(group)!: stop group sync claiming matching it never did (#3020) 2026-08-27 18:27:32 +01:00
embedding-chunking feat(embeddings): preserve AST chunk coverage (#3817) 2026-11-05 14:08:43 +00:00
embedding-identities fix(embeddings): reject corrupt identities before mutation (#3614) 2026-10-17 18:45:28 +01:00
embedding-inputs fix(embeddings): budget generated inputs and isolate rejections (#3615) 2026-10-17 19:37:30 +01:00
emit-persistence fix(routes): scope inline Express handlers and report api_impact lower bound (#3643) 2026-10-20 17:44:08 +01:00
file-result-reuse fix(ingestion): stabilize community and process IDs (#3855) 2026-11-10 17:21:43 +00:00
finalize-reexport
go-route-facts feat(go): index Gin and Echo routes through configured aliases (#3750) 2026-11-01 21:20:00 +00:00
go-route-resolution feat(go): index gin/echo routes and report them in impact (#3402) (#3417) 2026-10-01 10:22:45 +01:00
impact-pdg
import-emission perf(ingestion): reduce import emission memory (#3831) 2026-11-05 13:28:40 +00:00
import-target refactor(ingestion): colocate import resolution rules (#3670) 2026-10-22 03:49:35 +00:00
incremental-write-integrity fix: compact incremental graphs adaptively (#3854) 2026-11-09 20:57:07 +00:00
inline-taint fix(taint): report inline and factory handler flows (#3612) 2026-10-17 20:22:58 +00:00
java-lombok-synthesis feat(jvm): synthesize Lombok and Kotlin JVM accessor methods (#2885) 2026-08-31 17:55:52 +00:00
java-overload-resolution fix(cache): reuse unchanged files across chunk boundaries (#3856) 2026-11-10 10:52:15 +00:00
java-wildcard-route-constants feat(jvm): fold Java static wildcards and Kotlin star imports for route constants (#3110) 2026-08-31 21:58:40 +00:00
kotlin-import-target
kotlin-jvm-accessors feat(jvm): synthesize Lombok and Kotlin JVM accessor methods (#2885) 2026-08-31 17:55:52 +00:00
kotlin-star-route-constants feat(jvm): fold Java static wildcards and Kotlin star imports for route constants (#3110) 2026-08-31 21:58:40 +00:00
lexical-binding-provenance fix(scope): preserve lexical bindings in HTTP wrapper detection (#3632) 2026-10-20 11:36:06 +01:00
lexical-lookup fix: compact incremental graphs adaptively (#3854) 2026-11-09 20:57:07 +00:00
lib feat(ingestion): add tRPC procedure detection and MCP chain/route surfacing (#3339) 2026-09-21 09:44:42 +01:00
mcp-query fix(graph): validate reference sites and dedupe context (#3845) 2026-11-08 20:55:14 +00:00
mcp-serialization fix: reduce MCP token overhead and correct cost comparisons (#3645) 2026-10-20 16:04:10 +01:00
mcp-tools-list fix(rename): extend safe refactoring and flow coverage across languages (#3557) 2026-10-13 08:38:17 +03:00
method-declaration-facts fix(graph): validate reference sites and dedupe context (#3845) 2026-11-08 20:55:14 +00:00
objective-c-resolution feat(indexing): add Objective-C semantic indexing support (#3179) 2026-09-09 09:40:21 +00:00
parse-cache-identity feat(cache): derive parser and PDG cache identities automatically (#3606) 2026-10-17 07:38:45 +03:00
parse-dispatch-rounds feat(cache): derive parser and PDG cache identities automatically (#3606) 2026-10-17 07:38:45 +03:00
python-scope fix(python): link field readers and qualify incomplete results (#3795) 2026-11-01 14:01:35 +00:00
python-workspace-import-scan fix(group): detect function-local Python imports (#3254) 2026-09-11 06:23:52 +00:00
receiver-resolution fix(python): link field readers and qualify incomplete results (#3795) 2026-11-01 14:01:35 +00:00
rename fix(rename): apply the exact reviewed edit plan (#3617) 2026-10-17 19:38:01 +01:00
ruby-gem-resolution fix(ruby): guard gem requires with dependency metadata (#3096) 2026-09-10 16:04:11 +01:00
rust-cargo-targets fix(rust): respect Cargo target boundaries in name fallback (#3294) 2026-09-16 11:36:07 +01:00
schema-pairs
scope-capture fix(java): resolve overloads by JLS phases (#3791) 2026-11-01 11:08:00 +00:00
scope-emission fix(scope): resolve local imports by lexical ownership (#3532) 2026-10-10 08:13:55 +03:00
scope-resolution perf(ingestion): reduce import emission memory (#3831) 2026-11-05 13:28:40 +00:00
spring-conditionals
spring-config-bindings feat(kotlin): bind Spring config consumers on Kotlin sources (#3126) 2026-09-01 10:32:09 +00:00
staged-publication fix(storage): preserve published graph on rebuild failure (#3613) 2026-10-17 18:45:11 +01:00
swift-package-imports refactor(ingestion): colocate import resolution rules (#3670) 2026-10-22 03:49:35 +00:00
symlink-coverage fix(indexing): converge coverage around directory symlinks (#3616) 2026-10-17 19:37:45 +01:00
tool-accuracy fix(java): resolve overloads by JLS phases (#3791) 2026-11-01 11:08:00 +00:00
trpc-route-extractor feat(ingestion): add tRPC procedure detection and MCP chain/route surfacing (#3339) 2026-09-21 09:44:42 +01:00
v8-sidecar fix(ingestion): stabilize community and process IDs (#3855) 2026-11-10 17:21:43 +00:00
value-ref-resolution fix(python): resolve calls through aliased package re-exports (#3504) 2026-10-08 13:51:20 +03:00
zig-cross-file-resolution fix(zig): resolve cross-file static gates (#3185) 2026-09-07 07:19:30 +01:00
analyze-phase-breakdown.md perf(storage): skip redundant cache interning work (#3820) 2026-11-05 10:31:50 +00:00
parse-throughput.md