Skip to content

Output broken, returning 'Session compacted' unsure of cause, desktop app #24446

Closed as not planned

Description

@scannermobs

Description

Using latest MacOS version, connected to gemma-4 via Jan, worked fine initially, but all of a sudden all messages have a weird looping bug where it keeps repeating 'Session compacted' and outputting a plan tree rather than normal messages, but strangely it can still perform build tasks. Tried reconnecting Jan, clearing OpenCode's cache / reinstalling. Once bug has occurred it pollutes chat with free online models.

Buggy output looks like this:

Goal

Retrieve and display the contents of test.html.
Constraints & Preferences

(none)
Progress

Done

Plugins

No response

OpenCode version

1.14.25

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

26.4.1

Terminal

No response

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    webRelates to opencode on web / desktop
    on Apr 26, 2026
  2. github-actions commented on Apr 26, 2026

    @github-actions
    Contributor

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

    If your issue is different from these, please add more details distinguishing your case.

  3. scannermobs commented on Apr 26, 2026

    @scannermobs
    Author

    It is difficult for me to know how related my issue is to the ones linked to by the bot. It certainly sounds similar, but these users seem to have a different workflow and results.

  4. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  5. github-actions commented on Jul 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