fix(web): keep workflow error cards compact when tracing exists#38133
fix(web): keep workflow error cards compact when tracing exists#38133Harsh23Kashyap wants to merge 4 commits into
Conversation
|
Hey, this PR is ready for review when you have a chance. Happy to adjust if anything needs changing. Note #37968 also targets this issue — happy to fold the test commits there if maintainers prefer one PR. |
|
Please attach a screenshot for frontend bugs. |
…exists When workflow tracing is available, show the latest node summary in the collapsed card instead of the raw workflow-level error. Preserve multiline wrapping in the expanded error panel.
9854a29 to
9f033a3
Compare
|
I'll add before/after screenshots. With tracing enabled, the collapsed card should show the node title (for example the failing node name), and the full workflow error stays in the expanded panel. Before this change the collapsed header could show the entire multiline error text. |
|
@crazywoola Before/after for failed workflow chat cards when tracing exists. Before (collapsed): the header shows the workflow-level error (truncated when it is long). After (collapsed): the header shows the failing node title (LLM). The full workflow error stays in the expanded panel.
Expanded view still renders the full multiline workflow error in the panel below the tracing list. |



Fixes #37939. Collapsed workflow cards keep node summary when tracing exists; expanded panel keeps full error with multiline wrap. Tests: pnpm test workflow-process.spec.tsx (17 passed). Related #37968.