Skip to content

Add bbm dictionary content to cop cache key

Malcolm Locke requested to merge 442146-bbm-cop-checksum into master

What does this MR do and why?

Add bbm dictionary content to cop cache key

The BackgroundMigration/DictionaryFile cop relies upon the contents of the files in db/docs/batched_background_migrations/ as well as the Ruby source file of the background migration.

Currently, the Rucocop results cache will not be updated if the contents of the docs folder changes, which leads to false positives and negatives.

This change includes the contents of the docs folder in the cache checksum, so any changes in that directory will bust the result cache.

See the related issue #442146 (closed) for more information.

Edited by Malcolm Locke

Merge request reports

Loading