Skip to content

Improve workflow diagnostics readability on Tasks page#309

Merged
tbrandenburg merged 1 commit intomainfrom
codex/improve-workflow-diagnostics-for-exit-1
Mar 24, 2026
Merged

Improve workflow diagnostics readability on Tasks page#309
tbrandenburg merged 1 commit intomainfrom
codex/improve-workflow-diagnostics-for-exit-1

Conversation

@tbrandenburg
Copy link
Copy Markdown
Owner

Motivation

  • Workflow diagnostics shown on the Tasks page were aggressively truncated and presented inline, making failures like Exit 1 hard to investigate.
  • The goal is to make captured stderr/stdout tails directly visible and preserve multiline output so users can analyze errors without leaving the overview.

Description

  • Stop truncating diagnostics text by simplifying formatErrorText to return the full trimmed string instead of slicing it.
  • Render Error and Stdout sections as <pre> blocks inside the diagnostics details so multiline logs and traces are preserved.
  • Add .workflow-diagnostics__output CSS to make diagnostics blocks scrollable, wrapped, and visually distinct.
  • Update the Tasks page unit test (TasksPage.test.tsx) to assert the new Error/Stdout presentation and sample content.

Testing

  • Ran the frontend unit test file with npm --workspace packages/frontend run test -- src/pages/TasksPage.test.tsx, and all tests passed (1 file, 6 tests).
  • No backend tests were modified or executed as part of this change.

Codex Task

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
made Ready Ready Preview, Comment Mar 24, 2026 9:16pm

@tbrandenburg tbrandenburg merged commit f522803 into main Mar 24, 2026
8 checks passed
@tbrandenburg tbrandenburg deleted the codex/improve-workflow-diagnostics-for-exit-1 branch March 24, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant