feat(registry,daemon): ETag downloads; report pending changes
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 4s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 11s

This commit is contained in:
faumaray committed 2026-12-04 05:57:16 +03:00
1 parent fdfab9277b
commit 85ff7a8c75
8 files changed
+65 -3

No files matched your search

+2
View File
@@ -247,6 +247,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- **Wave 77 (ETag/304 & Daemon `deps --offline`)**: registry release detail, binary listing, and binary detail responses now carry a strong `ETag` (+ `Cache-Control: no-cache`) and honour `If-None-Match` with a bodyless 304; asserted in the registry binary-variant test. A swarm worker (5/5 substantive tasks; build task stopped and re-run) added an `offline` boolean to the daemon `deps` request with validation and tests.
- **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).
## 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
@@ -81,4 +81,5 @@ Base HEAD: `fe0d1a6`
| Wave 75 (HEAD support + daemon compdb_stale) | registry HEAD routes like GET without a body (POSIX and Net); swarm added daemon `compdb_stale` with tests | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Registry 8/8, Daemon suite passes, full CTest 8/8) | `registry/service/HttpServer.cpp`, `src/Daemon/Daemon.cpp`, `tests/{RegistryTests,DaemonTests}.cpp`, docs |
| 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 |
| 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
@@ -1199,6 +1199,15 @@ dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
passes (4.72 s) with the offline and invalid-type assertions.
- Registry suite: **8 / 8 passed** (21.72 s); full CTest: **8 / 8 passed** in 289.03 s.
## Download ETag/304 & Daemon `status` Pending Changes (GCC 16.2, pin `0002e74`)
- A binary download returns an `ETag`; repeating the GET with `If-None-Match` returns 304 with an
empty body (asserted in `registry_binary_variant_publish_download_and_materialize`).
- Swarm `swarm_mx8dtkrm_1trd` (one worker) added `pending_changes` to the daemon `status`
response (4/4 substantive tasks; build task stopped and re-run by the orchestrator);
`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.
## 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).