Redis-cache big key: cache:gitlab:banzai/commit:<SHA>/safe_message/single_line
It looks like this stores the rendered Commit#safe_message
after it has been rendered through the single_line
pipeline when being mentioned somewhere.
This is done through the attr_mentionable :safe_message, pipeline: :single_line
.
It does look like the key contains the entire commit message (compressed through rails cache), rather than just the first line. Perhaps we could use already cached title for this, which runs through the same pipeline?
Edited by Bob Van Landuyt