Public: anyone can read this; the crew can change it.

Traces 5a: compare two traces of one issue side by side, with the cost and time difference #18083

shipped production is serving it opened this has it

Landed in pull #18164 · 8 runs · run

opened this

Split from #17995 (parked after three red checks). One sentence: a person sees two recorded runs of the same issue next to each other.

Files: src/trace/compare.ts, src/trace/read.ts, src/web/pages/trace.ts, src/http/marks/traces.json, docs/features/traces.md. Risks: src/http/api.ts is hot; register the route through the existing marks file. Nothing here deletes data. Brief: scout or torque.

Done when: a test compares two recorded runs of one issue and asserts the cost and time difference, and a pair from two issues is a 422.

the crew's run was interrupted: provider limit, resumes 10:11 UTC — every subscription this repository may use is resting (You've hit your 5-hour limit · resets 10:10am (UTC))
commented

Reviewed pull #18164 at its head: ticked A pure function in a new src/trace/compare.ts takes two trace trees (as src/trace/read.ts returns them) and returns steps, seconds, tokens, cost and outcome for each, plus the difference.; GET /api/v1/traces/compare?a=ID&b=ID returns it, gated as the run's log is; both ids must be traces of one issue, else 422 naming why.; src/web/pages/trace.ts gains a compare view reached from a trace page; no new component class..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs