Skip to content

docs(onboarding): update ios onboarding for posthog-ios 4.0 - #129618

Draft
turnipdabeets wants to merge 13 commits into
masterfrom
docs/ios-4-onboarding-spm
Draft

turnipdabeets wants to merge 13 commits into
masterfrom
docs/ios-4-onboarding-spm

Conversation

@turnipdabeets

@turnipdabeets turnipdabeets commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Important

Merge only after posthog-ios 4.0.0 is published on GitHub releases. Until then, from: "4.0.0" doesn't resolve and these install steps fail.
Merge together with PostHog/posthog.com#21807. This PR holds every posthog-ios 4.0 change to the monorepo onboarding, including the replay snippet.
Before merging, tell the wizard team that context-mill v1.65.0 is a freeze release that still installs posthog-ios 3.x; programs that should stay on 3.x pin it with context_mill_version (context-mill#502, PostHog/wizard#1541 and #132411 are merged).
Depends on PostHog/posthog-ios#1071 landing or not. If it merges, 4.0 replaces screenshotModeBackgroundCapture with captureMethod, so the replay snippet's screenshotModeBackgroundCapture = false stops compiling: change it to captureMethod = .standard, and drop "Experimental" from screenshotScale.

Problem

iOS install steps in onboarding and on posthog.com tell users to add pod "PostHog", "~> 3.56" or from: "3.56.0", and the in-app replay config sets screenshotMode = true. posthog-ios 4.0 ships only through Swift Package Manager and removes screenshotMode, so following these steps gets users 3.x or a compile error.

Changes

  • Deletes frontend/src/scenes/onboarding/sdks/sdk-install-instructions/ios.tsx and its re-export: nothing imports or renders it, since every onboarding flow uses docs/onboarding/*/ios.tsx.
  • docs/onboarding/*/ios.tsx (rendered in-app and on posthog.com): one Swift Package Manager step from 4.0.0; the Podfile step and the minVersionPod option are gone. Error tracking and logs no longer override the version with 3.x pins.
  • Install step: a "Using CocoaPods?" callout with the posthog.com wording (3.x stays installable after CocoaPods trunk goes read-only on December 2, 2026; new releases ship through Swift Package Manager). It links the iOS migration guide, which stays valid after [Waiting on SDK releases] feat(docs): replace the SDK pages with their Markdown references posthog.com#22061 replaces the iOS pages.
  • Session replay: the install step changes, and the "requires 3.6.0 or higher" callout is gone.
  • Session replay config drops screenshotMode and keeps screenshotModeBackgroundCapture, which 4.0 still has (posthog-ios#1052). It also adds screenshotScale (experimental, 3.93.0+), which Android and React Native already list. A comment tells pre-4.0 users to set screenshotMode = true. The callout says 4.0 records SwiftUI, custom views and WebViews, and that a WKWebView is masked whole while text-input or image masking is on.
  • Error tracking dSYM upload (IOSSourceMapsInstructions.tsx): only the Swift Package Manager script path; the CocoaPods ${PODS_ROOT} variants are gone. The CLI minimum is 0.7.7, which upload-symbols.sh enforces.
  • Surveys: config.surveys = true without the #available(iOS 15.0, *) check, since 4.0's minimum is iOS 15.
  • minVersionSPM, includeExperimentalSpi and experimentalDescription are removed: no caller passes them.

How did you test this code?

Test rationale: Copy-only changes to code samples in template strings; no test covers them.

oxfmt --check and oxlint --quiet pass on the touched files. tsgo couldn't run in the worktree (no installed node_modules), so CI's typecheck is the check. Not rendered locally.

Release status

  • No feature flag controls this change

Docs update

Companion posthog.com PR: PostHog/posthog.com#21807 (iOS 4.0 upgrade guide). These files are the docs, so no Inkeep draft is needed.

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Agent: Claude Code, Opus 5.5

Skills: /posthog-docs

More context for AI agents
  • Decisions: Removed minVersionPod, minVersionSPM, includeExperimentalSpi and experimentalDescription, since no caller passes them.
  • Regrouped by release: the iOS replay changes moved here from docs(replay): update kmp 0.11 and react native plugin 3.0 replay onboarding #125537, so the whole posthog-ios 4.0 onboarding merges at once. They landed after Rafael's approval.
  • Read closely: docs/onboarding/product-analytics/ios.tsx – every iOS product's install step comes from it.

🤖 Generated with Claude Code

…only

posthog-ios 4.0 is distributed only through Swift Package Manager and removes sessionReplayConfig.screenshotMode. Point the in-app and published iOS install snippets at from: "4.0.0", drop the CocoaPods snippets and the minVersionPod option, and drop screenshotMode from the in-app replay config.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@turnipdabeets turnipdabeets added the skip-agent-review Save $$$, skip auto agent reviews (Greptile) — use for trivial or chore PRs label Nov 4, 2026
@turnipdabeets turnipdabeets self-assigned this Nov 4, 2026
@trunk-io

trunk-io Bot commented Nov 4, 2026

Copy link
Copy Markdown

Merging to master in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@parameterai

parameterai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Risk: No findings

This increment adds a static documentation paragraph to the iOS onboarding instructions explaining that posthog-ios 4.0 ships only via Swift Package Manager, with a link to the upgrade guide. It is copy-only, with no attacker-controlled input or security-relevant surface.

Sentinel reviewed 00569f1 · Review settings

@turnipdabeets turnipdabeets added the skip-inkeep-docs Use this label to skip an Inkeep docs PR in posthog.com label Nov 4, 2026
@github-actions github-actions Bot added the docs Improvements or additions to documentation label Nov 4, 2026
@pr-assigner-resolver-posthog
pr-assigner-resolver-posthog Bot requested review from a team, MattBro, fercgomes and rafaeelaudibert and removed request for a team November 4, 2026 20:24
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

🤖 CI report

✅ Trunk lane — non-backend lane

This PR is assigned to the non-backend lane. It does not run backend Python tests and may merge in parallel with PRs in other lanes.

✅ Complexity (TypeScript) — clean

Cyclomatic complexity above the limit in changed typescript files (10 for production files, 15 for test files). Warn only: worth simplifying when you next touch these functions.

✅ Duplication (Python) — clean

New Python code duplication introduced by this branch. Fails at 70+ tokens in app code, or 150+ tokens when both copies live in test files. Advisory while the gate proves itself: extract a shared helper instead of copying.

⚠️ Duplication (TypeScript) — 1 new duplicated block (worst 85 tokens)

New TypeScript code duplication introduced by this branch. Fails at 70+ tokens in app code, or 150+ tokens when both copies live in test files. Advisory while the gate proves itself: extract a shared helper instead of copying.

First copy Second copy Lines Tokens
docs/onboarding/product-analytics/ios.tsx:10 docs/onboarding/session-replay/ios.tsx:11 33 85
⚠️ Bundle size — 🔺 +1.70 MiB (+2.2%)

Uncompressed size of every built .js bundle, compared against the base branch.

Total: 79.59 MiB · 🔺 +1.70 MiB (+2.2%)

File Size Δ vs base
render-query/src/render-query/render-query.js 22.21 MiB 🔺 +228.9 KiB (+1.0%)
posthog-app/_parent/products/customer_analytics/frontend/CustomerAnalyticsScene.js 228.3 KiB 🔺 +211.2 KiB (+1229.0%)
posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerAnalyticsAccountScene/CustomerAnalyticsAccountScene.js 175.9 KiB 🔺 +106.1 KiB (+152.0%)
posthog-app/_parent/products/data_catalog/frontend/DataCatalogSections.js 101.6 KiB 🔺 +101.6 KiB (new)
exporter/src/queries/schema.js 1.44 MiB 🔺 +82.7 KiB (+5.9%)
posthog-app/src/queries/schema.js 1.44 MiB 🔺 +82.7 KiB (+5.9%)
posthog-app/_parent/products/data_modeling/frontend/ModelsScene.js 32.7 KiB 🟢 -60.1 KiB (-64.8%)
posthog-app/_parent/products/release/frontend/Release.js 41.9 KiB 🔺 +41.9 KiB (new)
posthog-app/_parent/products/tracing/frontend/TracingScene.js 210.1 KiB 🔺 +41.9 KiB (+24.9%)
posthog-app/src/scenes/web-analytics/LiveMetricsDashboard/LiveWebAnalyticsMetrics.js 73.6 KiB 🔺 +39.8 KiB (+117.7%)
posthog-app/_parent/products/data_modeling/frontend/nodeDetail/NodeDetailScene.js 90.1 KiB 🔺 +39.6 KiB (+78.6%)
exporter/src/scenes/web-analytics/LiveMetricsDashboard/LiveWebAnalyticsMetrics.js 71.3 KiB 🔺 +39.4 KiB (+123.0%)
posthog-app/src/scenes/feature-flags/FeatureFlag.js 144.4 KiB 🟢 -32.0 KiB (-18.2%)
posthog-app/_parent/products/workflows/frontend/Transactional/code/CodeEmailScene.js 31.4 KiB 🔺 +31.4 KiB (new)
posthog-app/_parent/products/data_catalog/frontend/DataCatalogMetricScene.js 61.2 KiB 🔺 +26.1 KiB (+74.2%)
posthog-app/_parent/products/ai_observability/frontend/scoreDefinitions/AIObservabilityScorerScene.js 49.8 KiB 🔺 +24.8 KiB (+99.1%)
posthog-app/src/layout/navigation-3000/sidepanel/panels/discussion/quill/QuillDiscussionPanel.js 19.0 KiB 🔺 +19.0 KiB (new)
posthog-app/_parent/products/workflows/frontend/Transactional/TransactionalScene.js 84.4 KiB 🔺 +16.9 KiB (+25.1%)
exporter/src/queries/nodes/InsightViz/InsightViz.js 419.1 KiB 🔺 +16.5 KiB (+4.1%)
exporter/src/scenes/web-analytics/WebAnalyticsInsight.js 203.5 KiB 🔺 +14.8 KiB (+7.9%)
toolbar/src/toolbar/floating/components/flags/chunk-FlagComparisonDiff.js removed 🟢 -14.3 KiB (-100.0%)
toolbar/src/toolbar/shared/flags/chunk-FlagComparisonDiff.js 14.0 KiB 🔺 +14.0 KiB (new)
posthog-app/_parent/products/data_catalog/frontend/DataCatalogNewMetricScene.js 32.7 KiB 🔺 +13.4 KiB (+69.1%)
posthog-app/_parent/products/release/frontend/ReleaseCalendar.js 13.1 KiB 🔺 +13.1 KiB (new)
posthog-app/src/layout/today/TodayShell.js 34.1 KiB 🔺 +12.7 KiB (+59.5%)
posthog-app/src/scenes/experiments/Experiment.js 457.7 KiB 🔺 +12.1 KiB (+2.7%)
posthog-app/_parent/products/release/frontend/ReleaseList.js 10.5 KiB 🔺 +10.5 KiB (new)
posthog-app/src/layout/today/TodayTopBar.js 8.7 KiB 🟢 -10.1 KiB (-53.5%)
posthog-app/_parent/products/ai_observability/frontend/evaluations/AIObservabilityEvaluation.js 152.0 KiB 🔺 +9.7 KiB (+6.8%)
exporter/_parent/products/workflows/frontend/Workflows/Workflow.js 211.1 KiB 🔺 +9.7 KiB (+4.8%)
posthog-app/src/scenes/project-homepage/today/TodayHome.js 54.0 KiB 🔺 +9.4 KiB (+21.0%)
posthog-app/_parent/products/notebooks/frontend/generated/api.js 8.7 KiB 🔺 +8.7 KiB (new)
posthog-app/_parent/products/metrics/frontend/emptyState/metricsEmptyState.js 9.4 KiB 🔺 +7.7 KiB (+471.8%)
posthog-app/_parent/products/autoresearch/frontend/AutoresearchPipelineScene.js 138.7 KiB 🔺 +7.3 KiB (+5.5%)
posthog-app/src/scenes/AuthenticatedShell.js 147.1 KiB 🔺 +6.8 KiB (+4.8%)
posthog-app/_parent/products/wizard/frontend/views/run-sidebar/WizardRailButton.js 6.5 KiB 🔺 +6.5 KiB (new)
posthog-app/src/layout/navigation-3000/sidepanel/panels/discussion/quill/QuillCommentEditor.js 6.2 KiB 🔺 +6.2 KiB (new)
posthog-app/_parent/products/release/frontend/ReleaseSidebar.js 6.0 KiB 🔺 +6.0 KiB (new)
posthog-app/_parent/products/autoresearch/frontend/AutoresearchNewScene.js 38.5 KiB 🔺 +6.0 KiB (+18.4%)
posthog-app/_parent/products/workflows/frontend/Broadcasts/BroadcastScene.js 152.2 KiB 🔺 +5.8 KiB (+4.0%)
posthog-app/_parent/products/mcp_registry/frontend/MCPRegistryScene.js removed 🟢 -5.8 KiB (-100.0%)
posthog-app/_parent/products/data_quality/frontend/activityDescriber.js 5.0 KiB 🔺 +5.0 KiB (new)
posthog-app/_parent/products/metrics/frontend/MetricsScene.js 94.9 KiB 🟢 -4.9 KiB (-4.9%)
exporter/_parent/products/notebooks/frontend/generated/api.js 4.7 KiB 🔺 +4.7 KiB (new)
posthog-app/_parent/products/apm/frontend/ApplicationObservabilityScene.js 27.7 KiB 🔺 +4.7 KiB (+20.6%)
posthog-app/_parent/products/notebooks/frontend/NotebookDashboardWidget/QuillNotebookDashboardWidgetMenu.js 4.3 KiB 🔺 +4.3 KiB (new)
toolbar/src/toolbar/floating/components/flags/chunk-FlagsToolbarMenu.js 13.8 KiB 🔺 +4.1 KiB (+43.1%)
exporter/_parent/products/data_quality/frontend/activityDescriber.js 4.0 KiB 🔺 +4.0 KiB (new)
posthog-app/src/scenes/product-tours/ProductTour.js 198.4 KiB 🔺 +4.0 KiB (+2.0%)
posthog-app/src/scenes/project-homepage/today/TodayPulseInsightPreview.js 3.7 KiB 🔺 +3.7 KiB (new)
posthog-app/_parent/products/autoresearch/frontend/AutoresearchScene.js 27.2 KiB 🔺 +3.6 KiB (+15.4%)
posthog-app/_parent/products/today/frontend/analytics/TodayAnalyticsSidebar.js 22.4 KiB 🔺 +3.6 KiB (+19.0%)
posthog-app/_parent/products/wizard/frontend/views/run-sidebar/WizardRunsMoreMenuItem.js removed 🟢 -3.5 KiB (-100.0%)
posthog-app/_parent/products/signals/frontend/inbox/InboxScene.js 536.1 KiB 🟢 -3.4 KiB (-0.6%)
posthog-app/_parent/products/business_knowledge/frontend/scenes/sources/BusinessKnowledgeScene.js 32.9 KiB 🔺 +3.3 KiB (+11.1%)
posthog-app/src/taxonomy/core-filter-definitions-by-group.js 292.0 KiB 🔺 +3.2 KiB (+1.1%)
toolbar/src/toolbar/floating/components/debug/chunk-EventDebugMenu.js 314.5 KiB 🔺 +3.2 KiB (+1.0%)
posthog-app/_parent/products/workflows/frontend/WorkflowsScene.js 79.3 KiB 🔺 +3.1 KiB (+4.1%)
posthog-app/_parent/products/alerts_platform/frontend/platformAlertConfigurationActivityDescriber.js 3.1 KiB 🔺 +3.1 KiB (new)
posthog-app/_parent/products/cross_project_dashboards/frontend/CrossProjectDashboardScene.js 47.2 KiB 🔺 +3.0 KiB (+6.7%)
exporter/_parent/products/notebooks/frontend/NotebookDashboardWidget/QuillNotebookDashboardWidgetMenu.js 3.0 KiB 🔺 +3.0 KiB (new)
posthog-app/_parent/products/webmcp/frontend/execTool.generated.js 42.0 KiB 🔺 +2.7 KiB (+6.9%)
posthog-app/src/scenes/marketing-analytics/MarketingAnalyticsScene.js 213.0 KiB 🔺 +2.7 KiB (+1.3%)
posthog-app/_parent/products/mcp_analytics/frontend/MCPAnalyticsScene.js 184.7 KiB 🔺 +2.6 KiB (+1.4%)
posthog-app/_parent/products/signals/frontend/inbox/logics/inboxBulkActionsLogic.js 2.3 KiB 🔺 +2.3 KiB (new)
posthog-app/_parent/products/feature_flags/frontend/staff/FeatureFlagsStaffToolsScene.js 68.3 KiB 🔺 +2.2 KiB (+3.4%)
exporter/_parent/products/alerts_platform/frontend/platformAlertConfigurationActivityDescriber.js 2.1 KiB 🔺 +2.1 KiB (new)
posthog-app/src/lib/components/CommandKSearch/CommandKSearch.js 64.1 KiB 🔺 +2.1 KiB (+3.3%)
posthog-app/_parent/products/data_warehouse/frontend/scenes/SchemaScene/SchemaScene.js 55.3 KiB 🔺 +2.1 KiB (+3.9%)
posthog-app/_parent/products/signals/frontend/inbox/components/shell/ImplementClaimDialog.js 2.0 KiB 🔺 +2.0 KiB (new)
posthog-app/_parent/products/signals/frontend/inbox/utils/reportActions.js 2.0 KiB 🔺 +2.0 KiB (new)
posthog-app/_parent/products/data_catalog/frontend/DataCatalogScene.js 40.4 KiB 🟢 -2.0 KiB (-4.7%)
posthog-app/_parent/products/signals/frontend/inbox/utils/reportClaim.js 1.9 KiB 🔺 +1.9 KiB (new)
posthog-app/_parent/products/wizard/frontend/views/run-sidebar/WizardRunsUnseenDot.js removed 🟢 -1.9 KiB (-100.0%)
posthog-app/src/scenes/onboarding/Onboarding.js 792.6 KiB 🔺 +1.8 KiB (+0.2%)
posthog-app/src/scenes/authentication/device/OAuthDeviceAuthorize.js 13.2 KiB 🔺 +1.8 KiB (+16.1%)
posthog-app/_parent/products/persons/frontend/pages/PersonScene.js 59.7 KiB 🔺 +1.8 KiB (+3.1%)
posthog-app/_parent/products/workflows/frontend/Workflows/WorkflowScene.js 129.0 KiB 🔺 +1.8 KiB (+1.4%)
posthog-app/src/scenes/notebooks/NotebookCanvasScene.js 39.2 KiB 🔺 +1.8 KiB (+4.7%)
posthog-app/_parent/products/data_warehouse/frontend/scenes/SourcesScene/SourcesScene.js 13.9 KiB 🔺 +1.8 KiB (+14.6%)
posthog-app/_parent/products/groups/frontend/pages/Group.js 49.1 KiB 🔺 +1.8 KiB (+3.7%)
exporter/src/exporter/scenes/ExporterNotebookScene.js 3.90 MiB 🟢 -1.8 KiB (-0.0%)
posthog-app/src/scenes/notebooks/NotebookPanel/NotebookPanel.js 40.4 KiB 🔺 +1.8 KiB (+4.6%)
posthog-app/src/scenes/notebooks/NotebookScene.js 49.6 KiB 🔺 +1.7 KiB (+3.6%)
posthog-app/src/scenes/hog-functions/HogFunctionScene.js 73.5 KiB 🔺 +1.7 KiB (+2.4%)
posthog-app/_parent/products/groups/frontend/pages/Groups.js 18.5 KiB 🔺 +1.7 KiB (+9.9%)
posthog-app/_parent/products/data_warehouse/frontend/scenes/WarehouseDestinationsScene/WarehouseDestinationsScene.js 15.1 KiB 🔺 +1.6 KiB (+11.9%)
posthog-app/_parent/products/ai_observability/frontend/offline-evaluations/OfflineExperimentScene.js 36.9 KiB 🔺 +1.5 KiB (+4.2%)
posthog-app/_parent/products/business_knowledge/frontend/scenes/settings/BusinessKnowledgeSettingsScene.js 22.3 KiB 🔺 +1.4 KiB (+6.6%)
posthog-app/_parent/products/logs/frontend/LogsScene.js 52.0 KiB 🔺 +1.4 KiB (+2.7%)
posthog-app/_parent/products/dashboards/frontend/widgets/AddWidgetModal.js 37.0 KiB 🔺 +1.4 KiB (+3.9%)
posthog-app/src/scenes/analytics/AnalyticsList.js 31.2 KiB 🟢 -1.4 KiB (-4.2%)
posthog-app/_parent/products/ai_observability/frontend/AIObservabilityScene.js 175.1 KiB 🔺 +1.3 KiB (+0.7%)
posthog-app/src/scenes/max/Max.js 41.3 KiB 🔺 +1.3 KiB (+3.2%)
posthog-app/_parent/products/product_analytics/frontend/insights/insightScene/InsightScene.js 71.5 KiB 🟢 -1.3 KiB (-1.7%)
posthog-app/_parent/products/workflows/frontend/Broadcasts/BroadcastsScene.js 39.3 KiB 🔺 +1.3 KiB (+3.3%)
posthog-app/src/scenes/max/components/AiFirstMaxInstance.js 27.5 KiB 🔺 +1.3 KiB (+4.8%)
posthog-app/src/scenes/max/Thread.js 26.9 KiB 🔺 +1.3 KiB (+4.9%)
posthog-app/_parent/products/error_tracking/frontend/scenes/ErrorTrackingScene/ErrorTrackingScene.js 80.1 KiB 🔺 +1.3 KiB (+1.6%)
posthog-app/_parent/products/metrics/frontend/dashboardReview/MetricsDashboardReviewScene.js 32.3 KiB 🔺 +1.2 KiB (+4.0%)
posthog-app/src/scenes/session-recordings/settings/SessionRecordingsSettingsScene.js 26.3 KiB 🔺 +1.2 KiB (+4.9%)
posthog-app/_parent/products/dashboards/frontend/widgets/session_replay/SessionReplayWidget.js 7.7 KiB 🔺 +1.2 KiB (+18.6%)
posthog-app/src/scenes/settings/SettingsScene.js 25.5 KiB 🔺 +1.2 KiB (+4.9%)
posthog-app/_parent/products/ai_observability/frontend/offline-evaluations/OfflineExperimentsScene.js 38.9 KiB 🔺 +1.2 KiB (+3.2%)
posthog-app/_parent/products/conversations/frontend/scenes/settings/SupportSettingsScene.js 21.3 KiB 🔺 +1.2 KiB (+6.0%)
posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/CustomerAnalyticsConfigurationScene.js 23.5 KiB 🔺 +1.2 KiB (+5.4%)
posthog-app/_parent/products/error_tracking/frontend/posthogAi/ErrorTrackingWidget.js 22.5 KiB 🔺 +1.2 KiB (+5.6%)
posthog-app/src/layout/today/TodaySettingsSidebar.js 23.8 KiB 🔺 +1.2 KiB (+5.3%)
posthog-app/src/scenes/settings/SettingsMap.js 21.2 KiB 🔺 +1.2 KiB (+6.0%)
posthog-app/src/lib/components/RichContentEditor/LemonRichContentEditor.js 3.3 KiB 🔺 +1.2 KiB (+54.8%)
posthog-app/src/scenes/cohorts/Cohort.js 53.8 KiB 🔺 +1.2 KiB (+2.2%)
posthog-app/_parent/products/replay_vision/frontend/replay_scanners/ScannerEditorScene.js 78.9 KiB 🔺 +1.1 KiB (+1.5%)
posthog-app/_parent/products/logs/frontend/scenes/LogsAlertDetailScene/LogsAlertDetailScene.js 29.8 KiB 🔺 +1.1 KiB (+4.0%)
posthog-app/_parent/products/conversations/frontend/components/ComposeTicket/ComposeTicketModal.js 5.5 KiB 🔺 +1.1 KiB (+26.3%)
posthog-app/src/layout/navigation-3000/sidepanel/panels/support/SidePanelSupport.js 11.4 KiB 🔺 +1.1 KiB (+11.1%)
posthog-app/_parent/products/ai_observability/frontend/datasets/AIObservabilityDatasetsScene.js 3.4 KiB 🔺 +1.1 KiB (+50.0%)
posthog-app/_parent/products/alerts/frontend/logic/insightAlertsLogic.js 6.1 KiB 🔺 +1.1 KiB (+22.9%)
posthog-app/_parent/products/subscriptions/frontend/components/Subscriptions/SubscriptionsModal.js 7.0 KiB 🔺 +1.1 KiB (+19.2%)
posthog-app/src/scenes/startups/StartupProgram.js 236.9 KiB 🔺 +1.1 KiB (+0.5%)
posthog-app/src/scenes/data-pipelines/batch-exports/BatchExportScene.js 86.3 KiB 🔺 +1.1 KiB (+1.3%)
posthog-app/_parent/products/replay_vision/frontend/replay_scanners/ReplayScannersScene.js 98.4 KiB 🔺 +1.1 KiB (+1.1%)
posthog-app/_parent/products/endpoints/frontend/EndpointScene.js 68.2 KiB 🔺 +1.1 KiB (+1.6%)
posthog-app/_parent/products/product_analytics/frontend/insights/savedInsights/SavedInsights.js 45.1 KiB 🔺 +1.1 KiB (+2.5%)
posthog-app/_parent/products/workflows/frontend/Workflows/hogflows/filters/HogFlowTaxonomicFilters.js 7.2 KiB 🔺 +1.1 KiB (+17.9%)
posthog-app/src/lib/components/RichContentEditor/RichContentMention.js 2.4 KiB 🔺 +1.1 KiB (+83.6%)
posthog-app/_parent/products/product_analytics/frontend/insights/explainChart/InsightExplainChart.js 41.7 KiB 🔺 +1.1 KiB (+2.7%)
posthog-app/_parent/products/billing_alerts/frontend/BillingAlerts.js 26.9 KiB 🔺 +1.1 KiB (+4.2%)
posthog-app/src/layout/navigation-3000/sidepanel/panels/discussion/SidePanelDiscussion.js 6.8 KiB 🔺 +1.1 KiB (+19.1%)
posthog-app/_parent/products/canvas/frontend/list/CanvasesScene.js 9.4 KiB 🔺 +1.1 KiB (+13.0%)
posthog-app/_parent/products/analytics_platform/frontend/PrecomputeDebugScene.js 8.8 KiB 🔺 +1.1 KiB (+14.0%)
posthog-app/src/scenes/workload-trust-policy-request/WorkloadTrustPolicyRequestScene.js 9.7 KiB 🔺 +1.1 KiB (+12.6%)
posthog-app/src/layout/navigation-3000/sidepanel/panels/activity/SidePanelActivity.js 11.5 KiB 🔺 +1.1 KiB (+10.3%)
posthog-app/_parent/products/dashboards/frontend/widgets/experiments/ExperimentsListWidget.js 7.4 KiB 🔺 +1.1 KiB (+16.8%)
posthog-app/_parent/products/dashboards/frontend/widgets/metrics/EditMetricsTableWidgetModal.js 12.4 KiB 🔺 +1.1 KiB (+9.4%)
posthog-app/_parent/products/conversations/frontend/activityDescriber.js 6.8 KiB 🔺 +1.1 KiB (+18.7%)
posthog-app/_parent/products/data_warehouse/frontend/scenes/SourceScene/SourceScene.js 9.3 KiB 🔺 +1.1 KiB (+13.0%)
posthog-app/_parent/products/mcp_analytics/frontend/emptyState/mcpAnalyticsEmptyState.js 5.7 KiB 🔺 +1.1 KiB (+22.9%)
posthog-app/_parent/products/mcp_store/frontend/gateway/GatewayAgentScene.js 2.8 KiB 🔺 +1.1 KiB (+62.7%)
posthog-app/_parent/products/mcp_store/frontend/gateway/GatewayMemberScene.js 2.8 KiB 🔺 +1.1 KiB (+62.6%)
posthog-app/src/lib/components/TerraformExporter/TerraformExportModal.js 3.7 KiB 🔺 +1.1 KiB (+40.2%)
posthog-app/src/scenes/analytics/AnalyticsProductHome.js 19.6 KiB 🔺 +1.1 KiB (+5.7%)
posthog-app/src/scenes/dashboard/Dashboard.js 18.4 KiB 🔺 +1.1 KiB (+6.1%)
posthog-app/src/scenes/data-warehouse/editor/EditorScene.js 16.9 KiB 🔺 +1.1 KiB (+6.7%)
posthog-app/src/scenes/integrations/IntegrationsLandingScene.js 4.0 KiB 🔺 +1.1 KiB (+35.6%)
posthog-app/src/scenes/feature-flags/activityDescriptions.js 15.0 KiB 🟢 -1.1 KiB (-6.5%)
posthog-app/_parent/products/feature_flags/frontend/FeatureFlagCodeTab.js 21.5 KiB 🔺 +1.0 KiB (+5.1%)
posthog-app/_parent/products/dashboards/frontend/widgets/experiments/ExperimentResultsWidget.js 8.9 KiB 🔺 +1.0 KiB (+13.2%)
posthog-app/_parent/products/error_tracking/frontend/scenes/ErrorTrackingIssueScene/ErrorTrackingIssueScene.js 113.1 KiB 🔺 +1.0 KiB (+0.9%)
posthog-app/_parent/products/ai_observability/frontend/prompts/LLMPromptScene.js 61.0 KiB 🔺 +1.0 KiB (+1.7%)
posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerJourneyBuilderScene/CustomerJourneyBuilderScene.js 17.0 KiB 🔺 +1.0 KiB (+6.3%)
posthog-app/_parent/products/tracing/frontend/components/TraceDialog/TraceDialog.js 21.1 KiB 🔺 +1.0 KiB (+5.0%)
posthog-app/_parent/products/tracing/frontend/components/TraceEmbed/TraceEmbed.js 17.8 KiB 🔺 +1.0 KiB (+6.0%)
posthog-app/_parent/products/ai_observability/frontend/AIObservabilityUsers.js 14.0 KiB 🔺 +1020 B (+7.7%)
posthog-app/_parent/products/logs/frontend/components/LogsViewer/LogsViewerModal/LogsViewerModal.js 13.8 KiB 🔺 +1020 B (+7.8%)
posthog-app/_parent/products/canvas/frontend/scene/CanvasScene.js 57.3 KiB 🔺 +1012 B (+1.8%)

Posted automatically by build-bundle-size-report · uncompressed bytes from dist-report

✅ Eager graph — within budget

How much code each root ships on the eager path — downloaded and parsed before the surface is interactive. Measured from the esbuild output chunks (post-tree-shake, static imports only); lazy import() / React.lazy chunks are not counted.

Root Eager (shipped) Δ vs base Budget
entry (logged-out pages, app bootstrap)
src/index.tsx
1.05 MiB · 25 files 🔺 +11.7 KiB (+1.1%) █████████░ 91.8% of 1.14 MiB
logged-out boot: index + App + bootApp (preloaded by every page, including /login)
src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
2.87 MiB · 538 files 🟢 -164.0 KiB (-5.3%) ██████████ 99.1% of 2.89 MiB
authenticated shell (every logged-in page)
src/scenes/AuthenticatedShell.tsx
3.89 MiB · 1,237 files 🔺 +42.4 KiB (+1.1%) ██████████ 99.5% of 3.91 MiB
dashboard scene
src/scenes/dashboard/Dashboard.tsx
7.87 MiB · 3,050 files 🔺 +117.0 KiB (+1.5%) ██████████ 99.4% of 7.92 MiB
today home path
src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
4.88 MiB · 1,872 files 🔺 +71.9 KiB (+1.5%) ██████████ 100.0% of 4.88 MiB
AI-first home path
src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
6.11 MiB · 2,297 files 🔺 +70.4 KiB (+1.1%) ██████████ 99.6% of 6.13 MiB
events scene
src/scenes/activity/explore/EventsScene.tsx
6.83 MiB · 2,569 files 🔺 +66.5 KiB (+1.0%) ██████████ 98.9% of 6.91 MiB
web analytics scene
src/scenes/web-analytics/WebAnalyticsScene.tsx
7.87 MiB · 2,960 files 🔺 +68.7 KiB (+0.9%) ██████████ 98.9% of 7.96 MiB
replay detail scene
src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
7.02 MiB · 2,625 files 🔺 +73.0 KiB (+1.0%) ██████████ 99.0% of 7.09 MiB

🟢 node_modules/monaco-editor/ stays out of src/index.tsx
🟢 products/product_analytics/frontend/insights/activityDescriptions stays out of src/index.tsx
🟢 node_modules/@posthog/brand/dist/generated/hoggies/svg/ stays out of src/index.tsx
🟢 node_modules/@posthog/brand/dist/generated/hoggies/components/ stays out of src/index.tsx
🟢 node_modules/monaco-editor/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/lib/lemon-ui/LemonTable/LemonTable.tsx stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 node_modules/@dnd-kit/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/layout/navigation-3000/navigationLogic.tsx stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/scenes/dashboard/dashboardLogic.tsx stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/lib/lemon-ui/LemonMarkdown/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/lib/components/RichContentEditor/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/lib/components/CodeSnippet/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/taxonomy/core-filter-definitions-by-group.json stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 node_modules/zod/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/lib/logic/billing/billingLogic.tsx stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 src/lib/components/ProductEmptyState/productSetupPreloadLogic.ts stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 node_modules/kea-test-utils/ stays out of src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
🟢 node_modules/monaco-editor/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 products/product_analytics/frontend/insights/activityDescriptions stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/kea-test-utils/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 products/dashboards/frontend/widgets/previews/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/session-recordings/player/sessionRecordingPlayerLogic.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/panel-layout/ProjectTree/menus/SessionReplayMenuItems.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/taxonomy/core-filter-definitions-by-group.json stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/navigation/projectNoticeLogic.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/navigation/ImpersonationNotice/ImpersonationNotice.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/cohorts/cohortSavedToast.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 products/wizard/frontend/runs/WizardRunDetailsDrawer.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/today/TodayShell.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/today/TodayContextPanelFloating.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/today/TodaySidePanel.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/today/TodayTopBar.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/layout/today/todayRailItems.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 products/subscriptions/frontend/components/Subscriptions/exportNudge/exportNudgeLogic.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/billing/paymentEntryLogic.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 products/conversations/frontend/components/SidePanel/sidepanelTicketsLogic.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/zod/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/authentication/auth/loginLogic.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/authentication/shared/passkeyLogic.ts stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/cohorts/CohortFilters/constants.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 products/persons/frontend/logics/personsLogic.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/scenes/surveys/constants.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/@tiptap/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/prosemirror- stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/re2js/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/react-markdown/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 src/lib/components/Command/Command.tsx stays out of src/scenes/AuthenticatedShell.tsx
🟢 packages/quill/packages/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 zod/v4/locales/de.js stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/@posthog/brand/dist/generated/hoggies/svg/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 node_modules/@posthog/brand/dist/generated/hoggies/components/ stays out of src/scenes/AuthenticatedShell.tsx
🟢 packages/quill/packages/quill/dist/ stays out of src/scenes/dashboard/Dashboard.tsx
🟢 node_modules/@tiptap/ stays out of src/scenes/dashboard/Dashboard.tsx
🟢 node_modules/prosemirror- stays out of src/scenes/dashboard/Dashboard.tsx
🟢 node_modules/marked/ stays out of src/scenes/dashboard/Dashboard.tsx
🟢 node_modules/frimousse/ stays out of src/scenes/dashboard/Dashboard.tsx
🟢 src/scenes/session-recordings/playlist/SessionRecordingsPlaylist.tsx stays out of src/scenes/dashboard/Dashboard.tsx
🟢 src/scenes/web-analytics/tiles/WebAnalyticsTile.tsx stays out of src/scenes/dashboard/Dashboard.tsx
🟢 src/queries/validators.js stays out of src/scenes/dashboard/Dashboard.tsx
🟢 src/queries/web-analytics-validators.js stays out of src/scenes/dashboard/Dashboard.tsx
🟢 node_modules/re2js/ stays out of src/scenes/dashboard/Dashboard.tsx
🟢 node_modules/kea-test-utils/ stays out of src/scenes/dashboard/Dashboard.tsx
🟢 src/scenes/debug/HogDebug.tsx stays out of src/scenes/dashboard/Dashboard.tsx
🟢 src/queries/QueryEditor/QueryEditor.tsx stays out of src/scenes/dashboard/Dashboard.tsx
🟢 packages/quill/packages/quill/dist/ stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
🟢 src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
🟢 src/scenes/project-homepage/today/TodayReportPage.tsx stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
🟢 src/queries/Query/Query.tsx stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
🟢 packages/quill/packages/charts/ stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
🟢 packages/quill/packages/quill/dist/ stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
🟢 products/posthog_ai/frontend/components/tool/widgets/VisualizationWidget.tsx stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
🟢 products/posthog_ai/frontend/components/tool/widgets/RecordingsWidget.tsx stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
🟢 src/queries/Query/Query.tsx stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
🟢 products/posthog_ai/frontend/api/primitives.ts stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
🟢 src/scenes/notebooks/Notebook/notebookLogic.ts stays out of src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
🟢 packages/quill/packages/quill/dist/ stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 node_modules/@tiptap/ stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 node_modules/prosemirror- stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 node_modules/marked/ stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 node_modules/frimousse/ stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/scenes/session-recordings/playlist/SessionRecordingsPlaylist.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/scenes/web-analytics/tiles/WebAnalyticsTile.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/queries/validators.js stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/queries/web-analytics-validators.js stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 node_modules/re2js/ stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 node_modules/kea-test-utils/ stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/queries/nodes/InsightViz/InsightViz.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/queries/nodes/DataVisualization/DataVisualization.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/queries/nodes/WebOverview/WebOverview.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/scenes/debug/HogDebug.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 src/queries/QueryEditor/QueryEditor.tsx stays out of src/scenes/activity/explore/EventsScene.tsx
🟢 packages/quill/packages/quill/dist/ stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 node_modules/@tiptap/ stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 node_modules/prosemirror- stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 node_modules/marked/ stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 node_modules/frimousse/ stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 src/scenes/web-analytics/LiveMetricsDashboard/LiveWebAnalyticsMetrics.tsx stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 products/product_analytics/frontend/insights/trends/WorldMap/countryVectors.tsx stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 src/queries/validators.js stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 node_modules/re2js/ stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 node_modules/kea-test-utils/ stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 src/scenes/debug/HogDebug.tsx stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 src/queries/QueryEditor/QueryEditor.tsx stays out of src/scenes/web-analytics/WebAnalyticsScene.tsx
🟢 packages/quill/packages/quill/dist/ stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 node_modules/@tiptap/ stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 node_modules/prosemirror- stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 node_modules/marked/ stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 src/scenes/settings/SettingsMap.tsx stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 @jspm/core/nodelibs/browser/fs stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 node_modules/re2js/ stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 node_modules/kea-test-utils/ stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
🟢 node_modules/d3/src/ stays out of src/scenes/session-recordings/detail/SessionRecordingDetail.tsx

Largest files eagerly shipped from src/index.tsx
Size File
126.8 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
24.6 KiB ../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js
6.3 KiB ../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js
4.7 KiB ../node_modules/.pnpm/@jspm+core@2.1.0/node_modules/@jspm/core/nodelibs/browser/process.js
4.0 KiB ../node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.js
1.8 KiB src/lib/utils/bootTiming.ts
1.7 KiB ../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js
1.7 KiB src/index.tsx
1.2 KiB src/RootErrorBoundary.tsx
1.1 KiB src/lib/utils/deferredAppContext.ts
Largest files eagerly shipped from src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.8 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
108.0 KiB src/products.tsx
93.2 KiB src/lib/api.ts
69.0 KiB src/lib/lemon-ui/icons/icons.tsx
36.4 KiB ../node_modules/.pnpm/kea@4.0.0-pre.6_patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5_react@18.3.1/node_modules/kea/lib/index.cjs.js
29.3 KiB src/lib/constants.tsx
24.8 KiB ../node_modules/.pnpm/fuse.js@7.3.0/node_modules/fuse.js/dist/fuse.mjs
24.6 KiB ../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js
Largest files eagerly shipped from src/scenes/AuthenticatedShell.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.8 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
108.0 KiB src/products.tsx
93.2 KiB src/lib/api.ts
69.0 KiB src/lib/lemon-ui/icons/icons.tsx
40.3 KiB ../node_modules/.pnpm/@dnd-kit+core@6.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/core/dist/core.esm.js
36.4 KiB ../node_modules/.pnpm/kea@4.0.0-pre.6_patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5_react@18.3.1/node_modules/kea/lib/index.cjs.js
32.6 KiB src/lib/utils/eventUsageLogic.ts
29.3 KiB src/lib/constants.tsx
Largest files eagerly shipped from src/scenes/dashboard/Dashboard.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.8 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
116.4 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/surveys-preview.js
112.7 KiB ../packages/quill/packages/primitives/dist/index.js
108.0 KiB src/products.tsx
98.3 KiB ../packages/quill/packages/components/dist/index.js
93.2 KiB src/lib/api.ts
78.9 KiB src/scenes/dashboard/dashboardLogic.tsx
69.0 KiB src/lib/lemon-ui/icons/icons.tsx
Largest files eagerly shipped from src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.8 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
112.7 KiB ../packages/quill/packages/primitives/dist/index.js
108.0 KiB src/products.tsx
93.2 KiB src/lib/api.ts
69.0 KiB src/lib/lemon-ui/icons/icons.tsx
68.5 KiB ../products/posthog_ai/frontend/logics/runStreamLogic.ts
40.3 KiB ../node_modules/.pnpm/@dnd-kit+core@6.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/core/dist/core.esm.js
36.4 KiB ../node_modules/.pnpm/kea@4.0.0-pre.6_patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5_react@18.3.1/node_modules/kea/lib/index.cjs.js
Largest files eagerly shipped from src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.8 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
112.7 KiB ../packages/quill/packages/primitives/dist/index.js
108.0 KiB src/products.tsx
93.2 KiB src/lib/api.ts
69.0 KiB src/lib/lemon-ui/icons/icons.tsx
68.5 KiB ../products/posthog_ai/frontend/logics/runStreamLogic.ts
41.7 KiB src/scenes/hog-functions/sub-templates/sub-templates.ts
40.3 KiB ../node_modules/.pnpm/@dnd-kit+core@6.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/core/dist/core.esm.js
Largest files eagerly shipped from src/scenes/activity/explore/EventsScene.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.8 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
112.7 KiB ../packages/quill/packages/primitives/dist/index.js
108.0 KiB src/products.tsx
98.3 KiB ../packages/quill/packages/components/dist/index.js
93.2 KiB src/lib/api.ts
78.9 KiB src/scenes/dashboard/dashboardLogic.tsx
69.0 KiB src/lib/lemon-ui/icons/icons.tsx
68.5 KiB ../products/posthog_ai/frontend/logics/runStreamLogic.ts
Largest files eagerly shipped from src/scenes/web-analytics/WebAnalyticsScene.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.8 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
116.4 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/surveys-preview.js
112.7 KiB ../packages/quill/packages/primitives/dist/index.js
108.0 KiB src/products.tsx
98.3 KiB ../packages/quill/packages/components/dist/index.js
93.2 KiB src/lib/api.ts
78.9 KiB src/scenes/dashboard/dashboardLogic.tsx
69.0 KiB src/lib/lemon-ui/icons/icons.tsx
Largest files eagerly shipped from src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
Size File
363.5 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/module.mjs
329.8 KiB ../node_modules/.pnpm/posthog-js@1.447.13_@types+react@18.3.31_react@18.3.1/node_modules/posthog-js/dist/rrweb.js
224.1 KiB ../node_modules/.pnpm/@posthog+icons@0.39.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
126.8 KiB ../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js
112.7 KiB ../packages/quill/packages/primitives/dist/index.js
108.0 KiB src/products.tsx
98.3 KiB ../packages/quill/packages/components/dist/index.js
93.2 KiB src/lib/api.ts
69.0 KiB src/lib/lemon-ui/icons/icons.tsx
68.5 KiB ../products/posthog_ai/frontend/logics/runStreamLogic.ts

Posted automatically by check-eager-graph · sizes are eager output bytes (shipped, post-tree-shake) from the esbuild metafile · part of #32479

✅ Frontend layers — no new upward imports, 2 removed

Static imports from a lower frontend layer into a higher one (layers, lowest first: kernel, shell, query, features). Compared with the base branch, so an import that a PR also adds to layer-baseline.txt still shows here. Sizes are the source bytes on the eager path of every logged-in page.

Layer Eager source bytes Δ vs base
kernel 3.01 MiB 🔺 +7.0 KiB (+0.2%)
shell 2.42 MiB 🔺 +49.1 KiB (+2.0%)
query 56.9 KiB 🔺 +711 B (+1.2%)
features 274.7 KiB 🔺 +765 B (+0.3%)

🟢 2 upward import(s) removed. Run hogli lint:frontend-layers --prune-baseline if CI asks.

Download the interactive layer graph for this PR.

Posted automatically by check-layers

✅ Toolbar bundle — eager 2.45 MiB within budget

What the toolbar ships to customer pages, measured from the esbuild output (minified, post-tree-shake). The eager set is the entry plus everything statically imported from it — fetched before any feature runs; deferred chunks load lazily. The eager guardrail is 5.72 MiB. Each output file must also stay below 10 MB, where CloudFront stops compressing it. The module boundary is enforced separately by check-toolbar-graph.

Metric Size Δ vs base Budget
Eager (shipped)
entry + static imports
2.45 MiB · 19 files 🔺 +17.1 KiB (+0.7%) ████░░░░░░ 42.9% of 5.72 MiB
Deferred (lazy) 2.64 MiB · 43 files 🔺 +2.8 KiB (+0.1%) n/a — loads on demand
Loader dist/toolbar.js 1.2 KiB no change █░░░░░░░░░ 6.0% of 19.5 KiB
Largest eagerly-shipped chunks
Size File
987.5 KiB dist/toolbar/toolbar-app-6CNGE6RO.css
739.2 KiB dist/toolbar/chunk-chunk-MTFYJNQA.js
290.5 KiB dist/toolbar/chunk-chunk-E2SUTX3R.js
137.6 KiB dist/toolbar/chunk-chunk-GBIPCD3U.js
131.8 KiB dist/toolbar/chunk-chunk-FQJO25M6.js
75.7 KiB dist/toolbar/toolbar-app-QNKMTY65.js
69.0 KiB dist/toolbar/chunk-chunk-BFAXZMC5.js
33.8 KiB dist/toolbar/chunk-chunk-QPDUWEQB.js
21.9 KiB dist/toolbar/chunk-chunk-WSI64XCF.js
6.8 KiB dist/toolbar/chunk-chunk-RVLGRPCH.js

Posted automatically by check-toolbar-size · sizes are toolbar output bytes (shipped, post-tree-shake) from the esbuild metafile

✅ Dist folder size — 🔺 +14.91 MiB (+1.5%)

Total size of the built frontend/dist folder (all assets), compared against the base branch.

Total: 1014.24 MiB · 🔺 +14.91 MiB (+1.5%)

✅ Playwright — all passed

All tests passed.

View test results →

…hog-ios 4.0

- iOS dSYM upload instructions: keep only the Swift Package Manager script path.
- Session replay: remove the stale "requires 3.6.0 or higher" callout.
- Surveys: drop the `#available(iOS 15.0, *)` wrapper; 4.0's minimum is iOS 15.
- Product analytics: remove the unused `minVersionSPM` option.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@turnipdabeets turnipdabeets changed the title docs(onboarding): posthog-ios 4.0 install (merge when 4.0.0 is published) docs(onboarding): update ios onboarding for posthog-ios 4.0 Nov 6, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@turnipdabeets
turnipdabeets marked this pull request as draft November 6, 2026 18:22
@turnipdabeets
turnipdabeets requested a review from a team November 6, 2026 18:22
Comment thread docs/onboarding/session-replay/ios.tsx Resolved
Comment thread docs/onboarding/session-replay/ios.tsx Resolved
turnipdabeets and others added 3 commits November 10, 2026 15:05
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ing snippet

posthog-ios 4.0 keeps the option (posthog-ios#1052), so it stays documented next to the other replay settings.
posthog-ios has had the experimental option since 3.93.0 (posthog-ios#994); Android and React Native already list it.
@eli-r-ph

Copy link
Copy Markdown
Contributor

Once PostHog/posthog.com#22061 lands, /docs/libraries/ios redirects to the generated iOS reference and its anchors stop working. These links need a new target:

  • docs/onboarding/product-analytics/ios.tsx:45 and docs/onboarding/session-replay/ios.tsx:35: /docs/libraries/ios#upgrading-from-version-3-to-version-4 → /docs/libraries/ios/migration

…nimum

- Point the CocoaPods callouts at /docs/libraries/ios/migration. The
  /docs/libraries/ios#upgrading-from-version-3-to-version-4 anchor goes away
  when posthog.com#22061 replaces the iOS pages with the generated reference.
- The dSYM upload script rejects posthog-cli below 0.7.7, so say 0.7.7.
- Drop the unused includeExperimentalSpi and experimentalDescription options.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@turnipdabeets

Copy link
Copy Markdown
Contributor Author

Thanks, both callouts now link /docs/libraries/ios/migration (40a6a4e), which is already live.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation skip-agent-review Save $$$, skip auto agent reviews (Greptile) — use for trivial or chore PRs skip-inkeep-docs Use this label to skip an Inkeep docs PR in posthog.com

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants