Skip to content

Use serialize_keys as part of highlight diff cache key

Jan Provaznik requested to merge jprovazn-fix-mr-caching into master

What does this MR do?

It makes highlight diff cache key dependent on keys used in the cached value - this assures that old/invalid cache is not used if we change the format of cached data.

Are there points in the code the reviewer needs to double check?

It was not possible to add new diff comments (see https://gitlab.com/gitlab-org/gitlab-ce/issues/48801)

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #48801 (closed)

Merge request reports