feat(registry): add the remote worker lease and result protocol
This commit is contained in:
1 parent
c2b80416a5
commit
1ae72e4d07
7 files changed
+336
-1
No files matched your search
@@ -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).
|
||||
|
||||
Reference in new issue
Block a user