Repository navigation
Conversation
There was a problem hiding this comment.
PostHog Review · Standard · reviewed 87ea09b: 1 Should fix.
This is the only automatic review while this pull request is a draft. Comment @posthog review to review new changes sooner. Otherwise, a review of the new changes runs when you mark it ready for review.
See this review and its findings in PostHog Review. Comment @posthog review --deep for a Deep review. A Deep review takes longer and looks deeper than a Standard review.
| ) | ||
| ``` | ||
|
|
||
| - `captureAi` returns the event's uuid, or `null` when the event isn't queued: the SDK is disabled or opted out, the event name is empty, `beforeSend` dropped it, or it's over the size limit. Once 100 AI events (`captureAiMaxQueueSize`) or 50 MiB are queued, including events still waiting to be written to disk during a slow upload, the oldest are dropped. |
There was a problem hiding this comment.
P2 · Document separate AI queue limits for pending events and disk files
During a slow upload with a disk backlog, PostHogQueue.addMeasured() limits pending events independently of the files limited by removeRecordSync(). Each tier retains up to 100 events or 50 MiB, and each evicts its own oldest events. This sentence understates the total retained backlog and promises combined eviction; document the two independent limits.
|
Folded into #940, so each SDK is two PRs: the code, then the generated pages. |
💡 Motivation and Context
We have a wave of breaking changes with new major versions for most SDKs. References are now read mostly by bots, not humans, and the HogRef format is heavy. This is part of the stack below.
posthog-android-4.mdandposthog-android-migration.md, generated fromfeat/v4-capture-v1.💚 How did you test it?
📝 Checklist
🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Claude Code: Sonnet 5.5 built it and Opus 5.5 opened it, directed by Vincent. Not yet reviewed line by line.
Merge order
🤖 Generated with Claude Code