summaryrefslogtreecommitdiff
path: root/internal/task/parser.go
diff options
context:
space:
mode:
authorClaudomator Agent <agent@claudomator>2026-03-09 07:37:53 +0000
committerClaudomator Agent <agent@claudomator>2026-03-09 07:38:06 +0000
commit45a6acf77ea2cf0e388f037441cd0297201566fd (patch)
tree76f96b71942649b56e6aafef1a219f82cfaafc7d /internal/task/parser.go
parent8b6c97e0ca25f62d8e8039199f1b1383b44380b2 (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/task/parser.go')
0 files changed, 0 insertions, 0 deletions