Skip to content

Conversation

@benibenj
Copy link
Contributor

Copilot Generated Description: Remove error properties and related handling from inline suggestion data structures and methods. This includes eliminating error reporting and associated logic throughout the relevant classes and interfaces.

Copilot AI review requested due to automatic review settings October 24, 2025 13:10
@benibenj benibenj enabled auto-merge October 24, 2025 13:10
@benibenj benibenj self-assigned this Oct 24, 2025
Copy link
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 removes error tracking infrastructure from the inline completions/suggestions system. The changes eliminate the ability to report and propagate errors through the inline edit lifecycle, including removing error properties from telemetry events and data structures.

Key Changes

  • Removed error tracking from inline completion telemetry events and lifetime summaries
  • Eliminated the abort() method and reportInlineEditError() functionality from inline edit models
  • Changed error handling to use onUnexpectedError() instead of model-level error reporting

Reviewed Changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/vs/workbench/api/browser/mainThreadLanguageFeatures.ts Removed error field from lifetime summary telemetry
src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.ts Removed abort() method from IInlineEditModel interface
src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.ts Changed from model.abort() to onUnexpectedError() for error reporting
src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.ts Removed abort() method implementation
src/vs/editor/contrib/inlineCompletions/browser/telemetry.ts Removed error field from telemetry event types and classifications
src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.ts Removed error field from InlineSuggestViewData and reportInlineEditError() method
src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.ts Removed reportInlineEditError() method
src/vs/editor/common/languages.ts Removed error field from LifetimeSummary type

@vs-code-engineering vs-code-engineering bot added this to the October 2025 milestone Oct 24, 2025
…ts/inlineEditsView.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Tyriar
Tyriar previously approved these changes Oct 24, 2025
@bpasero
Copy link
Member

bpasero commented Oct 24, 2025

@benibenj red CI

@benibenj benibenj merged commit 605fa03 into main Oct 27, 2025
28 checks passed
@benibenj benibenj deleted the benibenj/reasonable-lungfish branch October 27, 2025 08:17
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.

5 participants