Source code
Cost
Performance
Missing cache TTL / unbounded cache
Part of the Cost controls check · fix arrives as a pull request
What it is
A cache is written without a TTL or eviction policy, or a hot read path has no cache in front of it at all.
Why it matters
An unbounded cache grows until the process runs out of memory, and its entries can serve stale data indefinitely. The opposite case — no cache on a repeated read — pays the full query cost on every request for data that rarely changes.
How to fix it
Set an explicit TTL and a size bound with an eviction policy on every cache. For uncached hot reads, add a short TTL first and only reach for explicit invalidation once you know the access pattern.
Run them all on your app
Connect your repo and your live services with read-only scopes. The first scan is free, and nothing changes without your approval.