Skip to content

chore(deps): Bump @microsoft/applicationinsights-web from 2.8.18 to 3.4.1 - #7755

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/microsoft/applicationinsights-web-3.4.1
Open

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/microsoft/applicationinsights-web-3.4.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 20, 2026

Copy link
Copy Markdown
Contributor

Details

Fixes the failing build GitHub Actions job by updating telemetry typings to align with @microsoft/applicationinsights-web@3.4.1 and adjusting the related unit test mock return type.

Motivation

build failed in CI with:

  • TS2307 for importing @microsoft/applicationinsights-web/types/Initialization (no longer available)
  • TS2345 because the mocked addTelemetryInitializer return type no longer matched SDK typings
Context

Scope was kept minimal to the failing telemetry client and its unit test:

  • Replaced the package-internal Initialization type usage with stable exported types from @microsoft/applicationinsights-core-js
  • Preserved exported local telemetry type aliases used by existing tests
  • Updated the test mock to return a handler-shaped value for addTelemetryInitializer

Validation run:

  • yarn lint:check:all
  • yarn tbuild:all
  • yarn test --maxWorkers=2 --ci --runTestsByPath src/tests/unit/tests/background/telemetry/app-insights-telemetry-client.test.ts

Pull request checklist

  • Addresses an existing issue: n/a
  • Ran yarn fastpass
  • Added/updated relevant unit test(s) (and ran yarn test)
  • Verified code coverage for the changes made. Check coverage report at: <rootDir>/test-results/unit/coverage
  • PR title AND final merge commit title both start with a semantic tag (fix:, chore:, feat(feature-name):, refactor:). See CONTRIBUTING.md.
  • (UI changes only) Added screenshots/GIFs to description above (n/a)
  • (UI changes only) Verified usability with NVDA/JAWS (n/a)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added category: engineering dependencies Pull requests that update a dependency file labels May 20, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner May 20, 2026 13:47
@dependabot dependabot Bot added category: engineering dependencies Pull requests that update a dependency file labels May 20, 2026
@v-deepaktn

Copy link
Copy Markdown
Contributor

Dependabot (@dependabot) rebase

Bumps [@microsoft/applicationinsights-web](https://github.com/microsoft/ApplicationInsights-JS) from 2.8.18 to 3.4.1.
- [Release notes](https://github.com/microsoft/ApplicationInsights-JS/releases)
- [Changelog](https://github.com/microsoft/ApplicationInsights-JS/blob/main/RELEASES.md)
- [Commits](microsoft/ApplicationInsights-JS@2.8.18...v3.4.1)

---
updated-dependencies:
- dependency-name: "@microsoft/applicationinsights-web"
  dependency-version: 3.4.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/microsoft/applicationinsights-web-3.4.1 branch from d51e8d5 to 5df3c83 Compare June 8, 2026 10:32
Copilot AI changed the title chore(deps): Bump @microsoft/applicationinsights-web from 2.8.18 to 3.4.1 fix: resolve build failure from App Insights telemetry type changes Jun 8, 2026
Copilot AI requested a review from v-deepaktn June 8, 2026 10:50
@v-deepaktn v-deepaktn changed the title fix: resolve build failure from App Insights telemetry type changes chore(deps): Bump @microsoft/applicationinsights-web from 2.8.18 to 3.4.1 Jun 8, 2026
@v-deepaktn
v-deepaktn removed their request for review June 8, 2026 10:55
@v-deepaktn

Copy link
Copy Markdown
Contributor

Dependabot (@dependabot) rebase

@dependabot @github

dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@dependabot @github

dependabot Bot commented on behalf of github Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

A newer version of @​microsoft/applicationinsights-web exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: engineering dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants