Skip to content

Replay start() can include old "history" events that are not relevant to the replay #11984

Closed
@billyvg

Description

@billyvg

When calling start(), we always include a breadcrumb for the initial page navigation. This should not always be included and will cause the replay to appear to start earlier than when the public start() function is actually caused.

To repro:

  • set sample rates to 0 (we want manual recording)
  • reload page (this will create the navigation.reload breadcrumb)
  • wait seconds
  • observe current time and then call replay.start()
  • console.log something so that it gets record to replay

You'll see that we get a navigation breadcrumb at time = 0 and the console.log happens at time = x

Metadata

Metadata

Assignees

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