Skip to content

Retire legacy TaskNestedException SOS script - #6093

Merged
max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:dev/max-charlamb/retire-tasknestedexception-script
Oct 8, 2026
Merged

max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:dev/max-charlamb/retire-tasknestedexception-script

Conversation

@max-charlamb

Copy link
Copy Markdown
Member

Summary

  • Retire only TaskNestedException.script and its legacy registration.
  • Add modern coverage for the complete AggregateException -> FormatException -> InvalidOperationException chain, messages, ordered task/caller/throw frames, and exact source lines.
  • Reuse the existing debuggee sources. Move its app project to the standard debuggee-folder location, exclude RandomUserLibrary sources from app compilation while keeping the project reference, and remove the standalone debuggee solution.
  • Include the target in Core, SingleFile, and Framework payloads; update COVERAGE.md and only the moved project path in build.sln. No README or ConcurrentDictionaries changes.

Validation

Local Windows x64:

  • Core .NET 8-11: 20 task-exception cases passed.
  • .NET 10 SingleFile and Framework: 8 task-exception cases passed.
  • .NET 11 Core/cDAC: 5 cases passed.
  • With Framework source-line exclusions removed, all 5 Framework cases passed exact line checks for lines 26, 38, and 22 (CDB live, CDB Heap/Mini dumps, dotnet-dump Heap/Mini dumps).
  • Targeted builds passed. Unix, ARM, and x86 execution was not performed locally.

Cover the complete task exception chain, messages, ordered frames, and exact source lines in modern SOS tests, including Framework. Move the app project to the standard debuggee layout while keeping RandomUserLibrary separate, update payload metadata and the solution path, and remove the legacy script and registration.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: ab215431-2cf9-4421-8822-d411adca0f92
@max-charlamb
max-charlamb requested a review from a team as a code owner October 7, 2026 20:59
@max-charlamb

Copy link
Copy Markdown
Member Author

/ba-g flaky test fixed by #6088

@max-charlamb
max-charlamb merged commit 3d80008 into dotnet:main Oct 8, 2026
22 of 24 checks passed
@max-charlamb
max-charlamb deleted the dev/max-charlamb/retire-tasknestedexception-script branch October 8, 2026 16:22
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants