We automatically upgraded renovate-bot to v19.40.0 a few hours ago and since then all our runs are failing with the following errors:
ERROR: Repository has unknown error (repository=alpha/render-prosemirror)
"err": {
"message": "Cannot read property 'initRepo' of undefined",
"stack": "TypeError: Cannot read property 'initRepo' of undefined\n at getPlatformConfig (/usr/src/app/dist/workers/repository/init/apis.js:5:43)\n at initApis (/usr/src/app/dist/workers/repository/init/apis.js:13:20)\n at initRepo (/usr/src/app/dist/workers/repository/init/index.js:20:20)\n at Object.renovateRepository (/usr/src/app/dist/workers/repository/index.js:26:24)"
}
I should maybe add that the same error occurs for all repositories.
Yes sorry, we pushed a bad commit earlier today (v19.40.0). It was reverted in v19.40.1 about 5 hours ago so you may need to manually select that version or greater if v19.40.0 is cached. If you find any registry/repository where v19.40.0 is still the latest, please let us know.
Cc @ViceIce
Ah, that's the flipside of having renovate update itself, we didn't get the newer update because the runs were failing 馃槄 Thanks for the info.
We do a --dry-run on our renovate config repo branches in CI to somewhat mitigate this case being merged, but that passed without incident, i. e. just as a thought, maybe there is some way to make --dry-run work more similar to full run in this case
That's really strange - I would have thought dry run should have failed at the same step.
Most helpful comment
Yes sorry, we pushed a bad commit earlier today (v19.40.0). It was reverted in v19.40.1 about 5 hours ago so you may need to manually select that version or greater if v19.40.0 is cached. If you find any registry/repository where v19.40.0 is still the latest, please let us know.
Cc @ViceIce