Skip to content

Run multiple analyses from a single trace parse - #19

Merged
jackfranklin merged 10 commits into
ChromeDevTools:mainfrom
kurtextrem:codex/trace-single-parse-report
Nov 19, 2026
Merged

jackfranklin merged 10 commits into
ChromeDevTools:mainfrom
kurtextrem:codex/trace-single-parse-report

Conversation

@kurtextrem

@kurtextrem kurtextrem commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

View just this PR’s diff

This series comes from a fork. GitHub requires all branches in a native stack to be in the same repository.

Add the opt-in report command so several analyses can share one parsed trace. Its default sections are overview, tasks, shifts, and network. Use --sections to choose which analyses to include.

Tests verify that report sections match the standalone results, that TOON, Markdown, and JSON render, and that invalid sections are rejected. The complete branch passes npm test and npm run build.

Part 5 of 5 for #14. Papercut 13.

Depends on #18.

Structured output uses the JSON formatter merged in #20.

@kurtextrem
kurtextrem force-pushed the codex/trace-single-parse-report branch 5 times, most recently from ddda625 to c603d47 Compare November 19, 2026 13:13
@kurtextrem
kurtextrem marked this pull request as ready for review November 19, 2026 13:14
@kurtextrem
kurtextrem force-pushed the codex/trace-single-parse-report branch from c603d47 to e11abc6 Compare November 19, 2026 13:33

@jackfranklin jackfranklin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Clean implementation and tests — ready to merge once #16–#18 land and this is rebased onto main. One minor note: the rejects non-positive result limits and bucket sizes test in test/cli.test.ts tests validation added in #16, so it makes sense to move that test down into #16 when rebasing.

@kurtextrem
kurtextrem force-pushed the codex/trace-single-parse-report branch from e11abc6 to 3f0edba Compare November 19, 2026 15:17
@jackfranklin
jackfranklin merged commit 1e42fc7 into ChromeDevTools:main Nov 19, 2026
6 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.

2 participants