You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
parseDiffFromFile defaults to low-specificity cache key #1052
If both oldFile and newFile have a cacheKey, the resulting FileDiffMetadata will automatically receive a combined cache key (format: oldKey:newKey).
It would be fair to assume that if cacheKey is not set, it will not be cached. However, the current implementation defaults each file cache key to file name:
Oh yeah, that was a change that slipped through with the edit feature that I ultimately never saw, i'll need to dig into this to figure out why it was changed and if it's necessary. Thanks for the callout!
Activity
amadeus commentedon Aug 4, 2026
Oh yeah, that was a change that slipped through with the edit feature that I ultimately never saw, i'll need to dig into this to figure out why it was changed and if it's necessary. Thanks for the callout!
AbarnaaSree commentedon Aug 5, 2026
I'd like to work on this. I'll investigate whether removing the filename fallback affects the edit feature and propose a fix if it doesn't.
amadeus commentedon Aug 5, 2026
Appreciate the offer but I’ve already started on this in #1055, it’s a bit more complicated than simply removing the lines
amadeus commentedon Aug 28, 2026
Fixed in the next beta release