Record the digest algorithm in the index snapshot
Snapshot schema 4 stores digestAlgorithm inside the digested payload. Restore accepts schemas 1-4, verifies the digest for 3 and 4, and classifies an unknown algorithm as incompatible instead of corrupt so a future digest change is not misread as corruption. Registered tests cover the migration and the rejection.
This commit is contained in:
1 parent
98ddf08eaf
commit
67ca5ea275
3 files changed
+42
-9
No files matched your search
@@ -61,6 +61,16 @@ start coordinate only, so ranges are zero-width until an end is available.
|
||||
LSP adapters and index/rename/debugging integration remain open. `vbs test`
|
||||
passed all 17 native suites; CMake passed the reflection and trace suites.
|
||||
|
||||
## December 6 index snapshot schema 4
|
||||
|
||||
The symbol-index snapshot is now schema 4 and records `digestAlgorithm` inside
|
||||
the digested payload. Restore accepts schemas 1-4 (older ones report
|
||||
`migrated`), verifies the digest for schemas 3 and 4, and classifies an unknown
|
||||
algorithm as `incompatible` rather than `corrupt`, so a future digest change
|
||||
cannot be misread as corruption. Registered `vls_index_tests` cover the
|
||||
migration path and the unknown-algorithm rejection (30 cases). All 18 native
|
||||
suites and all 18 CMake tests passed.
|
||||
|
||||
## December 6 reflection references
|
||||
|
||||
`reflection::references_at` collects every source link of the entity covering a
|
||||
|
||||
Reference in new issue
Block a user