Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(RepositoryCache): No hashing in cache key #248

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

KaylaBrady
Copy link
Collaborator

Summary

No ticket, follow up to #247.

What is this PR for?

@boringcactus pointed out in slack that the previous fix doesn't entirely eliminate the possibility of cache collisions. We can prevent them entirely by including the entire contents of args without hashing them. Based on splunk results for our existing queries, the longest expected value for inspect(args) is 891.

@KaylaBrady KaylaBrady requested a review from a team as a code owner November 25, 2024 21:55
@KaylaBrady KaylaBrady requested review from EmmaSimon and removed request for a team November 25, 2024 21:55
@KaylaBrady KaylaBrady merged commit dcb12c2 into main Nov 25, 2024
4 checks passed
@KaylaBrady KaylaBrady deleted the kb-no-cache-key-hash branch November 25, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants