Skip to content

fix: tolerate untimestamped trace type data#71

Open
jianmosier wants to merge 1 commit into
tsperf:mainfrom
jianmosier:codex/tsperf-types-json-summary
Open

fix: tolerate untimestamped trace type data#71
jianmosier wants to merge 1 commit into
tsperf:mainfrom
jianmosier:codex/tsperf-types-json-summary

Conversation

@jianmosier
Copy link
Copy Markdown

Summary

  • allow stock TypeScript types.json entries without ts timestamps to parse safely
  • expose trace data summary counts for total, timestamped, and untimestamped type entries
  • keep timestamped type attribution for trace-tree spans while avoiding false attribution for untimestamped stock data

Validation

  • pnpm exec vitest run test/traceData.test.ts test/traceTree.test.ts
  • pnpm typecheck

Scope

Draft PR for parser/tree correctness only. It does not touch hot-path visualization, virtualization, depth-limit highlighting, Windows cwd/drive behavior, or trace-server work.

@jianmosier jianmosier marked this pull request as ready for review May 20, 2026 12:30
@jianmosier jianmosier requested a review from danielroe as a code owner May 20, 2026 12:30
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