Skip to content

[Bug]: Missing traces when importing into new workspace #5494

@cparish312

Description

@cparish312

What component(s) are affected?

  • Opik Python SDK
  • Opik Typescript SDK
  • Opik Agent Optimizer SDK
  • Opik UI
  • Opik Server
  • Documentation

Opik version

  • opik, version 1.10.23

Describe the problem

Running:

opik export fl105 project "irischat.ai" \                                                   
  --path ./20260209-20260215_traces \
  --filter "thread_id contains \"20260209-20260215\"" \
  --max-results 100000

Then

opik import fl105-annotations project "irischat.ai" --path ./20260209-20260215_traces/fl105

Resulted in traces missing. Expected 6,055, but only 5,435 were uploaded.

I tried multiple times (both import and export) and got a different number of traces uploaded each time (around the same number).

I tried running the the import command twice, but this creates duplicate traces (it would be great to have an option to only import traces that don't exist).

I have uploaded images of the import and export summaries.

Image Image

Reproduction steps and code snippets

No response

Error logs or stack trace

No response

Healthcheck results

No response

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