Skip to content

[Bug] Long conversations hang - session/message endpoint regression v1.14.x #27319

Closed

Description

@Canahmetozguven

Bug Description

Long conversations hang indefinitely. After ~20-30 messages, the session/message endpoint stops responding or returns malformed data, causing ACP clients (OpenChamber, OpenWork) to hang.

Environment

  • OpenCode version: 1.14.46 (latest tested, also fails on 1.14.48)
  • OS: Arch Linux (cachyos)
  • Bun version: 1.3.13

Steps to reproduce

  1. Use OpenCode via ACP client (e.g. OpenChamber) for an extended conversation
  2. After ~20-30 messages, the response stops
  3. Client shows spinning/loading indefinitely or silent failure
  4. Direct TUI use of the same session works fine

Root cause

What might help (from changelog analysis)

v1.14.46 had these session/message fixes:

  • Fixed numeric HTTP API query parameters in the generated OpenAPI spec and SDK for session and file endpoints
  • Tolerated legacy stored numeric values in sessions, diffs, and retry events
  • Fixed old sessions with negative token counts causing message loads to fail

v1.14.34 had:

  • Fix session views and nested session items not getting stuck with stale state
  • Improve session compaction so long threads keep more useful context

None of these fully fixed the hang for ACP clients.

Expected behavior

ACP clients should be able to load messages from long conversations reliably.

Activity

  1. github-actions commented on May 13, 2026

    @github-actions
    Contributor

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

    If your issue is specifically the SSE event delivery failure rather than the session/{id}/message endpoint itself, one of the above may already track this regression. Consider leaving a comment there with your findings.

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