From e9d8896309d2fc2600bcf801c40e51a6d418abcd Mon Sep 17 00:00:00 2001 From: "glm-5.2" Date: Tue, 23 Jun 2026 13:19:48 +0000 Subject: [PATCH] tasks: mark vault/cache-zeroization-test completed --- tasks/vault/cache-zeroization-test.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tasks/vault/cache-zeroization-test.md b/tasks/vault/cache-zeroization-test.md index fdb9c41..4c3a142 100644 --- a/tasks/vault/cache-zeroization-test.md +++ b/tasks/vault/cache-zeroization-test.md @@ -1,7 +1,7 @@ --- id: vault/cache-zeroization-test name: Verify and test that HashMap::clear() drops CachedKey values triggering zeroization -status: pending +status: completed depends_on: [] scope: single risk: low @@ -82,4 +82,10 @@ file. It can run in parallel with drift #4. ## Summary -> To be filled on completion \ No newline at end of file +Added a `drop_tracker` test module proving `HashMap::clear()`/`remove()`/`insert` +(replace) drop values triggering their `Drop` impls, plus explicit tests for LRU +eviction (`test_lru_eviction_drops_evicted_cached_key`), TTL expiry +(`test_ttl_expiry_evicts_entry_on_access`), and `clear()` +(`test_clear_removes_all_entries_and_empties_cache`). The lock()-clears-cache +criterion is covered by existing `test_lock_clears_all_cache_entries` in +service.rs. All lib + integration tests pass; clippy clean. Merged to develop. \ No newline at end of file