Bump @opentelemetry/core and @vscode/extension-telemetry and fix TelemetryReporter import - #26007
Merged
Raymond Zhao (rzhao271) merged 5 commits intoJun 26, 2026
Merged
Conversation
Michael Lively (Yoyokrazy)
previously approved these changes
Jun 16, 2026
Tyler James Leonhardt (TylerLeonhardt)
previously approved these changes
Jun 16, 2026
Removes [@opentelemetry/core](https://github.com/open-telemetry/opentelemetry-js). It's no longer used after updating ancestor dependency [@vscode/extension-telemetry](https://github.com/Microsoft/vscode-extension-telemetry). These dependencies need to be updated together. Removes `@opentelemetry/core` Updates `@vscode/extension-telemetry` from 0.8.4 to 1.5.2 - [Release notes](https://github.com/Microsoft/vscode-extension-telemetry/releases) - [Commits](microsoft/vscode-extension-telemetry@v0.8.4...v1.5.2) --- updated-dependencies: - dependency-name: "@opentelemetry/core" dependency-version: dependency-type: indirect - dependency-name: "@vscode/extension-telemetry" dependency-version: 1.5.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
dismissed stale reviews from Tyler James Leonhardt (TylerLeonhardt) and Michael Lively (Yoyokrazy)
via
June 19, 2026 20:54
78c6617
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/multi-347287d966
branch
from
June 19, 2026 20:54
aff3ba4 to
78c6617
Compare
…nd ANSI error detection in gulp
Copilot
AI
changed the title
Bump @opentelemetry/core and @vscode/extension-telemetry
Bump @opentelemetry/core and @vscode/extension-telemetry and fix TelemetryReporter import
Jun 19, 2026
Raymond Zhao (rzhao271)
approved these changes
Jun 19, 2026
Raymond Zhao (rzhao271)
enabled auto-merge (squash)
June 19, 2026 22:54
Alexandru Dima (alexdima)
previously approved these changes
Jun 19, 2026
Raymond Zhao (rzhao271)
previously approved these changes
Jun 22, 2026
The dependabot PR bumped @vscode/extension-telemetry from ^0.8.4 to
^1.5.2. The old version (0.8.4) exported TelemetryReporter as a default
export (exports.default), while the new version (1.5.2) exports it as a
named export (exports.TelemetryReporter).
The production code in telemetry/index.ts was correctly updated to use
the named export (.TelemetryReporter), but the test mocks still used
{ default: Reporter } causing "TypeError: Reporter is not a constructor"
in 5 unit tests.
Updated all rewiremock calls from:
rewiremock('@vscode/extension-telemetry').with({ default: Reporter })
to:
rewiremock('@vscode/extension-telemetry').with({ TelemetryReporter: Reporter })
Copilot
AI
dismissed stale reviews from Raymond Zhao (rzhao271) and Alexandru Dima (alexdima)
via
June 26, 2026 17:39
11d71fd
Raymond Zhao (rzhao271)
approved these changes
Jun 26, 2026
Ben Villalobos (benvillalobos)
approved these changes
Jun 26, 2026
Raymond Zhao (rzhao271)
deleted the
dependabot/npm_and_yarn/multi-347287d966
branch
June 26, 2026 18:27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes @opentelemetry/core. It's no longer used after updating ancestor dependency @vscode/extension-telemetry. These dependencies need to be updated together.
Removes
@opentelemetry/coreUpdates
@vscode/extension-telemetryfrom 0.8.4 to 1.5.2@vscode/extension-telemetryv1.5.2 changedTelemetryReporterfrom a default export to a named export. This PR also updates the import and runtime access in the extension source to match:src/client/telemetry/index.tsandsrc/client/browser/extension.ts: changedimport TelemetryReporter from '@vscode/extension-telemetry'toimport { TelemetryReporter } from '@vscode/extension-telemetry'and updatedrequire('@vscode/extension-telemetry').defaulttorequire('@vscode/extension-telemetry').TelemetryReporter.gulpfile.js: strip ANSI color escape codes from webpack stdout before checking forERROR in/WARNING inpatterns, so webpack build errors are correctly detected instead of being silently swallowed.