feat(registry): add the distributed action queue
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 6s
VoidBuildSystem CI / sanitizers-gcc16 (push) Failing after 2s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 8s
VoidBuildSystem CI / wine-windows-gcc16 (push) Failing after 49s

This commit is contained in:
faumaray committed 2026-12-05 11:27:08 +03:00
1 parent 0674b7f9fe
commit 2776e459e3
6 files changed
+181

No files matched your search

+2
View File
@@ -340,6 +340,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- **Wave 123 (`vbs worker` Client)**: added `vbs worker --registry --action-key --record FILE [--build-dir] [--token-env] [--lease-seconds]`, which registers a worker, leases the action, publishes each referenced output blob and the action record to the registry CAS (via the StateStore remote cache), and submits the result with the lease token. Supporting APIs: `StateStore::export_action_record_json`, `Package::register_worker`/`lease_action`/`submit_action_result`. `RegistryTests.worker_cli_leases_publishes_and_reports_result` verifies the CAS record and blob after a worker run.
- **Wave 124 (Distributed Action Queue & VoidLibrary PR)**: the registry gained an in-memory action queue (`POST /api/v1/queue` to enqueue keys, `POST /api/v1/queue/lease` to lease the oldest unleased key to a worker, `GET /api/v1/queue` to list pending/leased keys), reusing the existing lease TTL/tokens; a completed result removes its key from the queue. `RegistryTests.worker_action_queue_enqueue_lease_and_complete` covers enqueue, ordered leases, exhaustion and listing. Pull request [Void/Library#64](https://git.faumaray.com/Void/Library/pulls/64) was opened for the native VoidLibrary build branch.
## Remaining future scope
- **Superiority plan ([22-superiority-and-gaps.md](../roadmap/22-superiority-and-gaps.md), 2026-12-05)**: revised platform strategy - **macOS deferred**, **Windows via MinGW-w64 cross-compilation + Wine execution** (`dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc`, `dev cpp-gcc -p wine64`), native MSVC deferred; plus packaging parity (ZIP/DEB/RPM), IDE ecosystem, migration tooling, test-runner parity, benchmarks, CI runners, and remote execution in prioritized order.