Fix: omit untitled session in sessions list#321402
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adjusts the agent-host session listing overlay logic so that “provisional” (not-yet-materialized) sessions don’t leak into the sessions list while still idle, addressing the “untitled session shows up” scenario described by the PR title. It also adds targeted regression coverage and introduces CI “stability” reruns for the Agents Window smoke tests.
Changes:
- Refines the
listSessions()overlay source to exclude idle provisional sessions from the overlayed session summaries. - Adds a regression test for provisional-session visibility behavior during an active turn.
- Adds CI steps that rerun the Agents Window smoke tests 20× on multiple platforms.
Show a summary per file
| File | Description |
|---|---|
| src/vs/platform/agentHost/test/node/agentService.test.ts | Updates overlay-summary accessor usage and adds a new regression test for provisional session listing. |
| src/vs/platform/agentHost/node/agentService.ts | Switches overlay logic to use the new filtered overlay-summary accessor and documents the rationale. |
| src/vs/platform/agentHost/node/agentHostStateManager.ts | Replaces the “all summaries” accessor with a filtered overlay accessor intended to suppress idle provisional sessions. |
| build/azure-pipelines/win32/steps/product-build-win32-test.yml | Adds a “run Agents Window smoke tests 20×” stability step (Windows). |
| build/azure-pipelines/linux/steps/product-build-linux-test.yml | Adds a “run Agents Window smoke tests 20×” stability step (Linux). |
| build/azure-pipelines/darwin/steps/product-build-darwin-test.yml | Adds a “run Agents Window smoke tests 20×” stability step (macOS). |
| .github/workflows/pr-win32-test.yml | Adds a “run Agents Window smoke tests 20×” stability step (Windows PR workflow). |
| .github/workflows/pr-linux-test.yml | Adds a “run Agents Window smoke tests 20×” stability step (Linux PR workflow). |
Copilot's findings
- Files reviewed: 8/8 changed files
- Comments generated: 7
d709722 to
457c7ed
Compare
457c7ed to
3b7f5d6
Compare
joshspicer
approved these changes
Jun 15, 2026
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.
#321269