Enqueuer: log the migration status if available
🔥 Problem
Right now the Enqueuer is processing the next
repos and we can have different logic executed:
- We start the migration on the repo. This repo will end up in the
pre_importing
state. - The repo doesn't exist on the container registry. This repo will end up in the
import_skipped
state. - We had an issue and the repo will end up in the
import_aborted
state.
From the current logs of the Enqueuer job. It's hard to know what is the final migration status.
This is not a blocking issue but it would be nice to have this: it helps with debugging migrations.
🚒 Solution
When logging the repo id and path, also dump the migration_status
value.