feat: add purgeInMemoryCaches() to DederProjectInternals - #103
Conversation
- Add CacheStatsRegistry.invalidateAll() to flush all registered Scaffeine caches - Simplify CacheStatsRegistry.register() to accept SCache directly - Add PurgeCachesResult case class + purgeInMemoryCaches() to DederProjectInternals - Implement via callback pattern in DederProjectInternalsImpl - Add DederBspServer.cleanupCompletedInFlight() for stale BSP entries - Implement purge logic in DederProjectState with 10s idle wait, cache invalidation, history clearing, BSP cleanup, and GC suggestion - Wire callback in ServerMain - Add unit test for invalidateAll()
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (11)
📝 WalkthroughWalkthroughAdds a structured ChangesCache Purge Implementation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Summary by CodeRabbit
New Features
Bug Fixes