Skip to content

[Bug]: Long history load error URLs overflow the chat lane and trigger a horizontal timeline scrollbar #46834

Done

Description

@jinl96

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Open a thread with older history where loading earlier turns fails with an error containing a long unbroken URL (for example, RemoteEnvironmentAuthTimeoutError on /api/orchestration/threads/<id>/history?cursor=<base64>&deferWork=1&compactIds=1).
  2. Observe the error status line rendered under Load earlier turns in MessagesTimeline.

Expected behavior

The history error message wraps inside .chat-content-lane, stays clear of the right details sidebar, and does not add a horizontal scrollbar to the timeline.

Actual behavior

  1. The unbroken cursor=<base64> query string inside TimelineHistoryControl's <p role="status"> overflows horizontally past .chat-content-lane and across the right details sidebar.
  2. Although <LegendList> in apps/web/src/components/chat/MessagesTimeline.tsx includes overflow-x-hidden in className, @legendapp/list defaults showsHorizontalScrollIndicator to true and writes inline overflowX: "auto", overriding overflow-x-hidden and producing a wide horizontal scrollbar across the bottom of the timeline.

Impact

Minor bug or occasional failure

Version or commit

main @ 89ba000

Environment

macOS, T3 Code Desktop / Web (Chromium)

Logs or stack traces

Remote environment endpoint http://127.0.0.1:3783/api/orchestration/threads/00000000-0000-4000-8000-000000000001/history?cursor=eyJ2IjoxLCJzZXEiOjEwMDAyMDEwLCJzdCI6IjAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMSIsInNpIjoidHVybi1pdGVtOnByb3ZpZGVyOmV4YW1wbGU6bmF0aXZlLWl0ZW06cHJvdmlkZXItaW5zdGFuY2UlM0FleGFtcGxlJTNBMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyJTNBdHVybiUzQTg0JTNBam9iJTNBMTcyIiwicCI6Mn0&deferWork=1&compactIds=1 timed out after 6000ms.

Screenshots, recordings, or supporting files

Timeline history error overflowing chat lane into details sidebar

Workaround

None (the horizontal overflow remains until the history error clears).

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

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