Visitar URL original
extensions: keep update checks on polling cadence by jimmylewis · Pull Request #339365 · microsoft/vscode · GitHub
Skip to content

extensions: keep update checks on polling cadence - #339365

Merged
Sandeep Somavarapu (sandy081) merged 2 commits into
microsoft:mainfrom
jimmylewis:revertToPolling
Oct 5, 2026
Merged

Sandeep Somavarapu (sandy081) merged 2 commits into
microsoft:mainfrom
jimmylewis:revertToPolling

Conversation

@jimmylewis

Copy link
Copy Markdown
Contributor

Do not reschedule the full installed-extension update check when an extension's auto-update delay expires. Clarify that delay expiry makes an update eligible rather than guaranteeing its installation time.

Addresses #339362 by keeping the UTD check cadence regular, not rescheduling to align immediately when an extension exits quarantine.

Prior to that PR, the maximum delay for an auto-update was max(Cadence). With that change and the alignment of 12-hr quarantine and 12-hr cadence, the maximum became max(Quarantine) - which would always be less than 2*max(Cadence). The changes in this PR can cause the maximum delay between publish and auto-update to increase to max(Quarantine+Cadence), which could be as much as double, but maintains both the quarantine and the distributed rollout.

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

Do not reschedule the full installed-extension update check when an extension's auto-update delay expires. Clarify that delay expiry makes an update eligible rather than guaranteeing its installation time.

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

Copilot-Session: 5e8ac536-0855-45fb-bd88-3b651e80b60d
Copilot AI balanced review requested due to automatic review settings October 2, 2026 19:07

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.

Copilot review overview

🟡 Changes recommended

The tooltip still incorrectly guarantees an update at the quarantine delay.

Review effort: Balanced
Findings: 1 Low severity

Open (1)
What changed in this PR

Keeps extension update checks on their regular cadence instead of rescheduling when quarantine expires.

Changes:

  • Removes quarantine-expiry update-check scheduling.
  • Adds regression coverage for polling cadence.
  • Updates delayed-update messaging.
File Description
extensionsWorkbenchService.ts Removes expiry-triggered checks.
extensionsWorkbenchService.test.ts Tests cadence preservation.
extensionsActions.ts Revises eligibility messaging.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/vs/workbench/contrib/extensions/browser/extensionsActions.ts Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This makes sense to me. Keeping the regular polling cadence avoids synchronizing Marketplace requests, with the understood tradeoff that updates can take up to one additional polling interval. I’ll take over this PR and get it ready.

@sandy081
Sandeep Somavarapu (sandy081) merged commit 8c43b57 into microsoft:main Oct 5, 2026
35 checks passed
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.

4 participants