You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(traces): keep the module-level setup from turning an explicit traces config off
setup() runs on every module-level call and re-applied posthog.traces
whenever no pipeline existed yet, so a default client built with its own
traces config lost it on the first capture(), and a failed init was
retried and re-logged on every call. The module option now applies only
where the client has none, and a failed init latches as False. Shutdown
unregisters the sync-mode exit drain so the client is collectable, the
flush docstring states its worst case, Span is re-exported for pyright
strict and checked in CI, the fork ContextVar is required, and the
start_span docstring says what a forked child inherits.
0 commit comments