feat(worker): run a continuous queue loop
This commit is contained in:
1 parent
4f3701c740
commit
8dac19c3ea
5 files changed
+139
-70
No files matched your search
@@ -1715,6 +1715,12 @@ VOID_INCLUDE_DIR=/tmp/opencode/vl-pin/include dev cpp -c bash fuzz/run.sh 30
|
||||
direct and queue-driven modes; afterwards `GET /api/v1/queue` reports `"pending":[]`.
|
||||
- Full CTest: **8 / 8 passed** in 287.29 s.
|
||||
|
||||
## Continuous Worker Loop (GCC 16.2, pin `0002e74`)
|
||||
|
||||
- `vbs worker --queue` (no `--record`) loops: it leases a queued action, exports the record from the local state store, publishes blobs/record, submits the result, and repeats until the queue is empty; `--once` stops after one action. Lease failures are retried up to three times; locally unbuilt actions are skipped with a warning.
|
||||
- `RegistryTests.worker_cli_leases_publishes_and_reports_result` **passed** (506 ms), covering direct, single queue and continuous loop modes; the loop output contains the action key and `queue empty`.
|
||||
- Full CTest: **8 / 8 passed** in 294.19 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