1.1 KiB
1.1 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | |
|---|---|---|---|---|---|---|---|
| 09-key-scoped-cache-invalidation | Key-scoped PR cache invalidation | done | 4 |
|
plan.md | ../../specs/ui/github-pr-review-actions.md |
Task 09: Key-scoped PR cache invalidation
Acceptance
- Review re-request invalidation prevents an older fill for the affected PR from repopulating either feedback or status cache.
- An unrelated PR's concurrent cache fill still completes and remains cached.
- Existing cache-wide clear and repository-error invalidation race guarantees remain unchanged.
- Deterministic barrier tests cover same-key and unrelated-key concurrent fills.
Ownership
apps/backend/internal/github/ttl_cache.goapps/backend/internal/github/ttl_cache_test.goapps/backend/internal/github/service_pr.goapps/backend/internal/github/service_request_review_test.go
Do not convert repository-error caching or edit controllers, transports,
frontend, E2E, docs, spec, or plan.md.
Output contract
Use TDD. Report RED/GREEN evidence, exact race-enabled checks, files changed,
compatibility risks, and set only this task file's status to done.