Skip to content

Change default state of proposals exp#325322

Draft
alexr00 wants to merge 2 commits into
mainfrom
alexr00/complicated-llama
Draft

Change default state of proposals exp#325322
alexr00 wants to merge 2 commits into
mainfrom
alexr00/complicated-llama

Conversation

@alexr00

@alexr00 alexr00 commented Jul 10, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 10, 2026 15:58
@alexr00 alexr00 self-assigned this Jul 10, 2026

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.

Pull request overview

Updates the extensionEnabledApiProposalsFallback experiment behavior used by isProposedApiEnabled in the extension host, changing how the fallback behaves on stable builds when the experiment assignment is missing vs empty.

Changes:

  • Change setEnabledApiProposalsFallbackExperiment(undefined, 'stable') to enable an “allow all fallback proposals” resolver (for extensions that declare at least one proposal).
  • Treat an empty string assignment ('') as an explicit “block all fallback proposals” configuration.
  • Add unit tests covering the new default/empty behaviors.
Show a summary per file
File Description
src/vs/workbench/services/extensions/common/extensions.ts Changes resolver semantics for the fallback experiment on stable builds, including new meaning for undefined vs ''.
src/vs/workbench/services/extensions/test/common/extensions.test.ts Adds tests for “missing experiment” default behavior and for the explicit empty-string “block all” behavior.

Review details

  • Files reviewed: 2/2 changed files
  • Comments generated: 3
  • Review effort level: Low

Comment thread src/vs/workbench/services/extensions/common/extensions.ts
Comment thread src/vs/workbench/services/extensions/common/extensions.ts
Comment thread src/vs/workbench/services/extensions/test/common/extensions.test.ts
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.

2 participants