docs(migration): record VoidLibrary test wiring
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
VoidBuildSystem CI / sanitizers-gcc16 (push) Failing after 3s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 10s
VoidBuildSystem CI / wine-windows-gcc16 (push) Failing after 1m8s

This commit is contained in:
faumaray committed 2026-12-05 11:39:28 +03:00
1 parent 452b2e315d
commit 4f3701c740
3 files changed
+26

No files matched your search

+23
View File
@@ -43,6 +43,29 @@ void build(Void::Build::Project &project) {
project.install_directory("include", "include"); project.install_directory("include", "include");
project.install_file("README.md", "share/doc/VoidLibrary"); project.install_file("README.md", "share/doc/VoidLibrary");
// Per-module package tests (standalone mains under tests/package/<Module>Only).
const std::vector<std::pair<std::string, std::string>> package_tests = {
{"algorithms", "Algorithms"}, {"core", "Core"},
{"crypto", "Crypto"}, {"configuration", "Configuration"},
{"archive", "Archive"}, {"binary", "Binary"},
{"containers", "Containers"}, {"data", "Data"},
{"fsm", "Fsm"}, {"io", "IO"},
{"text", "Text"}, {"unicode", "Unicode"},
{"async", "Async"}, {"log", "Log"},
{"storage", "Storage"}, {"sqlite", "Sqlite"},
};
for (const auto &[test_name, module_name] : package_tests) {
const std::string test_dir = "tests/package/" + module_name + "Only";
if (!std::filesystem::is_directory(test_dir) ||
!std::filesystem::is_regular_file(test_dir + "/main.cpp")) {
continue;
}
auto package_test = project.test("void_" + test_name + "_tests");
package_test.cxx_standard(Void::Build::CxxStandard::Cxx26)
.sources({test_dir + "/main.cpp"})
.link(libs.modules.at(module_name));
}
// Smoke test exercising the native VoidLibrary closure through VBS. // Smoke test exercising the native VoidLibrary closure through VBS.
auto smoke = project.test("void_smoke"); auto smoke = project.test("void_smoke");
smoke.cxx_standard(Void::Build::CxxStandard::Cxx26) smoke.cxx_standard(Void::Build::CxxStandard::Cxx26)
+2
View File
@@ -344,6 +344,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- **Wave 125 (Queue-Driven Worker Mode)**: `vbs worker --queue` (without `--action-key`) leases the next queued action from the registry (`Package::lease_queued_action`), then publishes blobs/record and submits the result exactly like the direct mode. The worker E2E now covers both modes, asserting the queue is empty afterwards. - **Wave 125 (Queue-Driven Worker Mode)**: `vbs worker --queue` (without `--action-key`) leases the next queued action from the registry (`Package::lease_queued_action`), then publishes blobs/record and submits the result exactly like the direct mode. The worker E2E now covers both modes, asserting the queue is empty afterwards.
- **Wave 126 (VoidLibrary Test Wiring)**: the `build-vbs` branch now declares per-module package tests (`tests/package/<Module>Only/main.cpp` → `void_<module>_tests`) and its CI runs the full `vbs test` instead of a single smoke target. Verified in the clone: 156 actions, and the core/algorithms/crypto/sqlite/unicode/… test binaries all PASSED with exit 0.
## Remaining future scope ## Remaining future scope
- **Superiority plan ([22-superiority-and-gaps.md](../roadmap/22-superiority-and-gaps.md), 2026-12-05)**: revised platform strategy - **macOS deferred**, **Windows via MinGW-w64 cross-compilation + Wine execution** (`dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc`, `dev cpp-gcc -p wine64`), native MSVC deferred; plus packaging parity (ZIP/DEB/RPM), IDE ecosystem, migration tooling, test-runner parity, benchmarks, CI runners, and remote execution in prioritized order. - **Superiority plan ([22-superiority-and-gaps.md](../roadmap/22-superiority-and-gaps.md), 2026-12-05)**: revised platform strategy - **macOS deferred**, **Windows via MinGW-w64 cross-compilation + Wine execution** (`dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc`, `dev cpp-gcc -p wine64`), native MSVC deferred; plus packaging parity (ZIP/DEB/RPM), IDE ecosystem, migration tooling, test-runner parity, benchmarks, CI runners, and remote execution in prioritized order.
+1
View File
@@ -128,4 +128,5 @@ Base HEAD: `fe0d1a6`
| Wave 123 (`vbs worker` client) | Worker CLI: register, lease, publish blobs/record, submit result; StateStore export; client APIs | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; worker CLI E2E passes, full CTest 8/8) | `src/Main.cpp`, `src/Package/RegistryClient.cpp`, `src/State/StateStore.cpp`, `tests/RegistryTests.cpp`, docs | | Wave 123 (`vbs worker` client) | Worker CLI: register, lease, publish blobs/record, submit result; StateStore export; client APIs | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; worker CLI E2E passes, full CTest 8/8) | `src/Main.cpp`, `src/Package/RegistryClient.cpp`, `src/State/StateStore.cpp`, `tests/RegistryTests.cpp`, docs |
| Wave 124 (Distributed queue + VoidLibrary PR) | Registry action queue (enqueue/lease/list, result removes the key); PR Void/Library#64 opened | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; queue E2E passes, full CTest 8/8) | `registry/service/RegistryService.cpp`, `registry/include/Void/Build/Registry/RegistryService.hpp`, `tests/RegistryTests.cpp`, Void/Library#64, docs | | Wave 124 (Distributed queue + VoidLibrary PR) | Registry action queue (enqueue/lease/list, result removes the key); PR Void/Library#64 opened | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; queue E2E passes, full CTest 8/8) | `registry/service/RegistryService.cpp`, `registry/include/Void/Build/Registry/RegistryService.hpp`, `tests/RegistryTests.cpp`, Void/Library#64, docs |
| Wave 125 (`vbs worker --queue`) | Queue-driven worker lease mode with `lease_queued_action`; E2E covers both modes | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; worker E2E passes, full CTest 8/8) | `src/Main.cpp`, `src/Package/RegistryClient.cpp`, `include/Void/Build/Package/RegistryClient.hpp`, `tests/RegistryTests.cpp`, docs | | Wave 125 (`vbs worker --queue`) | Queue-driven worker lease mode with `lease_queued_action`; E2E covers both modes | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; worker E2E passes, full CTest 8/8) | `src/Main.cpp`, `src/Package/RegistryClient.cpp`, `include/Void/Build/Package/RegistryClient.hpp`, `tests/RegistryTests.cpp`, docs |
| Wave 126 (VoidLibrary test wiring) | Per-module package tests declared in the branch build.cpp; CI runs `vbs test` | COMPLETE & VERIFIED IN CLONE (156 actions; module test binaries PASSED, exit 0) | [Void/Library build-vbs](https://git.faumaray.com/Void/Library/src/branch/build-vbs), `contrib/voidlibrary-migration/`, docs |
| Future (Plan 20 Slice 3 / Tracks C, E3 editor extensions) |"}] Live `conan` CLI verification; macOS/Windows/cross-compile; binary-variant signing and key distribution; daemon-side dependency materialization and editor plugins; `Void::Net`/`Void::Sqlite` alignment | PLANNED (unimplemented) | [21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md), [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md) | | Future (Plan 20 Slice 3 / Tracks C, E3 editor extensions) |"}] Live `conan` CLI verification; macOS/Windows/cross-compile; binary-variant signing and key distribution; daemon-side dependency materialization and editor plugins; `Void::Net`/`Void::Sqlite` alignment | PLANNED (unimplemented) | [21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md), [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md) |