Repository navigation
feat(core): render complete failure causes - #101
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 41 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Printing a grouped failure currently hides its reasons behind an instance name.
Cause.toString()now describes every business failure, defect and cancellation in order, retaining repeated reasons and each defect's stored stack.TaskExceptionuses the same output at Runtime and Stream boundaries.Diagnostic values use their own string representation, so redacted payloads stay hidden. The structured cause and execution/reporting behavior are unchanged.
Related issues
Closes #51
Validation
dart pub getdart format --output=none --set-exit-if-changed .dart analyze --fatal-infosdart test— 1,371 tests passed.Covers null/cancellation, multiline diagnostics, repeated errors with distinct stacks, redacted values, and synchronous/asynchronous Runtime and Stream exception boundaries.