Skip to content

Validate PostHog cursors before event writes#22

Merged
nicosuave merged 1 commit into
mainfrom
fix/posthog-pagination-preflight
Jul 19, 2026
Merged

Validate PostHog cursors before event writes#22
nicosuave merged 1 commit into
mainfrom
fix/posthog-pagination-preflight

Conversation

@nicosuave

Copy link
Copy Markdown
Member

Filter existing events first, project the resulting import count for IMPORT_MAX_EVENTS, and validate any required keyset cursor before writing the page. This preserves capped terminal pages while preventing partial pipeline writes when a continuing page is unpageable.

@nicosuave
nicosuave merged commit 9b6fed9 into main Jul 19, 2026
1 check passed
@nicosuave
nicosuave deleted the fix/posthog-pagination-preflight branch July 19, 2026 03:37
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.

1 participant