Skip to content

Bump Microsoft.ApplicationInsights.WorkerService from 2.22.0 to 3.1.2#22

Merged
cao825 merged 1 commit into
mainfrom
dependabot/nuget/Microsoft.ApplicationInsights.WorkerService-3.1.2
Jun 22, 2026
Merged

Bump Microsoft.ApplicationInsights.WorkerService from 2.22.0 to 3.1.2#22
cao825 merged 1 commit into
mainfrom
dependabot/nuget/Microsoft.ApplicationInsights.WorkerService-3.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown
Contributor

Updated Microsoft.ApplicationInsights.WorkerService from 2.22.0 to 3.1.2.

Release notes

Sourced from Microsoft.ApplicationInsights.WorkerService's releases.

3.1.2

Version 3.1.2

3.1.1

Version 3.1.1

3.1.0

Version 3.1.0

3.0.0

3.0.0-rc1

3.0.0-beta2

Added

  • Automatic configuration binding from "ApplicationInsights" section in appsettings.json for both AspNetCore and WorkerService packages with configuration precedence: environment variables > explicit configuration > appsettings.json
  • Added support for Entra ID (Azure Active Directory) authentication using Azure.Core.TokenCredential
  • Added Self Diagnostics feature
  • Updated the default sampler from Fixed Rate to Rate-Limited Sampling.
  • Update Azure Monitor Exporter to 1.6.0-beta.2
  • Add comprehensive applicationinsights.config support
  • Add properties in TelemetryConfiguration to configure underlying exporter

Bug fix

  • Fix TrackMetric(MetricTelemetry) unsupported telemetry type error

3.0.0-beta1

  • The following Application Insights packages in this repo now use OpenTelemetry internally. OpenTelemetry is the industry standard for telemetry collection and provides better interoperability with other observability tools.
    • Microsoft.ApplicationInsights
    • Microsoft.ApplicationInsights.AspNetCore
    • Microsoft.ApplicationInsights.WorkerService
    • Microsoft.ApplicationInsights.Web
    • Microsoft.ApplicationInsights.NLogTarget
  • Classic APIs of the above packages are preserved; calls are translated to OpenTelemetry telemetry.
  • Other packages not listed above (such as certain auto-collectors and logging adapters that were published from this repo previously) will not have future versions published. See BreakingChanges.md for details.

2.23.0

  • no changes since beta.

2.23.0-beta1

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Microsoft.ApplicationInsights.WorkerService
  dependency-version: 3.1.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Jun 22, 2026
@cao825 cao825 merged commit 7daacaa into main Jun 22, 2026
9 checks passed
@cao825 cao825 deleted the dependabot/nuget/Microsoft.ApplicationInsights.WorkerService-3.1.2 branch June 22, 2026 11:58
claude Bot pushed a commit that referenced this pull request Jun 22, 2026
…(prod recovery) (#23)

INCIDENT 2026-06-22: Dependabot PR #22 bumped Microsoft.ApplicationInsights.WorkerService
2.22.0 -> 3.1.2 (reverting PR #6's pin); auto-merge + CD shipped it and the isolated worker
crash-looped on startup (TypeLoadException: ITelemetryInitializer; host served 502). WorkerService
3.x pulls Microsoft.ApplicationInsights 3.x, incompatible with Worker.ApplicationInsights 2.x.

Recovery:
- Re-pin WorkerService to 2.22.0 (exact pin; resolves Microsoft.ApplicationInsights back to 2.23.0,
  the proven-good state). Build -c Release -warnaserror 0/0.

Prevent recurrence (the comment alone wasn't a guard — Dependabot overrode it):
- .github/dependabot.yml: ignore semver-major updates for Microsoft.ApplicationInsights.WorkerService
  AND Microsoft.ApplicationInsights. This ignore rule is the real enforcement.
- Strengthened the csproj comment to reference PR #6, PR #22, this outage, and the ignore rule.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant