You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Forked session inherits full uncompressed context after parent compaction, causing "exceeds model context limit" #26707
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
Start a long session with significant tool use and code changes (enough to trigger compaction)
Let the session auto-compact (or trigger /compact manually)
Verify the parent session is working normally with compacted context
Fork the compacted session via TUI (Ctrl+S or session list → fork)
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
Activity
github-actions commentedon Jul 10, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.