test: route telegram plugin tests through extensions

This commit is contained in:
Peter Steinberger
2026-04-03 12:25:22 +01:00
parent 0a2a1ff778
commit db6d149f75
7 changed files with 1967 additions and 1975 deletions

View File

@@ -58,7 +58,6 @@ const targetedChannelProxyFiles = [
...sharedTargetedChannelProxyFiles,
bundledPluginFile("discord", "src/monitor/message-handler.preflight.acp-bindings.test.ts"),
bundledPluginFile("discord", "src/monitor/monitor.agent-components.test.ts"),
bundledPluginFile("telegram", "src/bot.create-telegram-bot.test.ts"),
bundledPluginFile("whatsapp", "src/monitor-inbox.streams-inbound-messages.test.ts"),
];
@@ -447,10 +446,10 @@ describe("scripts/test-parallel lane planning", () => {
expect(output).not.toContain("vitest.unit.config.ts");
});
it("routes telegram fetch transport coverage through the extensions config", () => {
it("routes telegram plugin coverage through the extensions config", () => {
const output = runPlannerPlan([
"--explain",
bundledPluginFile("telegram", "src/fetch.test.ts"),
bundledPluginFile("telegram", "src/bot.create-telegram-bot.test.ts"),
]);
expect(output).toContain("surface=extensions");

View File

@@ -822,12 +822,12 @@ describe("test planner", () => {
expect(manifest.jobs.buildArtifacts.enabled).toBe(true);
expect(manifest.shardCounts.unit).toBe(4);
expect(manifest.shardCounts.channels).toBe(4);
expect(manifest.shardCounts.channels).toBe(3);
expect(manifest.shardCounts.extensionFast).toBeGreaterThanOrEqual(4);
expect(manifest.shardCounts.extensionFast).toBeLessThanOrEqual(6);
expect(manifest.shardCounts.windows).toBe(6);
expect(manifest.shardCounts.macosNode).toBe(9);
expect(manifest.jobs.checks.matrix.include).toHaveLength(8);
expect(manifest.jobs.checks.matrix.include).toHaveLength(7);
expect(manifest.jobs.checksWindows.matrix.include).toHaveLength(6);
expect(manifest.jobs.macosNode.matrix.include).toHaveLength(9);
expect(manifest.jobs.checksFast.matrix.include).toHaveLength(