agentHost: Suppress hidden session summary updates - #331117
Merged
Benjamin Christopher Simmonds (benibenj) merged 1 commit intoAug 16, 2026
Merged
Conversation
Keep summary baselines current for unpublished restored sessions without broadcasting root deltas. When the session is later published, clients receive the latest complete summary before normal incremental updates resume. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Benjamin Christopher Simmonds (benibenj)
enabled auto-merge (squash)
August 16, 2026 20:34
Copilot started reviewing on behalf of
Benjamin Christopher Simmonds (benibenj)
August 16, 2026 20:34
View session
Dmitriy Vasyura (dmitrivMS)
approved these changes
Aug 16, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Suppresses summary-change notifications for hidden restored Agent Host sessions while preserving current state for later publication.
Changes:
- Gates summary notifications on publication state.
- Adds regression coverage for hidden updates and later visibility.
- Documents hidden-session baseline behavior.
Show a summary per file
| File | Description |
|---|---|
agentHostStateManager.ts |
Suppresses updates for unpublished summaries. |
agentHostStateManager.test.ts |
Tests hidden and subsequent visible updates. |
AGENT_HOST_SESSIONS_PROVIDER.md |
Documents the behavior. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 3/3 changed files
- Comments generated: 1
- Review effort level: Balanced
| changes, | ||
| }), | ||
| (session, changes) => { | ||
| if (this._publishedSessionSummaries.has(session)) { |
Benjamin Christopher Simmonds (benibenj)
merged commit Aug 16, 2026
7d98117
into
main
28 checks passed
Benjamin Christopher Simmonds (benibenj)
deleted the
benibenj/agents/external-session-hidden-summary-feedback
branch
August 16, 2026 20:52
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.
Summary
Follow-up to #331115 addressing post-merge review feedback:
root/sessionSummaryChangedfor restored sessions that have not been publishedTesting
npm run typecheck-client