Skip to content

Replays ending prematurely #8672

Description

@billyvg

We're noticing some replays are potentially ending prematurely. Here is one such case: replay and error that happens a few seconds after the replay has ended.

The replay ends approximately 2 seconds before the errors occurs. It's possible that either:

  1. something caused the replay to stop recording
  2. user stopped interacting with the page, so there is nothing to flush after the error occurs
  3. something else

In handleAfterSendEvent we may want to add a check to see if replay status is current enabled before tagging with a replay id. We also may want to add a placeholder rrweb event so that we have something to flush to continue the replay. This would address case #2, though it seems odd that this case would happen and I suspect there's something else going.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions