It would be nice to have integration tests for the init-db.js script as well as the data update/reconciliation process (T325635, T305724).
For now, we would run these integration tests locally as part of the code review process for a merge request.
Once we finish T339352: Create MySQL container in CI for integration tests, we'd be able to run these tests in CI.