GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [BUG] The whole workflow stalls if any sub-agent is aborted. · Issue #23415 · anomalyco/opencode

[BUG] The whole workflow stalls if any sub-agent is aborted. #23415

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
[BUG] The whole workflow stalls if any sub-agent is aborted.#23415
Copy link
Assignees
kitlangton

Description

@halabooda
halabooda
opened on Apr 19, 2026
Issue body actions

Description

Description

Sometimes (not always, but it happens regularly during frequent use), when sub-agents (ContextScout/ExternalScout) are invoked, they get aborted and the entire process hangs.

Expected Behavior

Restart or abort all workflow

Environment

  • OS: macOS
  • OpenCode CLI version: 1.4.11
  • OpenAgentsControl Plugin

Additional Context

Opencode logs

data: {
  "type": "message.part.updated",
  "properties": {
    "sessionID": "ses_25a7ed1f8ffe6aNS7c41gaottf",
    "part": {
      "type": "tool",
      "tool": "task",
      "callID": "call_TbaunlBR9kAIII4ELiRoqNtL",
      "state": {
        "title": "Find context for config read",
        "metadata": {
          "sessionId": "ses_25a7eb4adffe2V25GP69p8JQrc",
          "model": {
            "providerID": "openai",
            "modelID": "gpt-5.4-nano"
          },
          "interrupted": true
        },
        "status": "error",
        "input": {
          "description": "Find context for config read",
          "prompt": "User asks to read the local config file ~/.config/opencode/opencode.jsonc...",
          "subagent_type": "ContextScout",
          "task_id": "",
          "command": ""
        },
        "time": {
          "start": 1776598207327,
          "end": 1776598364494
        },
        "error": "Tool execution aborted"
      },
      "metadata": {
        "openai": {
          "itemId": "fc_01375570559d8c4e0169e4bcbdf5948195871ad68951e04fd9"
        }
      },
      "id": "prt_da5814689001ZRLutE1SW41j95",
      "sessionID": "ses_25a7ed1f8ffe6aNS7c41gaottf",
      "messageID": "msg_da5812e310012slsvoRAU0vK04"
    },
    "time": 1776598364494
  }
}

data: {
  "type": "message.updated",
  "properties": {
    "sessionID": "ses_25a7ed1f8ffe6aNS7c41gaottf",
    "info": {
      "id": "msg_da5812e310012slsvoRAU0vK04",
      "parentID": "msg_da5812e130014Q1T3V4c2Q8hRP",
      "role": "assistant",
      "mode": "OpenAgent",
      "agent": "OpenAgent",
      "path": {
        "cwd": "/Users/macbook/project",
        "root": "/Users/macbook/project"
      },
      "cost": 0,
      },
      "modelID": "gpt-5.4",
      "providerID": "openai",
      "time": {
        "created": 1776598199857,
        "completed": 1776598364497
      },
      "sessionID": "ses_25a7ed1f8ffe6aNS7c41gaottf",
      "error": {
        "name": "MessageAbortedError",
        "data": {
          "message": "Aborted"
        }
      }
    }
  }
}

data: {
  "type": "session.status",
  "properties": {
    "sessionID": "ses_25a7ed1f8ffe6aNS7c41gaottf",
    "status": {
      "type": "idle"
    }
  }
}

data: {
  "type": "session.idle",
  "properties": {
    "sessionID": "ses_25a7ed1f8ffe6aNS7c41gaottf"
  }
}

data: {
  "type": "message.part.updated",
  "properties": {
    "sessionID": "ses_25a7eb4adffe2V25GP69p8JQrc",
    "part": {
      "type": "tool",
      "tool": "glob",
      "callID": "call_J7OFhipR5qg4ErawcPxL03YP",
      "state": {
        "status": "error",
        "input": {
          "pattern": "/Users/macbook/.opencode/**/paths.json",
          "path": "/Users/macbook"
        },
        "raw": "",
        "time": {
          "start": 1776598218335,
          "end": 1776598364536
        },
        "error": "Tool execution aborted",
        "metadata": {
          "interrupted": true
        }
      },
      "metadata": {
        "openai": {
          "itemId": "fc_0c8f8a9ac7f9daa50169e4bcca3eac819485324e9bd1462196"
        }
      },
      "id": "prt_da5817658001CFXi8xJ9Q8Nk9B",
      "messageID": "msg_da5816d67001tlPmhBJA6Xtp4P"
    },
    "time": 1776598364537
  }
}

data: {
  "type": "message.part.updated",
  "properties": {
    "sessionID": "ses_25a7eb4adffe2V25GP69p8JQrc",
    "part": {
      "type": "tool",
      "tool": "glob",
      "callID": "call_zW0pPQAGa7os3eCLX1fmPiYC",
      "state": {
        "status": "error",
        "input": {
          "pattern": "/Users/macbook/.opencode/context/navigation.md",
          "path": "/Users/macbook"
        },
        "raw": "",
        "time": {
          "start": 1776598218349,
          "end": 1776598364539
        },
        "error": "Tool execution aborted",
        "metadata": {
          "interrupted": true
        }
      }
    }
  }
}

data: {
  "type": "message.part.updated",
  "properties": {
    "sessionID": "ses_25a7eb4adffe2V25GP69p8JQrc",
    "part": {
      "type": "tool",
      "tool": "glob",
      "callID": "call_fh8u8d8licw8L4XPo1Yd0m7s",
      "state": {
        "status": "error",
        "input": {
          "pattern": "/Users/macbook/.opencode/context/core/navigation.md",
          "path": "/Users/macbook"
        },
        "raw": "",
        "time": {
          "start": 1776598218465,
          "end": 1776598364545
        },
        "error": "Tool execution aborted",
        "metadata": {
          "interrupted": true
        }
      }
    }
  }
}

data: {
  "type": "message.updated",
  "properties": {
    "sessionID": "ses_25a7eb4adffe2V25GP69p8JQrc",
    "info": {
      "id": "msg_da5816d67001tlPmhBJA6Xtp4P",
      "role": "assistant",
      "mode": "ContextScout",
      "modelID": "gpt-5.4-nano",
      "error": {
        "name": "MessageAbortedError",
        "data": {
          "message": "Aborted"
        }
      }
    }
  }
}

data: {"type":"session.status","properties":{"sessionID":"ses_25a7eb4adffe2V25GP69p8JQrc","status":{"type":"idle"}}}
data: {"type":"session.idle","properties":{"sessionID":"ses_25a7eb4adffe2V25GP69p8JQrc"}}

data: {"type":"server.heartbeat"}  // repeated many times

Is it error of Opencode? Or is it possible to resolve in plugin?

Plugins

OpenAgentsControl

Activity

  1. halabooda
    added
    bugSomething isn't working
    on Apr 19, 2026
  2. github-actions
    assigned
    rekram1-node
    on Apr 19, 2026
  3. github-actions
    added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 19, 2026
  4. github-actions commented on Apr 19, 2026

    @github-actions
    github-actionsBot
    on Apr 19, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • [Bug] Task tool loses session ID (task_id) when sub-agent fails or is cancelled — primary agent cannot recover #13910: Primary agent cannot recover after sub-agent is cancelled/fails — describes the same scenario where the workflow stalls when a sub-agent (Task tool) is aborted and the parent agent has no way to recover
    • Explore subagent hangs indefinitely with Anthropic Claude Opus 4.6 -- no timeout or recovery #13841: Explore subagent hangs indefinitely — similar symptom of a sub-agent hanging and causing the parent workflow to stall
  5. halabooda commented on Apr 19, 2026

    @halabooda
    halabooda
    on Apr 19, 2026
    Author
    More actions

    This bug described here by @tbrandenburg
    #23404 (comment)
    #23404 (comment)

  6. halabooda commented on Apr 19, 2026

    @halabooda
    halabooda
    on Apr 19, 2026
    Author
    More actions

    A possible solution is still open.
    #13321

    Reacted by Tom Brandenburg
  7. thdxr
    removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  8. thdxr
    assigned
    kitlangton
    and unassigned
    rekram1-node
    on May 3, 2026
  9. github-actions commented on Jul 5, 2026

    @github-actions
    github-actionsBot
    on Jul 5, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  10. github-actions
    closed this as not plannedon Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @kitlangton
    kitlangton

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.