diff options
| author | Stefan Boberg <[email protected]> | 2026-03-18 00:14:52 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-03-18 00:14:52 +0100 |
| commit | 5ccc80434fa4e6f92bd98c4afe0df46e214e4c64 (patch) | |
| tree | 2681155020af73ac8cdd99665aacf96185308a98 /thirdparty | |
| parent | updated zencompute CLAUDE.md (diff) | |
| download | zen-sb/compute-batch.tar.xz zen-sb/compute-batch.zip | |
Propagate errors from FunctionRunner::RegisterWorkersb/compute-batch
Change RegisterWorker return type from void to [[nodiscard]] bool across
the FunctionRunner hierarchy so callers can detect registration failures
at the point of registration rather than at action execution time.
- FunctionRunner pure virtual: void -> [[nodiscard]] bool
- LocalProcessRunner: always returns true (debug dump only)
- RemoteHttpRunner: returns false on the three HTTP error paths (removes
the TODO comments), true on success/already-known
- BaseRunnerGroup: returns true only if all runners succeeded
- Callers in computeservice.cpp log warnings on failure but continue
best-effort
Diffstat (limited to 'thirdparty')
0 files changed, 0 insertions, 0 deletions