Skip to content

feat(trace-ui): add session lineage navigation - #2905

Merged
esokullu merged 1 commit into
webbrain-one:mainfrom
alectimison-maker:feat/trace-lineage-navigation
Aug 23, 2026
Merged

feat(trace-ui): add session lineage navigation#2905
esokullu merged 1 commit into
webbrain-one:mainfrom
alectimison-maker:feat/trace-lineage-navigation

Conversation

@alectimison-maker

Copy link
Copy Markdown
Contributor

Summary

Adds persisted-run session hierarchy navigation to the Traces page while keeping the existing run detail surface intact.

Closes #2900

What changed

  • Added a browser-neutral lineage builder shared by Chrome and Firefox.
  • Groups loaded runs by session and keeps groups collapsed by default.
  • Shows deterministic parent/child navigation using parentRunId when the unique parent is present in the loaded result.
  • Keeps duplicate IDs, missing parents, cycles, and cross-session relationships visible as root records with explanatory markers.
  • Shows an incomplete-lineage notice when the list is bounded, filtered, or contains unresolved relationships.
  • Preserves run selection, timeline, statistics, trajectory, comparison, export, refresh, and automatic refresh behavior.
  • Added localized labels for all shipped UI languages.

Design notes

  • Parent attachment is limited to an unambiguous parent in the current loaded result.
  • Siblings are ordered by startedAt, then runId.
  • Cross-session relationships remain visible as references; they are not represented as same-session parent links.
  • No event format, persisted storage schema, or telemetry exporter behavior is changed.

Validation

  • node test/run.js — 2026 passed; 2 pre-existing failures remain in the repository version-history and tracked-archive checks.
  • npm run test:toolbar-guard — 33/33 passed.
  • npm run test:security — 60/60 passed.
  • node scripts/benchmark-offline-relevance.mjs — completed successfully.
  • Chrome/Firefox source parity and JavaScript syntax checks passed.
  • Manual unpacked-extension interaction testing was not available in this environment.

@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

@alectimison-maker is attempting to deploy a commit to the esokullu's projects Team on Vercel.

A member of the Team first needs to authorize it.

@esokullu
esokullu merged commit a1f333f into webbrain-one:main Aug 23, 2026
1 of 2 checks passed
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.

trace: group related runs and show persisted parent-child lineage

2 participants