Skip to content

[Bug] Same-parent assistant siblings race persists in 1.17.11 (follow-up to #28202) #35399

Closed as not planned

Description

@ririnto

Description

Follow-up to #28202. That issue was closed referencing commit 87c33b3, but that commit only routes plugin SDK calls through the active listener. Its own message calls it "a narrow bridge until v2 owns plugin clients." The same-parent race in #28202 is a separate failure mode.

The invariant fix lives in PR #28488 (turn binding, per-turn lock). That PR is OPEN with zero reviews, and its invariants have not shipped.

@aki1-asr reproduced the original symptom on ghcr.io/anomalyco/opencode:1.17.11 (see screenshots in #28202) and confirmed a local build of #28488 resolves it.

Filing as a follow-up since I cannot reopen #28202 (closed by a collaborator, no write access on my end).

Related: #30809, #31487 (same bug family, overlapping prompt loops).

Plugins

N/A (reproduced by @aki1-asr on a base Docker image without custom plugins reported).

OpenCode version

1.17.11 (confirmed via Docker image ghcr.io/anomalyco/opencode:1.17.11). Earlier repro on 1.15.7 referenced in #28202.

Steps to reproduce

See the repro repo linked in #28202 (ualtinok/opencode-promptasync-runner-repro) and @aki1-asr's reproduction on 1.17.11:

  1. Run opencode web against a session.
  2. Submit a prompt.
  3. While a tool call from that turn is still in flight, submit a second prompt.
  4. Observe multiple assistant responses returned under the same parent user message.

Screenshot and/or share link

See screenshots in #28202 (1.17.11 Docker web mode showing three assistant responses under one prompt).

Operating System

N/A (reproduction observed in Docker image).

Terminal

N/A (reproduced via web mode, not a terminal client).

Activity

  1. github-actions commented on Jul 5, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Missing the bug report template structure: no Description field, no Environment section (OS, shell, opencode version from opencode --version, installation method), and no reproduction steps beyond referencing another issue.
    • Please include system information (OS, how opencode is installed, exact version) so maintainers can triage without having to ask.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


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

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. added
    needs:compliance
    and removed
    needs:compliance
    on Jul 5, 2026
  3. github-actions commented on Jul 5, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now includes all the required information — a clear description of the race condition, steps to reproduce, version details, and context linking the related PRs. The issue looks good and the compliance label has been removed.

  4. github-actions commented on Sep 4, 2026

    @github-actions
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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