[Fix] Fast conversations lose context after cold starts - #1592
Merged
roomote-roomote[bot] merged 3 commits intoAug 28, 2026
Conversation
Contributor
daniel-lxs
marked this pull request as ready for review
August 28, 2026 06:13
daniel-lxs
requested review from
brunobergher,
daniel-lxs and
mrubens
as code owners
August 28, 2026 06:13
daniel-lxs
approved these changes
Aug 28, 2026
…ion-resume-15a67v91ehreo
roomote-roomote
Bot
deleted the
fix/fast-cold-session-resume-15a67v91ehreo
branch
August 28, 2026 06:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Why this change was made
Fast conversations previously flattened visible history into a synthetic prompt whenever their process-local session cache was cold. That discarded native tool calls, tool results, reasoning blocks, provider signatures, and cache prefix continuity even when OpenCode still had the original session.
Impact
Fast conversations retain their full native transcript across cold process-local starts when the deployment preserves OpenCode storage. Deployments with ephemeral or unavailable OpenCode storage safely validate the persisted ID and fall back to the existing compatibility-history reconstruction instead of failing the turn.