diff options
| author | Claudomator Agent <agent@claudomator> | 2026-03-09 07:37:53 +0000 |
|---|---|---|
| committer | Claudomator Agent <agent@claudomator> | 2026-03-09 07:38:06 +0000 |
| commit | 45a6acf77ea2cf0e388f037441cd0297201566fd (patch) | |
| tree | 76f96b71942649b56e6aafef1a219f82cfaafc7d /internal/storage/db_test.go | |
| parent | 8b6c97e0ca25f62d8e8039199f1b1383b44380b2 (diff) | |
executor: log errors from all unchecked UpdateTaskState/UpdateTaskQuestion calls
All previously ignored errors from p.store.UpdateTaskState() and
p.store.UpdateTaskQuestion() in execute() and executeResume() now log
with structured context (taskID, state, error).
Introduces a Store interface so tests can inject a failing mock store.
Adds TestPool_UpdateTaskState_DBError_IsLoggedAndResultDelivered to
verify that a DB write failure is logged and the result is still
delivered to resultCh.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/storage/db_test.go')
0 files changed, 0 insertions, 0 deletions
