HomeSoftware Heritage

runner: fix task_run configuration bootstrap

Description

runner: fix task_run configuration bootstrap

ensure the task_run is created before sending the celery task; this later task
could be executed before the db commit. As a result, the task_run may not have
its 'started' field properly set; even the 'ended' and 'status'.

Details

Provenance
douarddaAuthored on Feb 13 2019, 2:28 PM
douarddaPushed on Feb 13 2019, 3:25 PM
Parents
rDSCH3d761f162de3: sql: add the swh-lister-bitbucket-* task types
Branches
Unknown
Tags
Unknown
Build Status
Buildable 4204
Build 5545: test-and-build