GitNexus/gitnexus/scripts
Gergő Magyar 347165dd59
fix(lbug): upgrade core and bundled extensions to 0.22.0 (#3578)
* fix(lbug): bump @ladybugdb/core to 0.21.2 to stop doubled rows after delete and re-copy

LadybugDB 0.21.0 and 0.21.1 return every row of a table that spans more
than one native vector twice once the incremental writeback has DETACH
DELETEd it and a COPY into an earlier table has run. NodeGroup::scan let a
morsel that ended before the group's first live row wrap an unsigned
subtraction and rescan to the end of the group (LadybugDB #1085, fixed in
0.21.2). No primary key error fires. The identity guard from #3442 stops
the run with "unexpected or duplicate ID", so a Swift edit that pulls every
importer into the write set failed on repos with more than 2048 structs.
Only unreleased main was affected: 1.6.12 ships 0.18.3.

Pin 0.21.2 in package.json, update the six @ladybugdb/core entries in the
lockfile, and move coreVersion in the vendored FTS manifest. The FTS
extension stays at 0.21.0 because no v0.21.1 or v0.21.2 artifact is
published; the pairing assertion and its unit tests pass.

Add a regression to the delete-nodes-for-files suite: 2049 structs with
CONTAINS edges are loaded, every file is deleted, the graph is loaded
again, and each id and edge must appear exactly once.

Verification (Linux, Node 22.18):
- lbug-delete-nodes-for-files: 11/11 on 0.21.2. With the 0.21.1 native
  packages swapped in, the new test fails with 4098 rows instead of 2049.
- Reporter recipe end to end on the built CLI: incremental analyze exits 0
  with no duplicate ids on a Swift-heavy fixture and on a 70-file Python
  fixture, with and without FTS. On 0.21.1 the Swift fixture exits 1.
- A 0.21.1-written database opens and reads under 0.21.2.
- prettier, eslint and typecheck:tests are clean on the changed files.
- The full lbug-db project had not finished when this was committed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(lbug): pair core and extensions at 0.22.0

Include the duplicate-row scan and relationship page-padding fixes.
Use matching official FTS and VECTOR artifacts on all five platforms.

Add a page-padding regression and document the storage 47 to 49 upgrade,
including rollback and cached-embedding recovery limits.

* fix(lbug): recognize pending checkpoint recovery

* fix(bench): isolate indexes by runtime

* fix(query): reject mixed symbol paths

Printable paths could disagree with canonical symbol UIDs and pass
NUL-only validation. Reject those tuples at response boundaries.
Add Python/Swift MCP fault cases and a linked-worktree reproducer.

Refs #3527

* fix(query): preserve provider semantic IDs

* fix(lbug): clear analysis memory budget

Restore the normal reader budget after indexing. The leaked adaptive hint exhausted the 0.22.0 pool during query and rename operations. Assert the budget is restored after real analyses, and give integrity cases unique CI audit identities.

---------

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 15:29:45 +00:00
..
bench fix(mcp): bound query previews and advertise repo defaults (#3728) 2026-10-26 08:53:47 +00:00
spikes feat(ingestion): M0 — taint/PDG substrate (schema + seams + spikes) (#2080) (#2092) 2026-06-08 18:56:10 +01:00
arm64-prebuild.cjs fix(install): restore Linux ARM64 npm installation (#3601) 2026-10-16 15:28:35 +01:00
assert-native-parsers.mjs fix(install): restore Linux ARM64 npm installation (#3601) 2026-10-16 15:28:35 +01:00
assert-publish-fts-coverage.cjs fix(lbug): ship FTS per-platform and recover in-place native aborts (#3274) 2026-09-14 08:52:24 +01:00
assert-publish-grammar-coverage.cjs fix(embeddings): keep ONNX off the install and analyze critical path (#3287) 2026-09-15 12:11:47 +01:00
assert-web-assets.mjs fix(build): build the web UI from prepack, not from every npm ci (#3166) 2026-09-04 13:28:11 +01:00
bench-scope-resolution.ts refactor(ingestion): delete legacy call-resolution DAG + heritage processor (RING4-1, #942) (#2023) 2026-06-04 11:07:37 +01:00
build-tree-sitter-grammars.cjs feat(indexing): add Objective-C semantic indexing support (#3179) 2026-09-09 09:40:21 +00:00
build-web.js fix(build): build the web UI from prepack, not from every npm ci (#3166) 2026-09-04 13:28:11 +01:00
build.js chore: compile first-party packages with TypeScript 7 (#3311) 2026-09-17 22:16:00 +01:00
cross-platform-tests.ts fix(lbug): upgrade core and bundled extensions to 0.22.0 (#3578) 2026-10-31 15:29:45 +00:00
ensure-fts.ts fix(lbug): ship FTS per-platform and recover in-place native aborts (#3274) 2026-09-14 08:52:24 +01:00
execution-reporter.ts chore(deps): consolidate open dependabot updates (#3496) 2026-10-06 07:23:35 +00:00
install-duckdb-extension.mjs fix(docker): verify bundled FTS artifacts (#3669) 2026-10-21 17:27:30 +00:00
owner-edge-guard-scaling.ts fix(ingestion): drop member edges to owners the file never emitted (#3767) 2026-10-31 00:36:19 +00:00
prepare-tree-sitter-bundle.cjs fix(install): restore Linux ARM64 npm installation (#3601) 2026-10-16 15:28:35 +01:00
rebuild-bundled-grammar-prebuilds.cjs fix(install): restore Linux ARM64 npm installation (#3601) 2026-10-16 15:28:35 +01:00
repro-3527.mjs fix(lbug): upgrade core and bundled extensions to 0.22.0 (#3578) 2026-10-31 15:29:45 +00:00
run-benchmarks.ts fix(ci): require every test to execute across the CI matrix (#3479) 2026-10-06 07:34:17 +03:00
run-cross-platform.ts feat(ci): rebalance test shards from recorded timings (#3748) 2026-10-28 11:58:29 +00:00
shard-arg.ts fix(ci): shard platform-sensitive matrix + spawn built CLI to fix Windows cross-platform timeout (#2394) 2026-07-08 09:09:11 +01:00
shard-timings-reporter.ts feat(ci): rebalance test shards from recorded timings (#3748) 2026-10-28 11:58:29 +00:00
shard-timings.ts feat(ci): rebalance test shards from recorded timings (#3748) 2026-10-28 11:58:29 +00:00
smoke-package-managers.mjs fix(cli): recover pnpm and Bun invocation paths (#3721) 2026-10-25 21:05:02 +00:00
sync-plugin-manifests.mjs feat: add Factory AI (Droid) integration (#2543) 2026-09-24 19:12:40 +01:00
test-completeness.ts fix(ci): require every test to execute across the CI matrix (#3479) 2026-10-06 07:34:17 +03:00