-
feat: enhance fault tolerance for kv-based caching and introduce additional tests
发布于
2026-06-14 13:11:35 +00:00 | 599 次提交 在此版本后已推送到 main- Updated Antigravity Credits fallback to handle KV store unavailability as a service error.
- Enhanced signature caching mechanisms with request-time KV access and sliding expiration.
- Added and improved tests for KV client interactions, including error handling and expiration behaviors.
- Introduced
CacheSignatureBestEffortfor non-critical signature caching and clarified function flows with required context. - Ensured consistent error reporting for missing or unavailable KV stores in various scenarios.
- Replaced direct
homekvcalls with injectable KV client interfaces forantigravityandcodex_reasoning_replaymodules. - Improved error reporting and handling for KV operations, including
KVGet,KVSet,KVDel, andKVExpire. - Introduced dedicated fake KV clients for expanded and granular test coverage.
- Added new unit tests to validate KV client behaviors and error scenarios, ensuring robustness and sliding expiration functionality.
下载附件