Skip to content

A Codex rollback after a turn was already ingested shifts event numbers #182

Open

Description

@aayank13

The Codex parser drops rolled-back turns from the trace, so later events get lower sequence numbers. If the dropped turn had already been ingested, later tasks can be skipped as already extracted. Rare, since a rollback usually follows an interrupted turn before any Stop ingest.

Applies to the agent support in #149.

Files:

  • crates/trodden-capture/src/codex.rs
  • crates/trodden/src/ingest.rs

Fix idea: keep dropped turns as numbered placeholders, or track ingest progress by event time instead of sequence number.

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

    area: capturetrodden-capturearea: ingestIngest in the trodden binarybugSomething isn't workingpriority: lowFix when convenient

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions