Root cause: WorkerService.ClaimTask() was modifying the audit entry in memory but never persisting it to the database. This caused build tasks to remain stuck at "pending" status even after being claimed. Changes: - Add UpdateStatus method to port.BuildAudit interface - Implement UpdateStatus in postgres.BuildAuditRepository - Fix ClaimTask to call audit.UpdateStatus() to persist status - Add test coverage for audit update during task claim - Update all mock implementations Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| build_executor.go | ||
| git_operations_test.go | ||
| git_operations.go | ||
| mock_test.go | ||
| queue_maintenance_test.go | ||
| queue_maintenance.go | ||
| queue_processor.go | ||
| work_executor_test.go | ||
| work_executor.go | ||