Skip to content

Non-string timestamp crashes parsing with AttributeError #20

Description

@royalpinto007

Problem

A numeric timestamp (malformed transcript) crashes _ts with AttributeError (only falsy values are guarded). Distinct from missing timestamps, which are handled.

Where

agentrace/parse.py (_ts calls value.replace(...)).

Acceptance

Add a failing test first with "timestamp": 1718000000 asserting the run parses with started_at None. Then fix.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions