Number the tasks in a job, indicating their creation order. This gives the web interface something to sort on that doesn't change on task updates.
FetchWorkerTask()
Ref: #104305 No functional changes
Convert the task scheduler from gorm to sqlc. This makes the query considerably easier to read. No functional changes intended.