yao/agent/robot/cache
Max 12386ddb8b Refactor Cache Auto-Refresh Tests for Stability and Clarity
- Updated the auto-refresh tests in cache_test.go to utilize fresh cache instances for each test, ensuring isolation and reliability.
- Improved assertions to verify cache stability after stopping auto-refresh and confirmed that multiple start calls replace previous ones without leaking goroutines.
- Added tests to check for safe behavior during rapid start/stop cycles and ensured that stopping without starting does not cause panics.
- Enhanced overall test coverage and clarity, contributing to better maintainability and understanding of the cache's auto-refresh functionality.
2026-01-15 11:00:28 +08:00
..
cache.go Enhance Robot Cache Implementation and Documentation 2026-01-14 18:54:18 +08:00
cache_test.go Refactor Cache Auto-Refresh Tests for Stability and Clarity 2026-01-15 11:00:28 +08:00
load.go Enhance Robot Cache Implementation and Documentation 2026-01-14 18:54:18 +08:00
refresh.go Enhance Robot Cache Implementation and Documentation 2026-01-14 18:54:18 +08:00