Skip to content

feat: write trace run metrics artifact#70

Open
jianmosier wants to merge 1 commit into
tsperf:mainfrom
jianmosier:codex/tsperf-metrics-artifact
Open

feat: write trace run metrics artifact#70
jianmosier wants to merge 1 commit into
tsperf:mainfrom
jianmosier:codex/tsperf-metrics-artifact

Conversation

@jianmosier
Copy link
Copy Markdown

Summary

  • write a metrics.json artifact after trace runs
  • record trace command, cwd, trace directory, start/end time, wall time, exit code, stdout/stderr summaries, discovered trace JSON files, and parse status
  • skip metrics.json when loading trace JSON files into the trace viewer

Validation

  • pnpm exec vitest run test/traceRunMetrics.test.ts
  • pnpm typecheck

Scope

Draft PR for the run-level metrics artifact only. This avoids overlap with current visualization, depth-limit, Windows cwd/drive, virtualization, and trace-server PRs.

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