mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-26 16:06:16 +00:00
test: move telegram fetch coverage into extensions
This commit is contained in:
8
test/fixtures/test-parallel.behavior.json
vendored
8
test/fixtures/test-parallel.behavior.json
vendored
@@ -106,10 +106,6 @@
|
||||
"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/fetch.test.ts",
|
||||
"reason": "This Telegram transport suite measured ~759.3 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/sendchataction-401-backoff.test.ts",
|
||||
"reason": "This Telegram send-chat-action backoff suite hoists infra-runtime sleep mocks and remains a relatively heavy shared hotspot; keep it isolated so top-level concurrency can overlap it instead of extending the shared channels batch."
|
||||
@@ -210,6 +206,10 @@
|
||||
"file": "extensions/line/src/send.test.ts",
|
||||
"reason": "This LINE send suite hoists SDK and account/token mocks; keep it isolated so shared extension workers do not reuse cached send modules that bypass those mocks."
|
||||
},
|
||||
{
|
||||
"file": "extensions/telegram/src/fetch.test.ts",
|
||||
"reason": "This Telegram transport suite is extension-owned and still measures high RSS locally; keep it in its own forked extensions lane so the shared worker can recycle immediately after the hotspot."
|
||||
},
|
||||
{
|
||||
"file": "extensions/tavily/src/tavily-extract-tool.test.ts",
|
||||
"reason": "This extract-tool suite hoists the Tavily client mock and imports lazily; keep it isolated so shared extension workers do not reuse cached tool modules and hit real API-key resolution."
|
||||
|
||||
6
test/fixtures/test-timings.channels.json
vendored
6
test/fixtures/test-timings.channels.json
vendored
@@ -60,15 +60,9 @@
|
||||
"extensions/discord/src/monitor/message-handler.queue.test.ts": {
|
||||
"durationMs": 3900
|
||||
},
|
||||
"extensions/telegram/src/fetch.test.ts": {
|
||||
"durationMs": 3500
|
||||
},
|
||||
"extensions/whatsapp/src/monitor-inbox.captures-media-path-image-messages.test.ts": {
|
||||
"durationMs": 3200
|
||||
},
|
||||
"extensions/telegram/src/bot/delivery.resolve-media-retry.test.ts": {
|
||||
"durationMs": 15830
|
||||
},
|
||||
"extensions/telegram/src/webhook.test.ts": {
|
||||
"durationMs": 2900
|
||||
},
|
||||
|
||||
10
test/fixtures/test-timings.extensions.json
vendored
10
test/fixtures/test-timings.extensions.json
vendored
@@ -1047,9 +1047,13 @@
|
||||
"durationMs": 2.155517578125,
|
||||
"testCount": 5
|
||||
},
|
||||
"extensions/telegram/src/fetch.network-policy.test.ts": {
|
||||
"durationMs": 3260,
|
||||
"testCount": 5
|
||||
"extensions/telegram/src/bot/delivery.resolve-media-retry.test.ts": {
|
||||
"durationMs": 10360,
|
||||
"testCount": 27
|
||||
},
|
||||
"extensions/telegram/src/fetch.test.ts": {
|
||||
"durationMs": 750,
|
||||
"testCount": 23
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user