Bound size of alreadyRunAnalyses cache to be consistent#1334
Conversation
WalkthroughThe DataFlow class was modified to replace its HashSet-based tracking mechanism with a Guava Cache for storing already-run analyses. The Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📚 Learning: 2025-08-29T18:41:43.584ZApplied to files:
📚 Learning: 2025-08-14T18:50:06.159ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1334 +/- ##
=========================================
Coverage 88.41% 88.41%
Complexity 2574 2574
=========================================
Files 97 97
Lines 8617 8618 +1
Branches 1713 1713
=========================================
+ Hits 7619 7620 +1
Misses 501 501
Partials 497 497 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The cache (introduced in #1328) was not size-bounded in the same way as the other caches in the
Dataflowclass, which could lead to very subtle bugs.Summary by CodeRabbit