Skip to content

[Bug]:HarnessAgent subagent task_output may be interrupted by default tool execution timeout #1451

Closed

Description

@luowanghaoyun

Describe the bug

When HarnessAgent enables subagent orchestration, the task_output tool supports blocking up to 10 minutes via its timeout parameter. However, the default tool execution configuration (ExecutionConfig.TOOL_DEFAULTS) times out after 5 minutes.

As a result, a long-running task_output(block=true, timeout=600000) call may be interrupted by the framework-level tool timeout before the task output wait reaches its own maximum timeout.

To Reproduce

  1. Create a HarnessAgent with subagents enabled and no custom toolExecutionConfig.
  2. Spawn a background subagent task that takes longer than 5 minutes but less than 10 minutes.
  3. Call task_output with block=true and timeout=600000.
  4. Observe that the tool execution may fail after about 5 minutes.

Example error:

Tool execution failed: Tool execution timeout after PT5M

Activity

  1. added
    bug
    on May 20, 2026
  2. added theissue type on May 27, 2026
  3. added
    area/harness
    on May 28, 2026
  4. moved this from Backlog to In progress in AgentScope Javaon Jun 4, 2026
  5. moved this from In progress to Done in AgentScope Javaon Nov 20, 2026
  6. added a commit that references this issue on Nov 20, 2026
    dbb7b5e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/harnessbug

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions