Sybren A. Stüvel
b66490831c
The task state machine expects that `task.Job` is set correctly. Since SQLC does not automatically fill this field (and rightfully so), I've added a bit of Go code that fetches the job in a separate query. A TODO is added as a reminder that it would be better for the task state machine itself to fetch the job when needed. |
||
---|---|---|
.. | ||
mocks | ||
interfaces.go | ||
task_state_machine_test.go | ||
task_state_machine.go | ||
task_statuses.go | ||
worker_requeue_test.go | ||
worker_requeue.go |