Skip to content

sessions: Fix Stable build failures in workspace pin tests - #351529

Merged
roblourens merged 1 commit into
release/1.149from
roblou/fix-stable-sessions-list-tests
Dec 1, 2026
Merged

roblourens merged 1 commit into
release/1.149from
roblou/fix-stable-sessions-list-tests

Conversation

@roblourens

Copy link
Copy Markdown
Member

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.ts passed (698 tests). Before the fix, the two affected tests failed under Stable metadata.

(Written by Copilot)

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]>
Copilot AI balanced review requested due to automatic review settings December 1, 2026 22:28
@roblourens
roblourens enabled auto-merge (squash) December 1, 2026 22:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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 IProductService with quality: '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

@roblourens
roblourens merged commit fd90a6d into release/1.149 Dec 1, 2026
54 checks passed
@roblourens
roblourens deleted the roblou/fix-stable-sessions-list-tests branch December 1, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants