Skip to content

[BUG] Critical Regression #66555

Backlog
Backlog

Description

@wangzheruoyun

Description

This is a regression, NOT a feature request.

PRs #63382 and #63223 deliberately removed foreground subagent execution, forcing every subagent into background mode.

The consequences are already documented by multiple users:

  • Excessive parent-agent wakeups, context pollution, and wasted tokens.
  • 3–4x higher concurrent inference requests in nested agent workflows.
  • Broken workflows for self-hosted models and resource-constrained environments.
  • Unreliable orchestration and unnecessary context compaction.

Users have provided real-world evidence, benchmarks, and reproducible failures. Yet the maintainer's response was simply:

«We aren't bringing back blocking subagent calls, so closing as not planned.»

Calling a breaking change intentional does not make its regressions disappear.

If functionality that users previously relied on is deliberately removed, at minimum the maintainers should acknowledge the compatibility impact and provide a technical justification—not dismiss documented problems as unwanted feature requests.

What We Expect

  • Restore per-call foreground/background execution control.
  • Preserve background execution as the default if desired.
  • Address the documented orchestration and resource-consumption regressions.

OpenCode or CloseCode?

Open source is not just about making source code publicly available. It is about transparency, community participation, and respecting users' legitimate needs.

When maintainers deliberately break established workflows, ignore documented evidence, and close legitimate bug reports with "Not Planned," the community has every reason to question the project's commitment to open-source principles.

If community feedback is welcome only when it aligns with the maintainers' decisions, what is the point of being open source?

Don't turn OpenCode into CloseCode.

References: #64073, #63382, #63223, #64096, #63894, #66360.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot

No response

Operating System

No response

Terminal

No response

Activity

  1. opencodejr commented on Nov 26, 2026

    @opencodejr
    Contributor

    Thanks for writing this up, @wangzheruoyun. You're asking to bring back a per-call choice between foreground (blocking) and background subagents, with background still the default. You also want the problems reported since the change to be addressed: extra wakeups of the parent agent, its context filling up, more concurrent requests in nested workflows, and trouble with self-hosted or resource-limited models.

    I've labelled this as a feature request, not a bug. #63382 and #63223 removed foreground subagents on purpose, so the app is doing what those changes were meant to do. The earlier request for this, #64073, was closed as not planned. In it a maintainer said blocking subagent calls are not coming back. I'm leaving this issue open so maintainers can see the impact you and others describe, including your request for a technical justification. I can't promise any change.

    Related issues and PRs:

  2. added
    area/core
    type/feature
    version/v2
    on Nov 26, 2026
  3. Dr-Hughes commented on Nov 26, 2026

    @Dr-Hughes

    Thanks for putting this up and making it clear that it is a BUG. Maybe now when the 'devs' look at this claude will tell them that it's actually not okay and it's a critical bug.

  4. timmothias commented on Nov 26, 2026

    @timmothias

    Chiming in to say my workflow is also broken by this bug as well. (I do consider it a bug and legitimately assumed that's what it was until I read that it was an intentional design choice.)

    What's so confusing to me is how arbitrary the decision seems to be. In a tool with such a level of configurability and customization, why railroad users in this one particular way, especially when so many others have laid out specific and reasonable ways the decision is negatively impacting them? Why is this one detail such a hill to die on?

    Could someone at least explain the rationale behind it? Looking at the comments that have been made so far, there's no level of discourse or community engagement going on about this. The decision is delivered as a mandate with no explanation. It's bizarre for an open source project.

    I've used Opencode for about a year and have constantly advocated for it to my peers. If the project is moving in a direction that is not designed for me, then that is what it is I suppose. I'd just appreciate knowing that for sure before I migrate to something else.

  5. dudzcom commented on Nov 26, 2026

    @dudzcom

    I as well consider this a breaking bug. We are forced to continue using OpenCode v1 until this is fixed.

    1. Context filled with noise
    With a simple 3-layer agent structure, the grandparent (root) keeps getting woken up constantly by a copious amount of noise of subagents (parents) checking in just to say that a child (child-leaf) root has progressed through another step. For long-running processes, the grandparents are woken hundreds or thousands of times, greatly polluting context with noise.

    2. Abstraction, Encapsulation, and Separation of Concerns
    Explicitly chosen divisions of labor between agents has been violated. Whereas a subagent was designed to be a black-box that can solve a problem with a unique set of tools they have access to, now the the caller is constantly informed about the internal status of the subagent. This violates basic tenants of Abstraction, Encapsulation, and Separation of Concerns.

  6. GigAnon commented on Nov 26, 2026

    @GigAnon

    This change is breaking things so hard we're looking at migrating off OpenCode at work. So far we're staying with v2.2.x, but if things stay as is this will be the last OpenCode release we'll ever use, as it is quite ironically easier to add everything missing to Pi (including OpenChamber support) rather than force OpenCode to comply without forking the whole project.
    This is just silly.

  7. PascalB7 commented on Nov 28, 2026

    @PascalB7

    For those having the same issue, I can confirm going back to 2.2.7 as a workaround. With 2.4.x it was trying to launch as up to 4 parallel requests when my prompt specifically call for only one at a time because my local llm can't handle more than that. All requests ends up with time-out and OpenCode try again and again.

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/coretype/featureversion/v2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions