fix: re-pin App Insights WorkerService to 2.22.0 (prod recovery + Dependabot ignore)#23
Merged
Merged
Conversation
…(prod recovery) 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>
|
Claude finished @cao825's task in 2m 8s —— View job Review: re-pin App Insights WorkerService 2.22.0 ✅ Merged
Verdict: ✅ Correct, low-risk — merged to restore productionThe fix is sound. Verified
Non-blocking note
Good incident hygiene: the comment now cross-references PR #6, PR #22, and the outage, and the real guard lives in |
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.
🔴 Incident recovery (2026-06-22)
Restores production. Dependabot PR #22 bumped
Microsoft.ApplicationInsights.WorkerService2.22.0 → 3.1.2 (reverting PR #6's pin); auto-merge + CD deployed it at 11:58 UTC and the isolated worker began crash-looping on startup (TypeLoadExceptiononITelemetryInitializer; host serving 502). WorkerService 3.x pullsMicrosoft.ApplicationInsights3.x, incompatible withWorker.ApplicationInsights2.x.Fix
Microsoft.ApplicationInsights.WorkerService→ 2.22.0 (exact pin; resolvesMicrosoft.ApplicationInsightsback to 2.23.0, the proven-good state).dotnet build -c Release -warnaserror→ 0/0.Prevent recurrence (the comment alone wasn't a guard)
.github/dependabot.yml: ignore semver-major updates for bothMicrosoft.ApplicationInsights.WorkerServiceandMicrosoft.ApplicationInsights. This ignore rule is the real enforcement — the csproj comment is documentation.Merge
Incident — hand-merging once checks are green if auto-merge lags. CD redeploys; recovery verified by
/api/health200 ×3 over 30s +/api/checksreturning data.🤖 Generated with Claude Code