notifications-api icon indicating copy to clipboard operation
notifications-api copied to clipboard

add migration `0490_job_st_fin_allrows_backpop`

Open risicle opened this issue 10 months ago • 2 comments

A follow-up to #4323

This updates all finished jobs more than 24h since scheduled_for to the new finished all notifications created status. why 24h? 24h is how far back the check-for-missing-rows-in-completed-jobs celery task will look and so anything older than that won't get converted to finished all notifications created automatically.

There shouldn't be any jobs that make it to 24h without all rows or being moved to a failed state by then anyway...

risicle avatar Jan 31 '25 14:01 risicle

Is the squawk failure a matter of it being confused by the %(...)s parameter syntax that sqlalchemy is using?

risicle avatar Jan 31 '25 15:01 risicle

There’s already a 487 now so you’ll need to update the version number in this PR

quis avatar Feb 12 '25 15:02 quis