Skip to content

Local metrics dump and rollup helpers (CL-5169) - #307

Merged
TheGreatAxios merged 2 commits into
mainfrom
stack/w3a-cl-5169-dump-rollup
Aug 4, 2026
Merged

Local metrics dump and rollup helpers (CL-5169)#307
TheGreatAxios merged 2 commits into
mainfrom
stack/w3a-cl-5169-dump-rollup

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Stack

PerfTrace stack 3b/8 — base: stack/w2a-cl-5171-auto-spans

Linear

https://linear.app/abklabs/issue/CL-5169/local-metrics-dump-and-rollup-helpers

Summary

Local PerfTrace dump (JSON) and rollup helpers (by phase, by turn, session totals). Offline-only path.

Test evidence

  • dump/rollup unit tests green
  • Review PASS

Merge note

Merge after CL-5171. Parallel with OTEL settings (3a).

@linear-code

linear-code Bot commented Aug 4, 2026

Copy link
Copy Markdown

CL-5169

@TheGreatAxios
TheGreatAxios force-pushed the stack/w2a-cl-5171-auto-spans branch from 1eb6a74 to ddb9c72 Compare August 4, 2026 16:21
@TheGreatAxios
TheGreatAxios force-pushed the stack/w3a-cl-5169-dump-rollup branch from 480fee5 to be80788 Compare August 4, 2026 16:22
@TheGreatAxios
TheGreatAxios force-pushed the stack/w2a-cl-5171-auto-spans branch from ddb9c72 to c3442c6 Compare August 4, 2026 18:10
@TheGreatAxios
TheGreatAxios force-pushed the stack/w3a-cl-5169-dump-rollup branch from e5c4bd5 to 0de33bb Compare August 4, 2026 18:10
@TheGreatAxios
TheGreatAxios force-pushed the stack/w2a-cl-5171-auto-spans branch from c3442c6 to 073d6de Compare August 4, 2026 22:42
@TheGreatAxios
TheGreatAxios force-pushed the stack/w3a-cl-5169-dump-rollup branch from 0de33bb to a5132c2 Compare August 4, 2026 22:44
@TheGreatAxios
TheGreatAxios changed the base branch from stack/w2a-cl-5171-auto-spans to main August 4, 2026 22:44
Pure rollup functions (by phase, by turn, session totals with TTFT vs
stream split) over PerfSpan snapshots. dump.ts writes privacy-strict
compact JSON beside session artifacts with a rollup section and
re-sanitized tags. Fixture test asserts no non-allowlisted data leaks.
count is a tag key, not a StartOptions field — typecheck was failing.
@TheGreatAxios
TheGreatAxios force-pushed the stack/w3a-cl-5169-dump-rollup branch from a5132c2 to b0471c9 Compare August 4, 2026 22:48
@TheGreatAxios
TheGreatAxios merged commit 8f50e30 into main Aug 4, 2026
1 check 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.

1 participant