feat(registry,daemon): patch package metadata; report workspace info
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 10s

This commit is contained in:
faumaray committed 2026-12-04 06:13:13 +03:00
1 parent 85ff7a8c75
commit e7698a411d
8 files changed
+250 -4

No files matched your search

+2
View File
@@ -249,6 +249,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- **Wave 78 (Download ETag/304 & Daemon `status` Pending Changes)**: release and binary downloads now carry an `ETag` equal to the artifact digest and answer matching `If-None-Match` requests with a bodyless 304 before reading any bytes. A swarm worker added `pending_changes` to the daemon `status` response and covered it in the watch test (4/4 substantive tasks; build task stopped and re-run).
- **Wave 79 (Registry Metadata PATCH & Daemon `workspace_info`)**: `PATCH /api/v1/packages/<name>` updates mutable `description`/`private` metadata (auth + CSRF, publish authority, validated body, audited `package.update`), covered in the RBAC test with a dedicated private package. A swarm worker added the `workspace_info` daemon request (members plus root lockfile presence/size, `workspace:false` for plain projects) with tests (5/5 substantive tasks; build task stopped and re-run).
## 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
@@ -82,4 +82,5 @@ Base HEAD: `fe0d1a6`
| Wave 76 (Range downloads + install option tests) | `Range` support on registry downloads (206/416, Accept-Ranges); swarm extended daemon install tests | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Registry 8/8, Daemon suite passes, full CTest 8/8) | `registry/service/RegistryService.cpp`, `tests/{RegistryTests,DaemonTests}.cpp`, docs |
| Wave 77 (ETag/304 + deps offline) | registry read endpoints emit ETag and answer If-None-Match with 304; swarm added daemon `deps` `offline` flag | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Registry 8/8, Daemon suite passes, full CTest 8/8) | `registry/service/RegistryService.cpp`, `src/Daemon/Daemon.cpp`, `tests/{RegistryTests,DaemonTests}.cpp`, docs |
| Wave 78 (Download ETag + status pending changes) | download ETag/If-None-Match 304 before reads; swarm added daemon `status` `pending_changes` | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Registry 8/8, Daemon suite passes, full CTest 8/8) | `registry/service/RegistryService.cpp`, `src/Daemon/Daemon.cpp`, `tests/{RegistryTests,DaemonTests}.cpp`, docs |
| Wave 79 (Registry metadata PATCH + workspace_info) | `PATCH /api/v1/packages/<name>` for description/private (audited); swarm added daemon `workspace_info` | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Registry 8/8, Daemon suite passes, full CTest 8/8) | `registry/service/RegistryService.cpp`, `src/Daemon/Daemon.cpp`, `tests/{RegistryTests,DaemonTests}.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) |
+10
View File
@@ -1208,6 +1208,16 @@ dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
`watch_poll_reports_changed_paths` passes (71 ms).
- Registry suite: **8 / 8 passed** (11.01 s); full CTest: **8 / 8 passed** in 257.22 s.
## Registry Metadata PATCH & Daemon `workspace_info` (GCC 16.2, pin `0002e74`)
- `PATCH /api/v1/packages/meta-pkg` with an owner token updates the description (reflected by the
detail endpoint); anonymous (401), non-owner (403), empty body (400), and invalid `private`
type (400) are rejected (in `registry_rbac_immutability_csrf_xss_web_and_backup_restore`, 1.01 s).
- Swarm `swarm_mx8e977a_v5d6` (one worker) added `workspace_info` (5/5 substantive tasks; build
task stopped and re-run by the orchestrator); `workspace_info_reports_members_and_lockfile`
passes (2.28 s).
- Registry suite: **8 / 8 passed** (11.00 s); full CTest: **8 / 8 passed** in 276.04 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).