Skip to content

[Unhandled Error] Soft Assertion Failed #305852

Description

@vs-code-engineering

Error Message

Soft Assertion Failed

Stack Trace

    at FYt (./src/vs/base/common/assert.ts:63:20)
    at softAssert (./src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.ts:527:2)
    at (anonymous) (./src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.ts:178:14)
    at s (./src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.ts:175:7)
    at updateUnchangedRegions (./src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.ts:312:4)
    at fn (./src/vs/base/common/observableInternal/transaction.ts:19:2)
    at transaction (./src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.ts:310:3)

Raw Stack Trace (minified)
Error: Soft Assertion Failed     at FYt (out/vs/workbench/workbench.desktop.main.js:386:325)     at new a (out/vs/workbench/workbench.desktop.main.js:850:24683)     at out/vs/workbench/workbench.desktop.main.js:850:18815     at Array.map (<anonymous>)     at s (out/vs/workbench/workbench.desktop.main.js:850:18755)     at out/vs/workbench/workbench.desktop.main.js:850:21920     at Ji (out/vs/workbench/workbench.desktop.main.js:406:109163)     at out/vs/workbench/workbench.desktop.main.js:850:21913

Details

Property Value
Bucket ID e734f19e-0300-0a78-ae46-d326665ac84b
Version 1.113.0
Commit cfbea10c
Last Seen Thu Mar 26 2026 23:59:02 GMT+0000 (Coordinated Universal Time)
Platforms Mac, Windows, Linux
Product VSCode

This issue was automatically created from the VS Code Errors Dashboard


Trend

This error is increasing across recent stable releases:

Version Users Hits
1.107.0 4.1K 10.4K
1.107.1 11K 28K
1.108.0 6.9K 17K
1.108.1 9.4K 23.2K
1.108.2 19.1K 47.1K
1.110.0 29.1K 64.1K
1.110.1 38.4K 88K
1.113.0 25.4K 34.4K

1.113.0 was released 3 days ago and already has 25.4K users affected. All platforms (Mac, Windows, Linux).

Related Issues

This is a new-format replacement for the existing open old-format issue #211616 which tracks the same Soft Assertion Failed in diffEditorViewModel.ts (updateUnchangedRegionssoftAssert). Other related closed issues: #267092, #260072, #248828, #232394, #229302.

The root cause is in src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.ts — a soft assertion failure triggered during updateUnchangedRegions via softAssert at line 527.

Generated by errors-triage ·

Metadata

Metadata

Assignees

Labels

*fixTrigger a agentic workflow to provide analysis and propose PR.ai-generatedGenerated by AI automation workflowsbugIssue identified by VS Code Team member as probable bugerror-telemetryVS Code - Issues generated by telemetry

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions