feat(daemon): materialize project dependencies for daemon build requests
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 58s

This commit is contained in:
faumaray committed 2026-12-03 19:32:06 +03:00
1 parent 42172a24f8
commit f5c0c9f09d
12 files changed
+580 -287

No files matched your search

+19
View File
@@ -351,6 +351,25 @@ dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
`vbs_selfhost_tests` 92.98 s, `vbs_registry_tests` 10.99 s, `vbs_cli_contract` 7.61 s).
- `clang-format --dry-run --Werror` passes on `build.cpp` and `tests/ExampleContexts.cpp`.
## Track E3 Daemon Dependency Materialization (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Daemon suite: **8 / 8 passed** in 13.11 s, including
`build_materializes_path_dependency`: the daemon loads the project's `build.cpp`, materializes the
declared path dependency through the extracted `Package::resolve_and_materialize_dependencies`,
imports its native provider target, lowers the graph with the imported interface, executes the
compile+link, and reports `dependencies >= 1` with the output binary present.
- Full CTest: **8 / 8 passed** in 197.95 s (`vbs_v1_tests` 74.23 s, `vbs_selfhost_tests` 93.24 s,
`vbs_registry_tests` 10.70 s, `vbs_cli_contract` 7.51 s).
- `clang-format --dry-run --Werror` passes on `src/Daemon/Daemon.cpp`, `src/Main.cpp`,
`src/Package/Resolver.cpp`, `include/Void/Build/Package/Resolver.hpp`, and
`tests/DaemonTests.cpp`.
## 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).