test(memory): isolate telegram bot hotspot

This commit is contained in:
Vincent Koc 2026-03-24 10:46:17 -07:00
parent 86de8b65b1
commit 488ad4ac70
1 changed files with 4 additions and 0 deletions

View File

@ -86,6 +86,10 @@
"file": "extensions/telegram/src/bot.create-telegram-bot.test.ts",
"reason": "This Telegram bot bootstrap suite is green alone but can inherit stale command-registration spies and bot runtime state from the shared channel lane; keep it isolated for deterministic command assertions."
},
{
"file": "extensions/telegram/src/bot.test.ts",
"reason": "This Telegram bot runtime suite measured ~819.9 MiB RSS growth locally; keep it in its own forked channel lane so the shared channels worker can recycle immediately after the hotspot file."
},
{
"file": "extensions/telegram/src/webhook.test.ts",
"reason": "This Telegram webhook suite hoists grammY bot and InputFile mocks; keep it in its own forked channel lane so shared workers do not reuse telegram runtime modules with mismatched constructors."