1.1 KiB
1.1 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | |
|---|---|---|---|---|---|---|---|
| 11-reclaim-cache-epochs | Reclaim key invalidation metadata | done | 5 |
|
plan.md | ../../specs/ui/requirements/github-pr-review-actions.md |
Task 11: Reclaim Key Invalidation Metadata
Acceptance
- Per-key invalidation still prevents affected stale fills and preserves unrelated fills.
- Version metadata is retained only while an in-flight call can still write under that key; completed/high-cardinality invalidations do not grow an unbounded map.
- Cache-wide
clear()and repository-errordel()semantics remain unchanged. - Deterministic race tests and a high-cardinality reclamation test cover the lifecycle.
Ownership
apps/backend/internal/github/ttl_cache.goapps/backend/internal/github/ttl_cache_test.goapps/backend/internal/github/service_request_review_test.goonly if needed.- Task 11 status only.
Do not edit service/controller/client/frontend/E2E/docs/spec/plan.md.
Output contract
Use TDD, avoid sleeps, run race-enabled tests, report exact checks and
compatibility risk, and set only this task file to done.