Skip to content

Prototype the span tree and span details #995

Closed

Description

@JacobStephens2

Parent

#700

What to build

A /prototype session designs two things, borrowing from MLflow's trace view:

  • the span tree that grows out of the Console's Waterfall, showing a Command's Runs, stages, sessions, model calls and tool calls;
  • each span's details in the Peek panel.

The design, with any snippet that encodes it more precisely than prose, is recorded on #996. It's for a human because the prototype is designed with you, in a session of its own.

Acceptance criteria

Activity

  1. JacobStephens2 commented on Oct 22, 2026

    @JacobStephens2
    OwnerAuthor

    Verdict

    The question: what should the span tree that grows out of the Waterfall, and a span's details in the Peek panel, look like at phone and laptop widths?

    Layout E, a tree with a timeline and the slowest calls, with Peek layout 3, a summary card. The design is recorded on #996 under "Design (settled in #995)".

    • A beat B, C and D. It's MLflow's trace view: an indented tree with a time column on a shared axis.
    • E is A plus C's best part: the ten slowest tool and model calls listed above the tree, with when each ran, and ranked in it.
    • Peek 3 beat 1's tabs. The input shows without a click, and the times and key numbers are up front.
    • Zooming the timeline stays. On a call it zooms around the call, with a pinned notice to zoom back out.
    • C, the flame chart, lost partly on the data. Converted sessions' estimated times overlap, and one block hides another.

    The prototype

    src/console/span-tree-prototype/ on the issue-995-prototype branch, at edf2d3d. It holds five tree layouts (?variant=A–E) and three Peek layouts (?details=1–3) on a copy of the Waterfall page, over real Session traces. extract.py rebuilds the git-ignored fixture from any Command records. The branch is throwaway and never merges to main.

  2. JacobStephens2 commented on Oct 22, 2026

    @JacobStephens2
    OwnerAuthor

    Done: the design is recorded on #996 ("Design (settled in #995)"), together with what the static prototype didn't show and the build must decide. The prototype stays on the issue-995-prototype branch.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions