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 — Forked session inherits full uncompressed context after parent compaction, causing "exceeds model context limit" · Issue #26707 · anomalyco/opencode

Forked session inherits full uncompressed context after parent compaction, causing "exceeds model context limit" #26707

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Forked session inherits full uncompressed context after parent compaction, causing "exceeds model context limit"#26707
Copy link
Assignees
nexxeln

Description

@inssk
inssk
opened on May 10, 2026
Issue body actions

Description

When a long-running session is compacted and then forked, the forked session receives the full uncompressed context (pre-compaction history) rather than the compacted continuation summary. This causes the forked session to immediately hit "Conversation history too large to compact - exceeds model context limit."

Plugins

No response

OpenCode version

1.14.27

Steps to reproduce

  1. Start a long session with significant tool use and code changes (enough to trigger compaction)
  2. Let the session auto-compact (or trigger /compact manually)
  3. Verify the parent session is working normally with compacted context
  4. Fork the compacted session via TUI (Ctrl+S or session list → fork)
  5. Open the forked session → immediately see:
    Conversation history too large to compact - exceeds model context limit

Screenshot and/or share link

Session too large to compact - context exceeds model limit even after stripping media

Operating System

debian 13

Terminal

No response

Activity

  1. github-actions
    assigned
    nexxeln
    on May 10, 2026
  2. github-actions commented on Jul 10, 2026

    @github-actions
    github-actionsBot
    on Jul 10, 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.

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

Metadata

Metadata

Assignees

  • @nexxeln
    nexxeln

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.