Skip to content

Improve trace viewer for large trace logs#540

Open
edbeeching wants to merge 2 commits into
gradio-app:mainfrom
edbeeching:codex/trace-dataset-viewer
Open

Improve trace viewer for large trace logs#540
edbeeching wants to merge 2 commits into
gradio-app:mainfrom
edbeeching:codex/trace-dataset-viewer

Conversation

@edbeeching
Copy link
Copy Markdown

@edbeeching edbeeching commented Apr 29, 2026

Summary

  • Reworks the Traces tab into a dataset-viewer-style table with page-sized loading, run selection, URL state, column toggles, search, sorting, and inline expandable cells.
  • Adds a step slider/count view so large batched trace runs can load one training step at a time.
  • Uses scalar-only log loading for the Metrics tab so large trace payloads are not fetched just to render scalar charts.
  • Loads full-resolution scalar metric rows for Metrics so smoothing is computed over all scalar points rather than a sampled 1500-point subset.

Notes

  • Known gap: multimodal trace message parts/images are not preserved as inline media in this draft table view; non-string message content is rendered as JSON.

Validation

  • npm --prefix trackio/frontend run lint
  • npm --prefix trackio/frontend run build
  • npm --prefix trackio/frontend run test
  • Local trackio show smoke test against project trackio-long-trace-metrics-repro

@edbeeching edbeeching force-pushed the codex/trace-dataset-viewer branch from 8ec2a23 to 02f4acc Compare April 29, 2026 13:54
@edbeeching edbeeching force-pushed the codex/trace-dataset-viewer branch from 02f4acc to e2c1d86 Compare April 29, 2026 14:25
@edbeeching edbeeching marked this pull request as ready for review May 4, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant