Files
vscode/build/lib
Sandeep Somavarapu 05fdf7173b extensions: migrate auto update setting to on/off values (#321039)
* extensions: migrate auto update setting to on/off values

Migrate `extensions.autoUpdate` from the boolean/enum values (`true`,
`onlyEnabledExtensions`, `false`) to simple `on`/`off` string values:
- `on` replaces the previous `onlyEnabledExtensions` behavior (the
  retired `true` and insiders `delayed` values also map to `on`)
- `off` replaces `false` (and the internal `onlySelectedExtensions`)

Also add a new `extensions.autoUpdateDelay` setting (in hours) to
control the delay before a published update is auto-installed, replacing
the previously hardcoded 2 hour period.

Both settings are policy-enabled for enterprise management.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* extensions: address PR review feedback

- Add required enumDescriptions to extensions.autoUpdate policy localization
  (string-enum policies must provide them or export-policy-data fails)
- React to extensions.autoUpdateDelay config changes by rescheduling the
  delayed auto-update check
- Update pluginAutoUpdate doc comment to reflect normalized 'on'/'off' values
- Update user-facing strings/command titles to drop 'All Extensions' since
  'on' now means only enabled extensions are auto-updated
- Stub the delay key in tests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* extensions: regenerate policy data for auto update settings

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-12 12:04:12 +00:00
..
2026-06-11 16:39:32 +02:00