Preserve AggregateError nested errors in reporter output#40864
Preserve AggregateError nested errors in reporter output#40864charliesheh wants to merge 1 commit into
Conversation
|
@microsoft-github-policy-service agree |
|
Hey @charliesheh, the A few more pieces need to land before this is fully wired up. The IPC boundary is the one that'll bite.
I went down the same rabbit hole and have all of it built out. Ping me if you want a hand — no pressure either way. |
|
@charliesheh Is this fixing an issue? Note that we require all non-trivial changes to have a corresponding issue. |
|
Hey @charliesheh, looks like #40856 covers exactly this. Drop |
Summary
Preserve
AggregateError.errors[]entries when filtering and serializing stack traces for reporter output.Previously,
filterStackTrace()recursively preservederror.cause, but omitted nested errors contained inAggregateError.errors[].Changes
AggregateError.errors[]reporter-base.spec.tsTesting
npm run buildnpm run ttest -- tests/playwright-test/reporter-base.spec.ts