feat: add support for session replay event triggers#464
Draft
feat: add support for session replay event triggers#464
Conversation
Contributor
posthog-android Compliance ReportDate: 2026-03-18 14:24:16 UTC
|
| Test | Status | Duration |
|---|---|---|
| Format Validation.Event Has Required Fields | ✅ | 2315ms |
| Format Validation.Event Has Uuid | ✅ | 2029ms |
| Format Validation.Event Has Lib Properties | ✅ | 2023ms |
| Format Validation.Distinct Id Is String | ✅ | 2023ms |
| Format Validation.Token Is Present | ✅ | 2024ms |
| Format Validation.Custom Properties Preserved | ✅ | 2022ms |
| Format Validation.Event Has Timestamp | ✅ | 2020ms |
| Retry Behavior.Retries On 503 | ✅ | 7024ms |
| Retry Behavior.Does Not Retry On 400 | ✅ | 4023ms |
| Retry Behavior.Does Not Retry On 401 | ✅ | 4023ms |
| Retry Behavior.Respects Retry After Header | ✅ | 7023ms |
| Retry Behavior.Implements Backoff | ✅ | 17037ms |
| Retry Behavior.Retries On 500 | ✅ | 7025ms |
| Retry Behavior.Retries On 502 | ✅ | 7025ms |
| Retry Behavior.Retries On 504 | ✅ | 7027ms |
| Retry Behavior.Max Retries Respected | ✅ | 17035ms |
| Deduplication.Generates Unique Uuids | ✅ | 2037ms |
| Deduplication.Preserves Uuid On Retry | ✅ | 7023ms |
| Deduplication.Preserves Uuid And Timestamp On Retry | ✅ | 12019ms |
| Deduplication.Preserves Uuid And Timestamp On Batch Retry | ✅ | 7029ms |
| Deduplication.No Duplicate Events In Batch | ✅ | 2032ms |
| Deduplication.Different Events Have Different Uuids | ✅ | 2028ms |
| Compression.Sends Gzip When Enabled | ✅ | 2020ms |
| Batch Format.Uses Proper Batch Structure | ✅ | 2017ms |
| Batch Format.Flush With No Events Sends Nothing | ✅ | 2015ms |
| Batch Format.Multiple Events Batched Together | ✅ | 2027ms |
| Error Handling.Does Not Retry On 403 | ✅ | 4019ms |
| Error Handling.Does Not Retry On 413 | ❌ | 4020ms |
| Error Handling.Retries On 408 | ✅ | 7024ms |
Failures
error_handling.does_not_retry_on_413
Expected 1 requests, got 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
💡 Motivation and Context
Blueprint implementation on PostHog/posthog-ios#496
Adds support for event triggers as an additional ingestion control. When event triggers are defined:
💚 How did you test it?
📝 Checklist
If releasing new changes
pnpm changesetto generate a changeset file