Skip to content

Conversation

@harshit078
Copy link

@harshit078 harshit078 commented Jan 13, 2026

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).
  • Link an issue if there is one related to your pull request. If no issue is linked, one will be auto-generated and linked.

Closes #18316

Description

  • This PR adds a new error class ReplayDurationLimitError which handles cases where the replay duration exceeds the allowed limit. The ReplayContainer now throws this error instead of a generic error when the session is too long.
  • this allows the catch block to distinguish between three scenarios 'ratelimit_backoff' | 'send_error' | 'sample_rate';

@harshit078 harshit078 marked this pull request as ready for review January 13, 2026 20:34
@harshit078 harshit078 requested a review from a team as a code owner January 13, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inaccurate outcome when flushing replays

1 participant