fix(ci): classify gateway agent helper as test-only

This commit is contained in:
Peter Steinberger
2026-04-29 11:59:18 +01:00
parent bdcd543ed7
commit fce62c6129
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
import { vi } from "vitest";
import { agentCommand } from "../test-helpers.runtime-state.js";
import { agentCommand } from "./test-helpers.runtime-state.js";
export type AgentCommandCall = Record<string, unknown>;

View File

@@ -4,6 +4,7 @@ import path from "node:path";
import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, test, vi } from "vitest";
import type { ChannelPlugin } from "../channels/plugins/types.js";
import { createChannelTestPluginBase } from "../test-utils/channel-plugins.js";
import { waitForAgentCommandCall } from "./agent-command.test-helpers.js";
import { setRegistry } from "./server.agent.gateway-server-agent.mocks.js";
import { createRegistry } from "./server.e2e-registry-helpers.js";
import {
@@ -15,7 +16,6 @@ import {
testState,
writeSessionStore,
} from "./test-helpers.js";
import { waitForAgentCommandCall } from "./test/agent-command-helpers.js";
installGatewayTestHooks({ scope: "suite" });

View File

@@ -6,6 +6,7 @@ import { WebSocket } from "ws";
import type { ChannelPlugin } from "../channels/plugins/types.js";
import { emitAgentEvent, registerAgentRunContext } from "../infra/agent-events.js";
import { createChannelTestPluginBase } from "../test-utils/channel-plugins.js";
import { readAgentCommandCall } from "./agent-command.test-helpers.js";
import { setRegistry } from "./server.agent.gateway-server-agent.mocks.js";
import { createRegistry } from "./server.e2e-registry-helpers.js";
import {
@@ -22,7 +23,6 @@ import {
withGatewayServer,
writeSessionStore,
} from "./test-helpers.js";
import { readAgentCommandCall } from "./test/agent-command-helpers.js";
installGatewayTestHooks({ scope: "suite" });