Uh oh!
There was an error while loading. Please reload this page.
feat(session): add summary-diff opt-out config - #26036
Closed
ualtinok wants to merge 2 commits into
Closed
Conversation
ualtinok
commented
May 19, 2026
ContributorAuthor
@Hona Could you recheck now? Thanks |
elmagow
commented
May 26, 2026
Can we have this reviewed? thanks |
ualtinokforce-pushed
the
fix/session-summarize-config
branch
from
June 1, 2026 05:14
13f1423 to
7399a44Compareualtinok
commented
Jun 1, 2026
ContributorAuthor
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 freeto 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.
Issue for this PR
Closes#26035
Type of change
What does this PR do?
Adds
session.summarizeconfig so users can opt out of automatic session diff summarization during prompt processing.By default nothing changes. When set to
false, opencode skips the two automaticSessionSummary.summarize(...)callers used during prompt runs. This avoids broad session-history hydration for diff metadata when responsiveness is more important than automatic per-turn/session diff summaries.It does not disable prompt execution, title generation, compaction, tool calls, or revert/manual diff behavior.
Example:
{ "session": { "summarize": false } }How did you verify your code works?
From
packages/opencode:bun typecheckbun test test/config/config.test.tsbun test test/session/prompt.test.tsThe push hook also ran root
bun turbo typechecksuccessfully.Screenshots / recordings
Not a UI change.
Checklist