Implement atomic incremental index updates #30

Merged
JayKobe6k merged 6 commits from issue-9-index-update into main 2026-09-05 21:39:50 +00:00
Owner

Summary

  • add typed update planning for changed, added, removed, and dependency-affected translation units
  • publish replacement revisions atomically while preserving the active revision on failure
  • expose the shared update use case through the CLI and document consistency guarantees

Closes #9

Tests

  • nix develop --command cargo fmt --all -- --check
  • nix develop --command cargo lint
  • nix develop --command cargo test --all-targets --all-features
  • nix develop --command cargo doc --no-deps --all-features
  • nix develop --command cargo check --target x86_64-pc-windows-gnu --all-targets --all-features
  • git diff --check
## Summary - add typed update planning for changed, added, removed, and dependency-affected translation units - publish replacement revisions atomically while preserving the active revision on failure - expose the shared update use case through the CLI and document consistency guarantees Closes #9 ## Tests - `nix develop --command cargo fmt --all -- --check` - `nix develop --command cargo lint` - `nix develop --command cargo test --all-targets --all-features` - `nix develop --command cargo doc --no-deps --all-features` - `nix develop --command cargo check --target x86_64-pc-windows-gnu --all-targets --all-features` - `git diff --check`
Fingerprint source files, compilation commands, build settings, and
resolved project revision; detect added/changed/removed/renamed and
no-longer-compiled translation units with shared-header affected
closure; persist per-revision fingerprint manifests; report typed
update results with revision, count, and change-set details.
Resolve the update base from the canonical project identity, accept
an explicit database only when it matches the cataloged revision,
and report missing or moved projects as typed update targets. Plan
immutable successor revisions through the existing cache-owned path
allocation at the current graph schema version.
Serialize libclang dependency coverage
All checks were successful
Validate / Formatting, linting, and tests (push) Successful in 2m40s
Validate / Formatting, linting, and tests (pull_request) Successful in 2m40s
c2bd215d99
Sign in to join this conversation.
No description provided.