feat(worker): drain the queue with parallel workers
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 9s
VoidBuildSystem CI / sanitizers-gcc16 (push) Failing after 7s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 16s
VoidBuildSystem CI / fuzz-clang (push) Failing after 6s
VoidBuildSystem CI / wine-windows-gcc16 (push) Failing after 1m8s

This commit is contained in:
faumaray committed 2026-12-05 13:17:25 +03:00
1 parent af2be817a5
commit ac08887d8f
6 files changed
+176 -30

No files matched your search

+9
View File
@@ -1787,6 +1787,15 @@ VOID_INCLUDE_DIR=/tmp/opencode/vl-pin/include dev cpp -c bash fuzz/run.sh 30
`output.txt` and `"exit_code":0`, and the output blob is retrievable with the exact bytes.
- Full CTest: **8 / 8 passed** in 301.38 s.
## Parallel Worker Drain (GCC 16.2, pin `0002e74`)
- `vbs worker --queue --parallel N` starts N lease/execute loops sharing one worker
registration; the registry's exclusive leases guarantee each action runs once.
- `RegistryTests.worker_parallel_drains_queue_without_duplicates` **passed** (836 ms): two
queued actions (`sleep 0.4` each) both started exactly once, their start/end intervals
overlapped (real concurrency), and `GET /api/v1/queue` reported `"pending":[]` afterwards.
- Full CTest: **8 / 8 passed** in 303.93 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).