mirror of
https://github.com/kestra-io/kestra.git
synced 2026-02-03 09:00:54 -05:00
Why: - Early UI events were dropped before configs/PostHog were ready - PostHog init could block critical flows and pageviews were inconsistent - Backend analytics payloads should remain unchanged What: - Buffer API events until configs load and drain safely - Queue PostHog captures until posthog-js initializes; drop stale items - Improve pageview fields for PostHog only and avoid editor tab pageview pollution - Reset/opt-out PostHog when analytics are disabled - Add unit tests for buffering, PostHog queueing, and API flush