Skip to content

Add session replay API helpers#52

Merged
tustanivsky merged 1 commit into
mainfrom
feat/session-replay-test-util
Jul 6, 2026
Merged

Add session replay API helpers#52
tustanivsky merged 1 commit into
mainfrom
feat/session-replay-test-util

Conversation

@tustanivsky

Copy link
Copy Markdown
Collaborator

Adds Get-SentryReplay to the Sentry API client that fetches a replay instance via GET /projects/{org}/{project}/replays/{replay_id}/ (duration, segment count, trace/error associations, timestamps) and a Get-SentryTestReplay polling wrapper in Integration.TestUtils.psm1, following the existing event/log/metric helper patterns.

Needed by the session replay integration test for getsentry/sentry-unreal#1445, where the native crash daemon delivers a staged replay as a replay_video envelope alongside a crash and the test verifies it was ingested and linked to the crash event. Verified end-to-end against a real Sentry project.

Related items:

Add Get-SentryReplay to the Sentry API client (fetches a replay
instance via /projects/{org}/{project}/replays/{replay_id}/) and a
Get-SentryTestReplay polling wrapper for integration tests, following
the existing event/log/metric helper patterns.

Needed by sentry-unreal session replay integration tests.
@tustanivsky
tustanivsky merged commit 8be06e2 into main Jul 6, 2026
21 checks passed
@tustanivsky
tustanivsky deleted the feat/session-replay-test-util branch July 6, 2026 13:58
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.

3 participants