Skip to content

fix(web): keep workflow error cards compact when tracing exists#38133

Open
Harsh23Kashyap wants to merge 4 commits into
langgenius:mainfrom
Harsh23Kashyap:fix/37939-workflow-error-card-summary
Open

fix(web): keep workflow error cards compact when tracing exists#38133
Harsh23Kashyap wants to merge 4 commits into
langgenius:mainfrom
Harsh23Kashyap:fix/37939-workflow-error-card-summary

Conversation

@Harsh23Kashyap

Copy link
Copy Markdown
Contributor

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.

@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jun 29, 2026
@github-actions github-actions Bot added the web This relates to changes on the web. label Jun 29, 2026
@Harsh23Kashyap

Copy link
Copy Markdown
Contributor Author

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.

@crazywoola

Copy link
Copy Markdown
Member

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.
@Harsh23Kashyap Harsh23Kashyap force-pushed the fix/37939-workflow-error-card-summary branch from 9854a29 to 9f033a3 Compare June 29, 2026 13:10
@Harsh23Kashyap

Copy link
Copy Markdown
Contributor Author

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.

@Harsh23Kashyap

Copy link
Copy Markdown
Contributor Author

@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.

before and after comparison

Before After
before after

Expanded view still renders the full multiline workflow error in the panel below the tracing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: keep workflow error cards compact when tracing context exists

2 participants