feat(worker): add the vbs remote-execution worker client
This commit is contained in:
1 parent
1ae72e4d07
commit
0674b7f9fe
10 files changed
+423
-1
No files matched your search
@@ -338,6 +338,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
|
||||
|
||||
- **Wave 122 (Remote Execution Worker Protocol)**: `vbs-registry` now exposes an in-memory worker/lease protocol on the existing CAS - `POST /api/v1/workers` (registration), `/workers/<id>/heartbeat`, `GET /workers`, `POST /api/v1/actions/lease` (exclusive lease with TTL and token) and `POST /api/v1/actions/<key>/result` (token-checked result upload that requires every referenced output blob to exist). `RegistryTests.remote_worker_registration_lease_and_result_upload` covers registration, heartbeat, lease/conflict, wrong-token rejection, result publication and the unknown-action 404.
|
||||
|
||||
- **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.
|
||||
|
||||
## 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.
|
||||
|
||||
Reference in new issue
Block a user