Repository navigation
sessions: Fix Stable build failures in workspace pin tests - #351529
Merged
Merged
Conversation
Stable builds disable session workspaces regardless of the setting, and workbench tests inherit the build's product quality, so these two tests failed in Stable product builds. (Written by Copilot) Co-authored-by: Copilot <[email protected]>
Vritant Bhardwaj (vritant24)
approved these changes
Dec 1, 2026
roblourens
enabled auto-merge (squash)
December 1, 2026 22:33
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the test-only change that makes workspace pin tests independent of build quality.
No open issues 🎉
What changed in this PR
Fixes Stable-build failures in two Sessions workspace-rename pin tests by explicitly using Insiders product metadata. Production behavior remains unchanged.
Changes:
- Stubs
IProductServicewithquality: 'insider'in both affected tests so workspaces can be enabled. - Clarifies that Stable builds disable workspaces regardless of the setting.
| File | Description |
|---|---|
src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts |
Makes two workspace pin tests independent of build quality and documents the Stable restriction. |
Review effort: Balanced
Sandeep Somavarapu (sandy081)
approved these changes
Dec 1, 2026
Federico Brancasi (federicobrancasi)
approved these changes
Dec 1, 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.
The workspace rename pin tests require workspaces to be enabled, but Stable builds disable them regardless of the setting. Explicitly use Insiders product quality in these two tests so they exercise the intended behavior without changing Stable product behavior.
With Stable product metadata,
./scripts/test.sh --run src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.tspassed (698 tests). Before the fix, the two affected tests failed under Stable metadata.(Written by Copilot)