Skip to content

Replays ending prematurely #8672

@billyvg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: replayIssues related to the Sentry Replay SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions