Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion integration-tests/sdk-typescript/sdk-mcp-server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,14 @@ describe('SDK MCP Server Integration (E2E)', () => {
});

describe('Async Tool Handlers', () => {
it('should handle async tool handlers with delays', async () => {
// FIXME: Flaky on the live model: the model sometimes answers without
// calling the delayed_response tool, so the foundToolUse / tool-result
// assertions fail intermittently on main. Already survived asserting on the
// deterministic tool result, a forced prompt, retry: 2, and the 5-minute
// suite timeout. Skipped like the other model-nondeterministic cases
// (permission-control.test.ts); the durable fix is driving it with the fake
// OpenAI server harness the interactive tests use.
it.skip('should handle async tool handlers with delays', async () => {
// Define a tool with async delay using Zod schema
const delayedTool = tool(
'delayed_response',
Expand Down
9 changes: 8 additions & 1 deletion integration-tests/sdk-typescript/subagents.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,14 @@ describe('Subagents (E2E)', () => {
});

describe('Subagent Execution', () => {
it('should delegate task to subagent when appropriate', async () => {
// FIXME: Flaky on the live model: the main agent delegates, but the
// file-reader subagent sometimes replies without calling read_file, so
// foundSubagentToolCall fails (reproduced locally: "expected false to be
// true" at that assertion). Already survived the forced-delegation prompt,
// the suite-timeout fix, and retry: 2. Skipped like the other
// model-nondeterministic cases (permission-control.test.ts); the durable fix
// is the fake OpenAI server harness the interactive tests use.
it.skip('should delegate task to subagent when appropriate', async () => {
const fileReaderAgent: SubagentConfig = {
name: 'file-reader',
description: 'Reads a requested file and reports its exact contents.',
Expand Down
Loading