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

+5 -1
View File
@@ -89,9 +89,13 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- Verified against upstream `main` exported to `/tmp/opencode/vl-main` **without OpenSSL**: `Signing` 4/4 (the crypto round-trip actually runs, 151.8 ms) and `SignatureEnforcement` 3/3.
- The VoidLibrary pin was then bumped to `0002e74a7da94a756f55a4a5574d20b77736c185` (upstream `main`, containing #52) in [CMakeLists.txt](../../CMakeLists.txt) and [build.cpp](../../build.cpp), with the pin assertions in `tests/DescribeContracts.cmake` and `tests/ExampleContexts.cpp` updated.
- **Wave 18 (Track E3 Daemon-Side Dependency Materialization)**:
- Extracted the CLI's dependency resolution/materialization pipeline into the reusable library API `Package::resolve_and_materialize_dependencies` (`include/Void/Build/Package/Resolver.hpp`, `src/Package/Resolver.cpp`) with explicit `ResolveOptions` (project/build root, pinned lock, offline/upgrade, trusted keys, registry URL/auth); `src/Main.cpp` is now a thin adapter over it.
- The daemon `build` request now loads TOML dependency manifests, merges declared dependencies, resolves and materializes them (pinned lock + registry environment), imports native/CMake/Meson/Conan provider targets, and lowers the graph with those imported interfaces before executing. Responses report `dependencies`. Added `Daemon.build_materializes_path_dependency` (path dependency materialized, imported, linked, and built over the socket).
## 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))**: Live `conan` CLI verification (Track B3), Track C (macOS/Windows ports + dual-profile cross-compilation), Track D3 signing (SBOM, Ed25519 primitives, trusted-key enforcement, the #52 built-in-backend capability probe, and the VoidLibrary pin bump to `0002e74` done; binary-variant signing and key distribution remain), Track E3 (daemon core, bounded `describe` and build-serving done; external editor plugins and dependency materialization inside the daemon remain), and Track E4 (`Void::Net`/`Void::Sqlite` alignment) remain planned 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))**: Live `conan` CLI verification (Track B3), Track C (macOS/Windows ports + dual-profile cross-compilation), Track D3 signing (SBOM, Ed25519 primitives, trusted-key enforcement, the #52 built-in-backend capability probe, and the VoidLibrary pin bump to `0002e74` done; binary-variant signing and key distribution remain), Track E3 (daemon core, bounded `describe`, build-serving, and dependency materialization done; external editor plugins remain), and Track E4 (`Void::Net`/`Void::Sqlite` alignment) remain planned scope.
## Environment notes & upstream boundaries