GitNexus/.github/workflows
Gergő Magyar ea97d6db89
fix(cache): reuse unchanged files across chunk boundaries (#3856)
* fix(cache): reuse unchanged files across chunks

Key parser facts and scopes per file while retaining batched workers
and compressed pack storage. Preserve staged repairs and recovery.

Fixes #3849

* ci: gate parse cache speed and memory

Compare fresh baseline and candidate processes on both corpora.
Require paired speed and RSS improvements, graph equality, and
bounded phase regressions; retain measure.json and failed trials.

* perf(cache): reduce result restore overhead

Batch adjacent pack reads within bounded windows. Avoid duplicate
validation and oversized decompression buffers while preserving
binding, checksum, output-limit, and corruption checks.

* ci: keep checks active for stacked cache PR

Allow PRs targeting fix/3852-root-cause to run the test and performance gates while the cache fix is stacked.

* fix(cache): address review feedback (#3856)

Keep optional cache failures from aborting analysis and retain immutable
packs to avoid copying every unchanged result during publication. Bind
benchmark corpus hashes unambiguously and cover worker fallback paths.

Validation: build, typechecks, focused suites, lint and smoke tests pass.
The full run passed 32,878 tests; two failures observed an overlapping
edit/build. Both complete failing files pass fresh reruns (64 tests).

* fix(cache): bound index reads and reuse checks

Check and read the same open index to prevent pathname replacement
from bypassing the size bound. Reject growth and truncation.

Require exactly one reparse in the Java edit benchmark and update
the expected cache counts while retaining semantic and scaling checks.

* perf(cache): share decoded fact strings

Deduplicate paths, IDs, and labels within each decode batch to reduce retained heap and peak RSS. Preserve valid facts and cache hits if optional interning fails.

Refs #3856

---------

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
2026-11-10 10:52:15 +00:00
..
build-tree-sitter-prebuilds.yml chore(deps): consolidate Dependabot updates and fix CI pin assertions (#3764) 2026-10-29 17:41:24 +00:00
ci-devcontainer.yml fix(devcontainer): move workspace and snapshots to Linux volumes (#3835) 2026-11-07 20:36:27 +00:00
ci-e2e.yml chore(deps): consolidate ten Dependabot updates and fix compatibility (#3592) 2026-10-15 10:43:04 +01:00
ci-quality.yml chore(deps): consolidate ten Dependabot updates and fix compatibility (#3592) 2026-10-15 10:43:04 +01:00
ci-report.yml fix(ci): paginate report artifacts (#3797) 2026-11-01 15:51:34 +00:00
ci-tests.yml fix(cache): reuse unchanged files across chunk boundaries (#3856) 2026-11-10 10:52:15 +00:00
ci.yml fix(cache): reuse unchanged files across chunk boundaries (#3856) 2026-11-10 10:52:15 +00:00
claude.yml chore(deps): consolidate pending dependency upgrades (#3441) 2026-10-01 19:16:12 +03:00
codeql.yml chore(deps): consolidate Dependabot updates and fix CI pin assertions (#3764) 2026-10-29 17:41:24 +00:00
commit-fork-prebuilds.yml chore(deps): consolidate ten Dependabot updates and fix compatibility (#3592) 2026-10-15 10:43:04 +01:00
dependency-review.yml chore(deps): consolidate pending dependency upgrades (#3441) 2026-10-01 19:16:12 +03:00
devcontainer-publish.yml chore(deps): consolidate eight Dependabot updates (#3830) 2026-11-07 11:34:51 +00:00
docker.yml chore(deps): consolidate eight Dependabot updates (#3830) 2026-11-07 11:34:51 +00:00
gitleaks.yml chore(deps): consolidate pending dependency upgrades (#3441) 2026-10-01 19:16:12 +03:00
gitnexus-review-agent.yml chore(deps): consolidate eight Dependabot updates (#3830) 2026-11-07 11:34:51 +00:00
gitnexus-skill-evolution.yml chore(deps): consolidate eight Dependabot updates (#3830) 2026-11-07 11:34:51 +00:00
grammar-update-monitor.yml chore(deps): consolidate all open Dependabot updates (#3682) 2026-10-23 10:49:45 +01:00
impact-pdg-mutation-report.yml chore(deps): consolidate ten Dependabot updates and fix compatibility (#3592) 2026-10-15 10:43:04 +01:00
mutation-runner-validation.yml feat: add the test scenario map and a Vitest 5 mutation runner (#3686) 2026-10-27 16:46:58 +00:00
pr-autofix-apply.yml chore(deps): consolidate ten Dependabot updates and fix compatibility (#3592) 2026-10-15 10:43:04 +01:00
pr-autofix-publish.yml chore(deps): consolidate ten Dependabot updates and fix compatibility (#3592) 2026-10-15 10:43:04 +01:00
pr-autofix.yml chore(deps): consolidate ten Dependabot updates and fix compatibility (#3592) 2026-10-15 10:43:04 +01:00
pr-cost-evaluation.yml feat(eval): request PR cost comparisons by label (#3622) 2026-10-18 11:00:08 +01:00
pr-description-check.yml chore(deps): bump actions/github-script from 7.0.1 to 9.0.0 2026-04-15 20:17:08 +00:00
pr-labeler.yml chore(deps): consolidate ten Dependabot updates and fix compatibility (#3592) 2026-10-15 10:43:04 +01:00
publish.yml chore(deps): consolidate all open Dependabot updates (#3682) 2026-10-23 10:49:45 +01:00
release-evaluation.yml chore(deps): consolidate eight Dependabot updates (#3830) 2026-11-07 11:34:51 +00:00
scorecard.yml chore(deps): consolidate Dependabot updates and fix CI pin assertions (#3764) 2026-10-29 17:41:24 +00:00
skill-sync.yml chore(deps): consolidate ten Dependabot updates and fix compatibility (#3592) 2026-10-15 10:43:04 +01:00
test-scenario-map.yml fix: recover duplicate candidates and expose test inventory gaps (#3743) 2026-10-30 21:06:08 +00:00
tree-sitter-upgrade-readiness.yml fix(deps): upgrade native tree-sitter to 0.25.1 (#3531) 2026-10-10 13:07:59 +03:00
triage-sweep.yml chore(deps): consolidate Dependabot updates and fix CI pin assertions (#3764) 2026-10-29 17:41:24 +00:00
trivy.yml chore(deps): consolidate Dependabot updates and fix CI pin assertions (#3764) 2026-10-29 17:41:24 +00:00
workflow-lint.yml chore(deps): consolidate Dependabot updates and fix CI pin assertions (#3764) 2026-10-29 17:41:24 +00:00