add exp prop for chat.automations.enabled#324479
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR opts the experimental chat.automations.enabled setting into VS Code's experiment system by adding experiment: { mode: 'auto' }. This allows the setting's default value to be controlled/overridden by an experiment, enabling gradual rollout of the Automations feature (scheduling agent sessions to run on a cadence) without shipping a code change. With auto mode, the setting value updates whenever the experiment value changes, and the existing configuration-change listener (ChatAutomationsEnabledContextContribution) will re-sync the ChatAutomationsEnabledContext context key accordingly.
Changes:
- Added
experiment: { mode: 'auto' }to thechat.automations.enabledconfiguration property.
Show a summary per file
| File | Description |
|---|---|
| src/vs/sessions/contrib/automations/browser/automations.contribution.ts | Adds an experiment override so the setting default can be driven by an experiment (auto mode). |
I verified that:
- The
experimentproperty withmode: 'auto'is valid per the schema inconfigurationRegistry.ts:242-254. - This matches established usage elsewhere (e.g.,
sessions.contribution.ts:67,update.config.contribution.ts:85,editorConfigurationSchema.ts:77). - The existing context-key mirror listens to
onDidChangeConfiguration, soautomode updates will propagate correctly.
No issues found.
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Medium
benibenj
approved these changes
Jul 6, 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.
No description provided.