[cherry-pick] sessions: Use global archive filter for nested chats - #338563
Merged
Merged
Conversation
Sandeep Somavarapu (sandy081)
previously approved these changes
Sep 28, 2026
Sandeep Somavarapu (sandy081)
enabled auto-merge (squash)
September 28, 2026 22:22
Sandeep Somavarapu (sandy081)
self-requested a review
September 28, 2026 22:27
Sandeep Somavarapu (sandy081)
previously approved these changes
Sep 28, 2026
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Unresolved conflict markers prevent compilation, and the new blocking fixture lacks committed screenshot baselines.
Review effort: Balanced
Findings: 4
Open (4)
What changed in this PR
Updates nested archived chats to follow the global Sessions archive filter.
Changes:
- Removes per-session archived-chat visibility controls.
- Updates tests, fixtures, documentation, and accessibility help.
- Adds global-filter regression coverage, but leaves merge conflicts unresolved.
| File | Description |
|---|---|
test/componentFixtures/blocks-ci-screenshots.md |
Removes obsolete screenshot baselines. |
src/vs/sessions/SESSIONS_LIST.md |
Documents global archive filtering. |
src/vs/sessions/contrib/sessions/test/browser/sessionsRename.test.ts |
Updates accessibility-help assertions. |
src/vs/sessions/contrib/sessions/test/browser/sessionsListContextMenu.test.ts |
Removes per-session tests; contains conflicts. |
src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts |
Tests global nested-chat filtering. |
src/vs/sessions/contrib/sessions/test/browser/sessionsList.fixture.ts |
Adds archived-chat fixtures; contains conflicts. |
src/vs/sessions/contrib/sessions/test/browser/sessionsActions.test.ts |
Removes obsolete action tests; contains conflicts. |
src/vs/sessions/contrib/sessions/browser/views/sessionsViewActions.ts |
Removes per-session archive actions; contains conflicts. |
src/vs/sessions/contrib/sessions/browser/views/sessionsList.ts |
Applies the global filter to nested chats; contains conflicts. |
src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.ts |
Documents the global filter workflow. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| const inGroup = this._sessionGroupsService.getGroupOfSession(element.sessionId) !== undefined; | ||
| const contextOverlay: [string, boolean | string][] = [ | ||
| [IsSessionPinnedContext.key, this.isSessionPinned(element)], | ||
| <<<<<<< HEAD |
| import { EditorsVisibleContext, EditorAreaFocusContext, FocusedViewContext, IsSessionsWindowContext } from '../../../../../workbench/common/contextkeys.js'; | ||
| import { SessionsCategories } from '../../../../common/categories.js'; | ||
| import { ARCHIVE_CHAT_COMMAND_ID, ARCHIVE_SESSION_COMMAND_ID, MARK_SESSION_READ_COMMAND_ID, MARK_SESSION_UNREAD_COMMAND_ID, RENAME_SESSION_COMMAND_ID, UNARCHIVE_CHAT_COMMAND_ID, UNARCHIVE_SESSION_COMMAND_ID } from '../../../../common/sessionCommands.js'; | ||
| <<<<<<< HEAD |
| ]); | ||
| }); | ||
|
|
||
| <<<<<<< HEAD |
| } | ||
| }); | ||
|
|
||
| <<<<<<< HEAD |
Contributor
Screenshot ChangesBase: Removed (4) |
Dmitriy Vasyura (dmitrivMS)
previously approved these changes
Sep 28, 2026
Sandeep Somavarapu (sandy081)
dismissed stale reviews from Dmitriy Vasyura (dmitrivMS) and themself
via
September 29, 2026 07:30
162fb67
Sandeep Somavarapu (sandy081)
self-requested a review
September 29, 2026 07:47
Sandeep Somavarapu (sandy081)
previously approved these changes
Sep 29, 2026
Dirk Bäumer (dbaeumer)
previously approved these changes
Sep 29, 2026
The release branch does not contain the newer context-menu fixtures, so the cherry-pick conflict resolution leaves no consumer for this frame constant. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Resolve the updated release branch against the archive-filter backport without bringing main-only multi-selection behavior into the release. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sandeep Somavarapu (sandy081)
dismissed stale reviews from Dirk Bäumer (dbaeumer) and themself
via
September 29, 2026 07:56
5ac90c3
Sandeep Somavarapu (sandy081)
force-pushed
the
cherry-pick/338535
branch
from
September 29, 2026 07:56
162fb67 to
5ac90c3
Compare
Sandeep Somavarapu (sandy081)
self-requested a review
September 29, 2026 07:56
Sandeep Somavarapu (sandy081)
previously approved these changes
Sep 29, 2026
Keep the release backport limited to removing the obsolete session-level archive toggle fixture. The newer compact archive fixtures belong to main and caused the release screenshot manifest to diverge. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Christof Marti (chrmarti)
approved these changes
Sep 29, 2026
Sandeep Somavarapu (sandy081)
self-requested a review
September 29, 2026 08:59
Sandeep Somavarapu (sandy081)
approved these changes
Sep 29, 2026
Sandeep Somavarapu (sandy081)
merged commit Sep 29, 2026
76e6796
into
release/1.140
35 checks passed
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.

Cherry-pick of #338535 from
main.<<<<<<</=======/>>>>>>>) are committed to the branch — check it out locally, resolve, and force-push.Conflicting files:
src/vs/sessions/contrib/sessions/browser/views/sessionsList.tssrc/vs/sessions/contrib/sessions/browser/views/sessionsViewActions.tssrc/vs/sessions/contrib/sessions/test/browser/sessionsActions.test.tssrc/vs/sessions/contrib/sessions/test/browser/sessionsList.fixture.tssrc/vs/sessions/contrib/sessions/test/browser/sessionsListContextMenu.test.tsSummary
Validation
npm run transpile-clientmaindependency bump they are locally blocked because the private registry rejects the dependency refresh withE401