发布

  • feat: enhance fault tolerance for kv-based caching and introduce additional tests

    frostbyte_neo 发布于 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 CacheSignatureBestEffort for 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 homekv calls with injectable KV client interfaces for antigravity and codex_reasoning_replay modules.
    • Improved error reporting and handling for KV operations, including KVGet, KVSet, KVDel, and KVExpire.
    • 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.
    下载附件