feat(registry): store and serve signed binary variants
This commit is contained in:
1 parent
64116f6e0d
commit
663215f7f3
7 files changed
+378
-17
No files matched your search
@@ -128,6 +128,10 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
|
||||
- Added the `watch_wait` daemon request (`vbs daemon ide wait [--timeout-ms]`): a bounded long poll (0–5000 ms, default 2000) that returns buffered changes immediately or waits on the warm inotify watcher, then reports `changed`, `sequence`, `watch_events`, and `timed_out`. Because the daemon is single-threaded the wait is bounded; other requests queue behind it.
|
||||
- Added `Daemon.watch_wait_long_polls_until_change_and_times_out` (quiet timeout, then a writer thread wakes the poll) and a CLI help contract; Daemon suite is now 13 cases.
|
||||
|
||||
- **Wave 28 (Registry Binary-Variant Storage & Download Endpoints)**:
|
||||
- `vbs-registry` now stores per-release binary variants (`BinaryReleaseMeta` in `ReleaseMeta`): `PUT /api/v1/packages/<name>/<version>/binaries/<variant>` (publish scope + CSRF, 128-byte bounded variant ids, upload/quota limits, optional `X-Binary-Signature`/`X-Binary-Public-Key` with 128/64-hex validation, idempotent same-digest and 409 immutable conflicts) and `GET .../binaries/<variant>/download` (read permission, CAS integrity re-verification). Metadata persists in the registry database and is listed in package detail JSON.
|
||||
- `RegistryTests.registry_binary_variant_publish_download_and_materialize`: unauthorized publish rejected, malformed signature rejected, signed artifact published and listed, downloaded byte-for-byte, conflicting digest rejected, and the registry-served artifact materialized through the signed `materialize_binary_variant` path.
|
||||
|
||||
## 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 and distribution, binary-variant signing and distribution materialization, the #52 built-in-backend capability probe, and the VoidLibrary pin bump to `0002e74` done), Track E3 (daemon core, bounded `describe`, build-serving, dependency materialization, daemon-backed IDE metadata, compdb export, IDE config generation, editor watch poll and bounded long-poll done; dedicated external editor plugins remain), and Track E4 (`Void::Net`/`Void::Sqlite` alignment) remain planned scope.
|
||||
|
||||
Reference in new issue
Block a user