feat(registry): add the remote worker lease and result protocol
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 8s
VoidBuildSystem CI / sanitizers-gcc16 (push) Failing after 5s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 10s
VoidBuildSystem CI / wine-windows-gcc16 (push) Failing after 52s

This commit is contained in:
faumaray committed 2026-12-05 11:08:23 +03:00
1 parent c2b80416a5
commit 1ae72e4d07
7 files changed
+336 -1

No files matched your search

+11
View File
@@ -1676,6 +1676,17 @@ VOID_INCLUDE_DIR=/tmp/opencode/vl-pin/include dev cpp -c bash fuzz/run.sh 30
their implementations are not header-only.
- No repo build changed, so the last full CTest run (8/8, 281.07 s at `fd9e867`) remains valid.
## Remote Execution Worker Protocol (GCC 16.2, pin `0002e74`)
- `vbs-registry` adds `POST /api/v1/workers`, `POST /api/v1/workers/<id>/heartbeat`,
`GET /api/v1/workers`, `POST /api/v1/actions/lease`, and
`POST /api/v1/actions/<key>/result` on top of the HTTP CAS.
- `RegistryTests.remote_worker_registration_lease_and_result_upload` **passed** (391 ms):
registration returns a worker id, heartbeat and listing work, a lease returns a token and the
current record, a second lease returns 409, a wrong token returns 403, the leased token stores
the result (visible through the CAS GET), and leasing an unknown action returns 404.
- Full CTest: **8 / 8 passed** in 280.81 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).