Skip to content

batches: Isolate `has_webhooks` oobmigration

Warren Gifford requested to merge ef/isolate-oobmigration into main

Created by: efritz

This PR isolates oobmigration #13 (closed) so that it does not need any behavioral imports that can change over time. This is in preparation for its deprecation, where it will run only as part of the migrator for historic upgrades. We want to freeze this migration as much as possible, because we want to treat it with consistent behavior over time to allow the migrator to make some assumptions (like the registered code for an oobmigration is valid at any point in its lifetime).

This PR makes progress towards #38050 (closed), but still needs to be fed configuration keys from the worker. A follow-up PR will take care of this.

Feel free to review by-commit which should make the refactoring very obvious.

Test plan

Existing unit tests.

Merge request reports

Loading