Skip to content

Fixes https://github.com/microsoft/vscode/issues/291242#291760

Merged
hediet merged 1 commit intomainfrom
hediet/b/drab-skink
Jan 30, 2026
Merged

Fixes https://github.com/microsoft/vscode/issues/291242#291760
hediet merged 1 commit intomainfrom
hediet/b/drab-skink

Conversation

@hediet
Copy link
Copy Markdown
Member

@hediet hediet commented Jan 29, 2026

Fixes #291242

Copilot AI review requested due to automatic review settings January 29, 2026 23:50
@hediet hediet enabled auto-merge (squash) January 29, 2026 23:50
@hediet hediet self-assigned this Jan 29, 2026
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 29, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR replaces the 10-minute focus survival telemetry window with a 20-minute focus survival window as requested in issue #291242. The change maintains the existing 5-minute wall-clock window while updating the focus-time-based window to provide longer-term telemetry data.

Changes:

  • Updated the focus window duration from 10 minutes to 20 minutes in the implementation
  • Updated test expectations to reflect the new 20-minute timing
  • Updated all telemetry event documentation and mode strings to reference "20minFocusWindow" instead of "10minFocusWindow"

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/vs/workbench/contrib/editTelemetry/browser/telemetry/editSourceTrackingImpl.ts Updated focus window timer from 10 to 20 minutes, changed mode parameter type and telemetry documentation strings
src/vs/workbench/contrib/editTelemetry/test/browser/editTelemetry.test.ts Updated test timeout from 8 to 18 minutes and expected telemetry timestamps/values to match new 20-minute window

@hediet hediet merged commit be2a52e into main Jan 30, 2026
27 of 28 checks passed
@hediet hediet deleted the hediet/b/drab-skink branch January 30, 2026 00:09
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Mar 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce 20-min focus survival

3 participants