Skip to content

Long Markdown URLs break activity summary links in the Timeline #4206

Open

Description

@rvadaga

Describe the bug

The Timeline adds the activity name to the summary and truncates the raw Markdown at 120 characters before rendering it. If the cutoff falls inside a link destination, the Timeline shows partial Markdown instead of a clickable link. This can happen even with a short label like Activity logs.

Steps to reproduce

  1. Schedule an activity named FetchReport with this summary:

    summary = "[Activity logs](https://example.test/reports/" + "segment/" * 16 + ")"
  2. Open the completed workflow in Temporal UI and select Timeline.

  3. Find the FetchReport row. It displays the start of the Markdown link followed by an ellipsis.

The URL is 157 characters long. The full Markdown summary is 174 bytes, within the documented 200-byte input limit. Temporal activity summary documentation

Expected behavior

FetchReport • Activity logs should display as a keyboard-accessible link with the original URL. When the rendered text exceeds 120 characters, the Timeline should shorten it to 120 characters, including the activity name, separator, and ellipsis. Temporal Timeline documentation

Local reproduction

I ran two workflows on Temporal CLI 1.9.1 and viewed the same runs in upstream Temporal UI and with a local fix. Upstream showed raw Markdown in both cases. The local fix preserved both link destinations and shortened the long label to exactly 120 characters.

Timeline comparison for a short label with a long URL and a long label with a short URL

If this behavior looks right, I’m happy to open a PR.

Activity

  1. added
    bug
    on Nov 21, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions