feat(state,registry): back StateStore with Void::Sqlite when available and filter audit queries
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 10s

This commit is contained in:
faumaray committed 2026-12-04 01:02:18 +03:00
1 parent 9a6f209f5b
commit e990f44037
8 files changed
+387 -34

No files matched your search

+21
View File
@@ -827,6 +827,27 @@ dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
- Full CTest: **8 / 8 passed** in 230.32 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Track E4 `Void::Sqlite` StateStore Alignment (GCC 16.2, pin `0002e74`)
SQLite and Boost were made available through `dev cpp-gcc -p sqlite -p boost` (the configured
dev shell reports `modules=16` including `Void::Sqlite`; `SQLite3_LIBRARY` is found).
```sh
dev cpp-gcc -p sqlite -p boost -c cmake -S . -B build/e4 -G Ninja -DCMAKE_BUILD_TYPE=Debug -DVBS_VOID_SOURCE_DIR=/tmp/opencode/vl-pin
dev cpp-gcc -p sqlite -p boost -c cmake --build build/e4 --parallel 8
dev cpp-gcc -p sqlite -p boost -c ctest --test-dir build/e4 --output-on-failure
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_core_tests --no-color
```
- SQLite-backed build: exit 0. Full CTest: **8 / 8 passed** in 244.23 s (`vbs_v1_tests` 110.03 s,
`vbs_selfhost_tests` 100.55 s, `vbs_core_tests` 15.61 s, `vbs_registry_tests` 10.33 s) with
`StateStore` using `Void::Sqlite` (`state.v2.sqlite`).
- Default build (no SQLite): exit 0, `vbs_core_tests` **6 / 6 passed** on the JSON backend.
- Fixes during verification: `INSERT` `step()` returning no row is success (not failure), and the
extracted `parse_database_snapshot` needed its final `return snap;` (a missing return trapped as
SIGILL under the SQLite path).
## Limits and Unrun Checks
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).