fix(slack): bound username cache with ttl and lru eviction

This commit is contained in:
William Valentin
2026-02-15 22:21:06 -08:00
parent a525ec7b2d
commit 05d8abc79d
4 changed files with 99 additions and 7 deletions
+13 -1
View File
@@ -2601,10 +2601,22 @@
"docs/plans/analysis/2026-02-16-codebase-audit-report.md"
],
"test_status": "pnpm test:run src/models/retry.test.ts + pnpm typecheck passing"
},
"audit-followup-slack-username-cache-bounds": {
"status": "completed",
"date": "2026-02-16",
"updated": "2026-02-16",
"summary": "Added bounded Slack user-name caching with TTL expiry and LRU eviction to prevent unbounded cache growth in long-running deployments.",
"files_modified": [
"src/channels/slack/adapter.ts",
"src/channels/slack/adapter.test.ts",
"docs/plans/analysis/2026-02-16-codebase-audit-report.md"
],
"test_status": "pnpm test:run src/channels/slack/adapter.test.ts + pnpm typecheck passing"
}
},
"overall_progress": {
"total_test_count": 1765,
"total_test_count": 1770,
"all_tests_passing": true,
"p0_completion": "3/3 (100%)",
"p1_completion": "4/4 (100%)",