feat(registry): support single-range downloads; extend install tests
This commit is contained in:
1 parent
3fa7ab086f
commit
c6436a8010
7 files changed
+345
-17
No files matched your search
@@ -243,6 +243,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
|
||||
|
||||
- **Wave 75 (HEAD/Content-Length Support & Daemon `compdb_stale`)**: the registry server (both the POSIX loop and the `Void::Net` bridge) routes `HEAD` exactly like `GET` while suppressing the body and preserving `Content-Length`/content headers; asserted for release and binary downloads. A swarm worker (4/4 substantive tasks; build task stopped and re-run) added the `compdb_stale` daemon request (marks a profile generation stale with an optional reason) and `Daemon.compdb_stale_marks_generation_stale`.
|
||||
|
||||
- **Wave 76 (Range Downloads & Install Option Tests)**: registry release/binary downloads honour a single `Range: bytes=...` header (206 + `Content-Range`, `Accept-Ranges: bytes`, suffix/open-ended forms, 416 for unsatisfiable/multipart ranges). A swarm worker extended the daemon install test with `component`, `export_cmake=false`/`export_native=false`, and empty-prefix uninstall assertions (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.
|
||||
@@ -79,4 +79,5 @@ Base HEAD: `fe0d1a6`
|
||||
| Wave 73 (Actions kind filter + releases show) | daemon `actions --kind` filter; swarm added `fetch_release_detail` and `vbs releases show` with tests | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Daemon and Registry suites pass, full CTest 8/8) | `src/Daemon/Daemon.cpp`, `src/Main.cpp`, `include/Void/Build/Package/RegistryClient.hpp`, `src/Package/RegistryClient.cpp`, `tests/{DaemonTests,RegistryTests}.cpp`, `tests/CliContracts.cmake`, docs |
|
||||
| Wave 74 (Self-excluding archives + release-detail tests) | `create_source_package` excludes its own output; swarm added release-detail RegistryTests coverage | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Registry 8/8, full CTest 8/8) | `src/Package/Archive.cpp`, `tests/{FullV1Tests,RegistryTests}.cpp`, docs |
|
||||
| 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 |
|
||||
| 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) |
|
||||
@@ -1180,6 +1180,16 @@ dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
|
||||
passes (2.23 s).
|
||||
- Registry suite: **8 / 8 passed** (11.64 s); full CTest: **8 / 8 passed** in 273.63 s.
|
||||
|
||||
## Range Downloads & Install Option Tests (GCC 16.2, pin `0002e74`)
|
||||
|
||||
- `Range: bytes=0-3` on a binary download returns 206 with the first four bytes and a
|
||||
`Content-Range` carrying the total size; `bytes=999999-` returns 416; normal GETs advertise
|
||||
`Accept-Ranges: bytes`.
|
||||
- Swarm `swarm_mx8csw7v_btv8` (one worker) extended the daemon install test (5/5 substantive
|
||||
tasks; its build task was stopped and re-run by the orchestrator); the install test passes
|
||||
(2.48 s).
|
||||
- Registry suite: **8 / 8 passed** (11.45 s); full CTest: **8 / 8 passed** in 257.65 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).
|
||||
|
||||
Reference in new issue
Block a user