Skip to content

fix(analyze): tolerate duplicate span ids in session measurements #44

Description

@drewstone

Reproduction

npx --yes @tangle-network/traces@latest analyze --harness claude-code --last 1

Observed:

error: summarizeExecutionMeasurements: duplicate span id "<uuid>"

The command exits before producing a report for a normal Claude Code session.

Expected

Trace analysis should preserve duplicate raw events but aggregate them deterministically, or fail with an actionable diagnostic that identifies the duplicated records and a supported repair path.

Why this matters

A duplicate span must not prevent a customer from analyzing a session. This currently blocks local Intelligence proof runs before any recommendation can be produced.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions