feat(package): read package owners through the registry client
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:02:23 +03:00
1 parent eb4af6f3d2
commit 105519924a
7 files changed
+106 -1

No files matched your search

+2
View File
@@ -229,6 +229,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- **Wave 68 (Daemon `clean --all` Coverage)**: `Daemon.clean_all_removes_entire_build_root` verifies whole-build-root removal while the connected client still receives the response.
- **Wave 69 (RegistryClient Owners Helper, via swarm)**: a swarm worker added `Package::fetch_package_owners` (GET `/api/v1/packages/<name>/owners`, explicit 404/401/403 mapping) and RegistryTests coverage (owner list contains `pub_alice`, missing package fails, anonymous private access fails); the orchestrator reviewed, built, and verified it.
## 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
@@ -72,4 +72,5 @@ Base HEAD: `fe0d1a6`
| Wave 65 (Daemon gen-tests request) | `gen_tests` daemon request + `vbs daemon gen-tests --input --output-dir`: confined registration-unit generation, returns path and case count | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Daemon 28/28, full CTest 8/8) | `src/Daemon/Daemon.cpp`, `src/Main.cpp`, `tests/DaemonTests.cpp`, `tests/CliContracts.cmake`, docs |
| Wave 66 (Signed binaries fetch) | `binaries fetch --trusted-public-key/--trusted-key-file` verifies the variant signature before download; E2E covers unsigned rejection | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Registry 7/7, full CTest 8/8) | `src/Main.cpp`, `tests/RegistryTests.cpp`, docs |
| Wave 67 (Daemon init request) | `Config::scaffold_project` extraction; `init` daemon request + `vbs daemon init --dir`: confined project scaffolding | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Daemon 29/29, full CTest 8/8) | `include/Void/Build/Config/Scaffold.hpp`, `src/Config/Scaffold.cpp`, `src/Daemon/Daemon.cpp`, `src/Main.cpp`, `tests/DaemonTests.cpp`, `tests/CliContracts.cmake`, build lists, docs |
| 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 |
| 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) |
+9
View File
@@ -1110,6 +1110,15 @@ dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
own. Asserted: response correct and `build_root` no longer exists.
- Daemon suite: **30 / 30 passed** in 55.81 s.
## RegistryClient Owners Helper via Swarm (GCC 16.2, pin `0002e74`)
- Swarm `swarm_mx89q8ak_2at3` (one worker) planned, decomposed, and completed all 6 tasks this
time; the orchestrator reviewed the diff before building.
- `Package::fetch_package_owners` returns the owners of `owner-pkg` (including `pub_alice`), fails
for a missing package (404) and for anonymous access to a private package (401).
- Registry suite after integration: **7 / 7 passed** (11.02 s); full CTest: **8 / 8 passed** in
271.07 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).