Files
vscode/build
Sandeep Somavarapu da03e4ef04 extensions: add delayed auto-update mode to extensions.autoUpdate (#318974)
* extensions: add delayed auto-update mode to extensions.autoUpdate

Folds a 6-hour delayed auto-update mode into the existing
`extensions.autoUpdate` setting, which is now a string enum
('on' | 'delayed' | 'off') and policy-controllable via the
ExtensionsAutoUpdate policy.

When set to 'delayed', an extension whose newer version was published
less than 6 hours ago is treated as outdated-but-delayed: it is excluded
from auto-update and the activity badge, and surfaces an info status
explaining when it will be auto updated. Manual updates still work.

Includes startup migration from legacy values (true/'all'/
'onlyEnabledExtensions' -> 'on'; false/'none'/'onlySelectedExtensions'
-> 'off') plus defensive read-time normalization, and unit tests for the
new logic.

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

* update policy file

* extensions: address code review feedback for delayed auto-update

- Type IExtensionsConfiguration.autoUpdate as AutoUpdateConfigurationValue
- Keep ExtensionStatusAction.update() returning void; add recomputeStatus()
  for callers that need to await the computed status
- Preserve the higher-priority warning CSS class when the delayed info status
  is also applied to an outdated extension
- Hover awaits recomputeStatus() instead of update()
- Update pluginAutoUpdate doc comment to the on/delayed/off enum values

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

* update policies data

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-29 09:37:38 -07:00
..
2026-05-28 02:59:46 +00:00
2026-05-28 21:53:33 +00:00
2026-05-27 14:57:41 +02:00
add
2026-02-09 10:53:56 +01:00
2026-05-19 23:06:02 -07:00