diff --git a/e2e/perstack-cli/options.test.ts b/e2e/perstack-cli/options.test.ts index 3ab1cd56..547cc47b 100644 --- a/e2e/perstack-cli/options.test.ts +++ b/e2e/perstack-cli/options.test.ts @@ -5,6 +5,7 @@ * - --provider, --model * - --max-retries, --timeout * - --job-id, --env-path, --verbose + * - --filter (multi-type + invalid type validation) * * TOML: e2e/experts/global-runtime.toml */ @@ -161,36 +162,6 @@ describe.concurrent("CLI Options", () => { }) describe.concurrent("CLI Options - Filter", () => { - /** Verifies --filter option with single type. - * Uses startRun (emitted before LLM calls) to avoid flakiness from LLM - * errors that produce stopRunByError instead of completeRun. - */ - it( - "should filter events to only startRun", - async () => { - const cmdResult = await runCli( - [ - "run", - "--config", - GLOBAL_RUNTIME_CONFIG, - "--filter", - "startRun", - "e2e-global-runtime", - "Say hello", - ], - { timeout: LLM_TIMEOUT }, - ) - const result = withEventParsing(cmdResult) - expect(result.exitCode).toBe(0) - - // All events should be startRun - const eventTypes = result.events.map((e) => e.type) - expect(eventTypes.every((t) => t === "startRun")).toBe(true) - expect(eventTypes.length).toBeGreaterThan(0) - }, - LLM_TIMEOUT, - ) - /** Verifies --filter option with multiple types */ it( "should filter events to completeRun and initializeRuntime",