feat(daemon): report per-unit compile arguments; deepen registry search tests
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 8s

This commit is contained in:
faumaray committed 2026-12-04 04:38:05 +03:00
1 parent 2b18a0331a
commit 624016d904
9 files changed
+335 -27

No files matched your search

+2
View File
@@ -235,6 +235,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- **Wave 71 (Member-Filtered Daemon `describe` & Test Executable-Path Cleanup)**: `describe` accepts an optional `member` (workspace roots only; unknown members rejected) so one member can be described without evaluating the others. A swarm worker replaced the remaining `/proc/self/exe` lookups in `tests/{Registry,FullV1,SelfHost}Tests.cpp` with `Platform::current_executable_path()` (5/5 substantive tasks; its final build task was stopped and re-run by the orchestrator).
- **Wave 72 (Daemon Target Flags & Registry Search Test Depth)**: added the `target_flags` daemon request (`vbs daemon target flags --name [--file] [--profile] [--member]`) returning each compilation unit's bounded arguments, defines, and compile options (unknown targets rejected, file-suffix filter). A swarm worker extended `RegistryTests` with search `q` filtering (name and description), offset pagination envelope assertions, far-offset empty pages, and invalid offset/limit rejection (4/4 substantive tasks; its final build task was stopped and re-run by the orchestrator).
## Remaining future scope
- **Post-v1 Expansion Roadmap ([21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md) & [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Track C (macOS/Windows ports + dual-profile cross-compilation) and dedicated external editor plugins remain planned; Track D3 signing (SBOM, Ed25519 primitives, trusted-key enforcement/distribution, binary-variant signing/distribution) and Track E3 daemon capabilities are implemented, and Track E4 now uses `Void::Net` for the registry client/server and remote cache plus `Void::Sqlite` for the StateStore when available.
+1
View File
@@ -75,4 +75,5 @@ Base HEAD: `fe0d1a6`
| Wave 69 (RegistryClient owners helper, via swarm) | `fetch_package_owners` in RegistryClient + RegistryTests coverage (owners list, missing package 404, anonymous private 401) | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Registry 7/7, full CTest 8/8) | `include/Void/Build/Package/RegistryClient.hpp`, `src/Package/RegistryClient.cpp`, `tests/RegistryTests.cpp`, docs |
| Wave 70 (Track C1 executable path + daemon host info) | `Platform::current_executable_path()` replacing `/proc/self/exe` in Main.cpp; daemon `info` reports `host_os`/`host_supported`/`backends` (swarm, 5/5 tasks) | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Core and Daemon suites pass, full CTest 8/8) | `include/Void/Build/Platform/FileOps.hpp`, `src/Platform/Linux/FileOps.cpp`, `src/Main.cpp`, `src/Daemon/Daemon.cpp`, `tests/{CoreEngineTests,DaemonTests}.cpp`, docs |
| Wave 71 (Member-filtered describe + test path cleanup) | `describe` `member` filter in the daemon; swarm replaced `/proc/self/exe` in three test files | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Daemon suite and full CTest 8/8) | `src/Daemon/Daemon.cpp`, `src/Main.cpp`, `tests/{DaemonTests,RegistryTests,FullV1Tests,SelfHostTests}.cpp`, docs |
| Wave 72 (Daemon target flags + registry search tests) | `target_flags` daemon request + `vbs daemon target flags`; swarm deepened RegistryTests search/pagination coverage | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Daemon and Registry suites pass, full CTest 8/8) | `src/Daemon/Daemon.cpp`, `src/Main.cpp`, `tests/{DaemonTests,RegistryTests}.cpp`, `tests/CliContracts.cmake`, 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) |
+12
View File
@@ -1139,6 +1139,18 @@ dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
substantive tasks; its last build task was stopped and re-run by the orchestrator).
- Full CTest: **8 / 8 passed** in 241.04 s.
## Daemon Target Flags & Registry Search Test Depth (GCC 16.2, pin `0002e74`)
- `Daemon.target_flags_reports_compile_units`: target `app` returns a compile unit for
`main.cpp` with a non-empty `arguments` array, `file:"nope.cpp"` returns no units, and an unknown
target is rejected.
- Swarm `swarm_mx8b201o_acox` (one worker) extended `RegistryTests` with `q` name/description
filtering, offset pagination envelope checks, far-offset empty pages, and invalid
offset/limit rejection (4/4 substantive tasks; the final build task was stopped and re-run by
the orchestrator).
- `registry_rbac_immutability_csrf_xss_web_and_backup_restore` passes (975 ms) with the extended
assertions; full CTest: **8 / 8 passed** in 243.47 s.
## 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).