Skip to content

Worker Progress: error block truncates the middle of the error message #1

Description

@jonaimil

Summary

In the Worker Progress modal (Memory Workers → Run Now), the red error block for a failed/warning task clips the middle of the error payload. The text neither wraps nor scrolls, so part of the message is silently dropped — and it's the part that actually says what went wrong.

What renders

For a Classify task that finished "Completed With Warnings", the error box shows:

{"errors":
[{"context":"org_57bfee3b1ad748e5b97e7e78466ff059:db_2d254c7a8edb4582bc9ffaf7fae6c557","error
session ended without WORKER_DONE signal","task":"01_memory_worker_classify"}]}

Line 2 ends mid-token at "error and line 3 resumes at session ended without WORKER_DONE signal. Somewhere in between is the ":"… and whatever prefix names the session that died — which is the only diagnostically useful part of the string.

There is no horizontal scrollbar, no wrap, no expand/show-more control, and no copy button on the block, so there's no obvious way to recover the hidden run from the UI.

Why it matters

This modal is the primary surface for diagnosing a failed worker run. Truncating the error string is the one failure mode that makes the surface useless for its purpose — you can see that Classify failed, but not why.

Repro

  1. Run the Enrichment worker (Memory Workers → Run Now).
  2. Let a task complete with warnings/errors.
  3. Open Worker Progress and look at the offending task's error block.

Seen at a ~1990 CSS px viewport, so it's not a narrow-window artifact — the container is clipping regardless of available width.

Run ID: 8f2ba966-fa74-4e1f-bb9b-35678cd4ddbe

Expected

The full error payload should be readable. Any of:

  • white-space: pre-wrap + overflow-wrap: anywhere so long unbroken JSON wraps instead of being cut
  • a horizontally scrollable container
  • an expand/collapse for the raw payload
  • a copy-to-clipboard button on the error block

Pretty-printing the JSON rather than dumping it as one line would help too.

Screenshot

Email and account name masked; the error text is left as-is since the clipping is the point.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions