Skip to content

feat(messaging): take template_id and distinct_id at the top of the send body - #126287

Merged
trunk-io[bot] merged 1 commit into
masterfrom
posthog/messaging-flat-send-email-body
Nov 2, 2026
Merged

trunk-io[bot] merged 1 commit into
masterfrom
posthog/messaging-flat-send-email-body

Conversation

@mayteio

@mayteio mayteio commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Problem

  • Developers calling the transactional email send API directly have to nest the template ID and distinct ID, as template.id and identifiers.distinct_id.
  • The SDKs and docs name the same values template_id and distinct_id, so the HTTP body is the one place that differs.
  • The nesting was left room for other send forms, but a flat field such as template_key can be added the same way.
  • No caller uses this endpoint yet, and its docs aren't published, so changing it now costs nothing.

Changes

  • POST /api/projects/:id/messaging/send/email/ now takes template_id, to, message_data and distinct_id, all at the top level.
  • The nested shape still works. posthog-node 5.61.0 and posthog 7.81.0 send it, so those versions keep working. It's left out of the OpenAPI schema so new callers see only the flat fields.
  • The per-template route, messaging_templates/:id/send/, doesn't change.
  • Mechanical: regenerated messaging frontend types and MCP API types. Nothing reads the send types.

How did you test this code?

  • products/messaging/backend/tests/api/test_transactional_email.py passes locally.

Test rationale: the existing send-route cases now post the flat body. Two new parameterized cases post the nested body that the released SDKs send. They fail if a later change drops the fallback and breaks those SDK versions. The template-scoping cases now use template_id.

Release status

  • No feature flag controls this change

Docs update

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Agent: Claude Code, claude-opus-5-5

Skills: /improving-drf-endpoints, /writing-tests, /writing-pr-descriptions

More context for AI agents
  • Decisions: message_data keeps its name, because the per-template route and the SDKs' wire body already use it.
  • Decisions: the nested fallback lives in SendEmailSerializer.to_internal_value, so the schema shows only the flat fields.
  • Follow-ups: posthog-node and posthog-python patch releases that send the flat body. The sdk-specs contract update. The in-app snippet in feat(workflows): show api, node and python tabs in the transactional email snippet #126226.
  • Read closely: SendEmailSerializer.to_internal_value and the distinct_id fallback in _queue_transactional_email.

🤖 Generated with Claude Code

Created with PostHog Desktop

…end body

The single send endpoint now documents a flat body: template_id, to, message_data and distinct_id. The nested template.id and identifiers.distinct_id shape that posthog-node 5.61.0 and posthog 7.81.0 send is still accepted, but no longer in the schema.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be
@mayteio mayteio self-assigned this Oct 30, 2026
@trunk-io

trunk-io Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

😎 Merged successfully - details.

mayteio added a commit to PostHog/posthog.com that referenced this pull request Oct 30, 2026
The send endpoint now takes a flat body (PostHog/posthog#126287), so the field table, the curl example and the engagement events note use template_id and distinct_id.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be
mayteio added a commit that referenced this pull request Oct 30, 2026
…kill

The HTTP line now lists template_id and distinct_id at the top level, matching #126287.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

🤖 CI report

⚠️ Trunk lane — backend Python lane

This PR is assigned to the backend Python lane. It runs 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) — clean

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.

✅ Bundle size — 🟢 -3.04 MiB (-3.8%)

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

Total: 76.08 MiB · 🟢 -3.04 MiB (-3.8%)

File Size Δ vs base
render-query/src/render-query/render-query.js 21.28 MiB 🟢 -3.90 MiB (-15.5%)
posthog-app/src/taxonomy/core-filter-definitions-by-group.js 288.3 KiB 🔺 +288.3 KiB (new)
exporter/_parent/products/signals/frontend/inbox/logics/reportGithubAccessLogic.js removed 🟢 -220.5 KiB (-100.0%)
posthog-app/src/lib/components/ActivityLog/describers.js removed 🟢 -176.0 KiB (-100.0%)
exporter/src/lib/components/ActivityLog/describers.js removed 🟢 -175.6 KiB (-100.0%)
posthog-app/src/scenes/AuthenticatedShell.js 141.9 KiB 🟢 -131.7 KiB (-48.1%)
exporter/_parent/products/workflows/frontend/Channels/ChannelSetupModal.js 115.6 KiB 🔺 +115.6 KiB (new)
posthog-app/src/lib/components/CommandKSearch/CommandKSearch.js 51.3 KiB 🔺 +51.3 KiB (new)
posthog-app/src/scenes/team-activity/teamActivityDescriber.js 35.5 KiB 🔺 +35.5 KiB (new)
exporter/src/scenes/team-activity/teamActivityDescriber.js 32.7 KiB 🔺 +32.7 KiB (new)
posthog-app/_parent/products/ai_observability/frontend/evaluations/AIObservabilityEvaluation.js 127.9 KiB 🟢 -24.8 KiB (-16.2%)
posthog-app/src/scenes/billing/PaymentEntryModal.js 21.6 KiB 🔺 +21.6 KiB (new)
posthog-app/src/scenes/marketing-analytics/MarketingAnalyticsScene.js 217.8 KiB 🔺 +19.2 KiB (+9.7%)
posthog-app/src/scenes/experiments/experimentActivityDescriber.js 17.9 KiB 🔺 +17.9 KiB (new)
posthog-app/src/scenes/welcome/WelcomeDialog.js 17.7 KiB 🔺 +17.7 KiB (new)
exporter/src/scenes/feature-flags/activityDescriptions.js 17.1 KiB 🔺 +17.1 KiB (new)
exporter/src/scenes/experiments/experimentActivityDescriber.js 16.9 KiB 🔺 +16.9 KiB (new)
exporter/src/exporter/scenes/ExporterNotebookScene.js 3.93 MiB 🔺 +16.8 KiB (+0.4%)
posthog-app/src/layout/navigation/ProjectNotice.js 16.4 KiB 🔺 +16.4 KiB (new)
posthog-app/src/scenes/feature-flags/activityDescriptions.js 15.8 KiB 🔺 +15.8 KiB (new)
posthog-app/_parent/products/ai_observability/frontend/evaluations/EvaluationsScene.js 60.0 KiB 🟢 -14.8 KiB (-19.7%)
exporter/src/queries/schema.js 1.29 MiB 🔺 +13.2 KiB (+1.0%)
posthog-app/src/queries/schema.js 1.29 MiB 🔺 +13.2 KiB (+1.0%)
posthog-app/src/scenes/surveys/surveyActivityDescriber.js 13.1 KiB 🔺 +13.1 KiB (new)
posthog-app/_parent/products/product_analytics/frontend/insights/activityDescriptions.js 13.0 KiB 🔺 +13.0 KiB (new)
exporter/src/scenes/surveys/surveyActivityDescriber.js 12.4 KiB 🔺 +12.4 KiB (new)
posthog-app/src/scenes/dashboard/dashboardActivityDescriber.js 11.4 KiB 🔺 +11.4 KiB (new)
exporter/_parent/products/product_analytics/frontend/insights/activityDescriptions.js 10.9 KiB 🔺 +10.9 KiB (new)
posthog-app/src/scenes/onboarding/shared/wizard-sync/WizardSyncFab.js 10.4 KiB 🔺 +10.4 KiB (new)
posthog-app/src/scenes/integrations/redshift/RedshiftSetupModal.js 10.0 KiB 🔺 +10.0 KiB (new)
exporter/src/scenes/dashboard/dashboardActivityDescriber.js 9.3 KiB 🔺 +9.3 KiB (new)
exporter/src/scenes/integrations/redshift/RedshiftSetupModal.js 9.0 KiB 🔺 +9.0 KiB (new)
posthog-app/src/layout/navigation/ImpersonationNotice/ImpersonationNotice.js 8.7 KiB 🔺 +8.7 KiB (new)
posthog-app/src/scenes/settings/organization/activityDescriptions.js 8.2 KiB 🔺 +8.2 KiB (new)
posthog-app/_parent/products/ai_observability/frontend/playground/AIObservabilityPlaygroundScene.js 52.3 KiB 🟢 -8.2 KiB (-13.5%)
posthog-app/_parent/products/wizard/frontend/runs/WizardRunSyncFab.js 8.1 KiB 🔺 +8.1 KiB (new)
exporter/src/scenes/settings/organization/activityDescriptions.js 7.8 KiB 🔺 +7.8 KiB (new)
posthog-app/src/scenes/integrations/google-cloud-service-account/GoogleCloudServiceAccountSetupModal.js 7.5 KiB 🔺 +7.5 KiB (new)
posthog-app/_parent/products/workflows/frontend/Workflows/misc/workflowActivityDescriber.js 7.4 KiB 🔺 +7.4 KiB (new)
exporter/_parent/products/workflows/frontend/Workflows/misc/workflowActivityDescriber.js 7.1 KiB 🔺 +7.1 KiB (new)
posthog-app/_parent/products/replay_vision/frontend/replay_scanners/ScannerEditorScene.js 76.4 KiB 🟢 -6.9 KiB (-8.3%)
posthog-app/_parent/products/persons/frontend/activityDescriptions.js 6.5 KiB 🔺 +6.5 KiB (new)
exporter/src/scenes/integrations/google-cloud-service-account/GoogleCloudServiceAccountSetupModal.js 6.5 KiB 🔺 +6.5 KiB (new)
posthog-app/src/layout/panel-layout/ProjectTree/menus/SessionReplayMenuItems.js 6.4 KiB 🔺 +6.4 KiB (new)
posthog-app/_parent/products/tracing/frontend/components/TraceDialog/TraceDialog.js 19.8 KiB 🔺 +6.3 KiB (+47.2%)
posthog-app/src/scenes/data-warehouse/saved_queries/activityDescriptions.js 6.2 KiB 🔺 +6.2 KiB (new)
posthog-app/_parent/products/workflows/frontend/Channels/ChannelSetupModal.js 6.1 KiB 🔺 +6.1 KiB (new)
posthog-app/src/scenes/hog-functions/misc/activityDescriptions.js 6.0 KiB 🔺 +6.0 KiB (new)
posthog-app/src/scenes/integrations/postgresql/PostgreSQLSetupModal.js 5.9 KiB 🔺 +5.9 KiB (new)
posthog-app/src/lib/components/Command/Command.js 5.9 KiB 🔺 +5.9 KiB (new)
exporter/src/scenes/data-warehouse/saved_queries/activityDescriptions.js 5.9 KiB 🔺 +5.9 KiB (new)
posthog-app/src/scenes/max/maxToolOpener.js 5.8 KiB 🔺 +5.8 KiB (new)
posthog-app/_parent/products/conversations/frontend/activityDescriber.js 5.8 KiB 🔺 +5.8 KiB (new)
posthog-app/src/scenes/integrations/aws-s3/AwsS3SetupModal.js 5.7 KiB 🔺 +5.7 KiB (new)
posthog-app/_parent/products/data_warehouse/frontend/scenes/SchemaScene/SchemaScene.js 47.7 KiB 🟢 -5.7 KiB (-10.7%)
posthog-app/src/scenes/integrations/snowflake/SnowflakeSetupModal.js 5.7 KiB 🔺 +5.7 KiB (new)
exporter/src/scenes/hog-functions/misc/activityDescriptions.js 5.5 KiB 🔺 +5.5 KiB (new)
posthog-app/src/scenes/data-pipelines/batch-exports/activityDescriptions.js 5.2 KiB 🔺 +5.2 KiB (new)
posthog-app/src/scenes/settings/user/activityDescriptions.js 5.2 KiB 🔺 +5.2 KiB (new)
exporter/src/scenes/data-pipelines/batch-exports/activityDescriptions.js 5.1 KiB 🔺 +5.1 KiB (new)
posthog-app/src/scenes/cohorts/activityDescriptions.js 5.0 KiB 🔺 +5.0 KiB (new)
exporter/_parent/products/conversations/frontend/activityDescriber.js 5.0 KiB 🔺 +5.0 KiB (new)
posthog-app/_parent/products/actions/frontend/actionActivityDescriber.js 5.0 KiB 🔺 +5.0 KiB (new)
posthog-app/_parent/products/replay_vision/frontend/replay_scanners/ReplayScannersScene.js 97.7 KiB 🔺 +5.0 KiB (+5.4%)
posthog-app/_parent/products/error_tracking/frontend/components/ActivityDescriber.js 5.0 KiB 🔺 +5.0 KiB (new)
posthog-app/src/scenes/cohorts/Cohort.js 55.0 KiB 🔺 +4.9 KiB (+9.8%)
exporter/src/scenes/integrations/postgresql/PostgreSQLSetupModal.js 4.9 KiB 🔺 +4.9 KiB (new)
posthog-app/src/scenes/activity/explore/EventDetails.js 8.7 KiB 🟢 -4.8 KiB (-35.9%)
exporter/src/scenes/settings/user/activityDescriptions.js 4.8 KiB 🔺 +4.8 KiB (new)
posthog-app/src/scenes/experiments/Experiment.js 424.8 KiB 🔺 +4.8 KiB (+1.1%)
exporter/src/scenes/integrations/aws-s3/AwsS3SetupModal.js 4.8 KiB 🔺 +4.8 KiB (new)
exporter/src/scenes/integrations/snowflake/SnowflakeSetupModal.js 4.7 KiB 🔺 +4.7 KiB (new)
exporter/_parent/products/persons/frontend/activityDescriptions.js 4.7 KiB 🔺 +4.7 KiB (new)
posthog-app/src/scenes/integrations/s3-compatible/S3CompatibleSetupModal.js 4.6 KiB 🔺 +4.6 KiB (new)
posthog-app/_parent/products/canvas/frontend/activityDescriber.js 4.5 KiB 🔺 +4.5 KiB (new)
posthog-app/src/lib/components/ActivityLog/activityDescriptions/tagActivityDescriber.js 4.5 KiB 🔺 +4.5 KiB (new)
posthog-app/_parent/products/signals/frontend/inbox/InboxScene.js 497.5 KiB 🔺 +4.4 KiB (+0.9%)
exporter/src/scenes/cohorts/activityDescriptions.js 4.4 KiB 🔺 +4.4 KiB (new)
posthog-app/src/layout/navigation-3000/sidepanel/panels/max/SidePanelMax.js 4.3 KiB 🔺 +4.3 KiB (new)
posthog-app/_parent/products/workflows/frontend/Broadcasts/BroadcastScene.js 145.5 KiB 🔺 +4.3 KiB (+3.0%)
exporter/_parent/products/actions/frontend/actionActivityDescriber.js 4.3 KiB 🔺 +4.3 KiB (new)
posthog-app/_parent/products/alerts/frontend/logic/insightAlertsLogic.js 4.2 KiB 🔺 +4.2 KiB (new)
exporter/_parent/products/canvas/frontend/activityDescriber.js 4.2 KiB 🔺 +4.2 KiB (new)
posthog-app/_parent/products/cross_project_dashboards/frontend/crossProjectDashboardActivityDescriber.js 4.2 KiB 🔺 +4.2 KiB (new)
exporter/_parent/products/error_tracking/frontend/components/ActivityDescriber.js 4.2 KiB 🔺 +4.2 KiB (new)
posthog-app/src/scenes/data-management/dataManagementDescribers.js 4.1 KiB 🔺 +4.1 KiB (new)
posthog-app/src/scenes/integrations/databricks/DatabricksSetupModal.js 4.0 KiB 🔺 +4.0 KiB (new)
posthog-app/src/scenes/integrations/azure-blob/AzureBlobSetupModal.js 3.8 KiB 🔺 +3.8 KiB (new)
posthog-app/_parent/products/workflows/frontend/WorkflowsScene.js 75.3 KiB 🔺 +3.8 KiB (+5.3%)
exporter/src/lib/components/ActivityLog/activityDescriptions/tagActivityDescriber.js 3.8 KiB 🔺 +3.8 KiB (new)
posthog-app/_parent/products/workflows/frontend/Broadcasts/BroadcastsScene.js 36.8 KiB 🔺 +3.8 KiB (+11.4%)
posthog-app/_parent/products/workflows/frontend/Transactional/TransactionalScene.js 40.7 KiB 🔺 +3.8 KiB (+10.2%)
posthog-app/src/scenes/insights/insightLogic.js 3.7 KiB 🔺 +3.7 KiB (new)
posthog-app/_parent/products/alerts/frontend/components/activityDescriptions.js 3.6 KiB 🔺 +3.6 KiB (new)
exporter/src/scenes/integrations/s3-compatible/S3CompatibleSetupModal.js 3.6 KiB 🔺 +3.6 KiB (new)
posthog-app/_parent/products/groups/frontend/pages/Group.js 45.2 KiB 🔺 +3.6 KiB (+8.7%)
posthog-app/_parent/products/persons/frontend/pages/PersonScene.js 55.6 KiB 🔺 +3.6 KiB (+7.0%)
posthog-app/src/scenes/notebooks/NotebookCanvasScene.js 35.3 KiB 🔺 +3.6 KiB (+11.4%)
posthog-app/src/scenes/notebooks/NotebookPanel/NotebookPanel.js 36.5 KiB 🔺 +3.6 KiB (+11.0%)
posthog-app/src/scenes/notebooks/NotebookScene.js 45.8 KiB 🔺 +3.6 KiB (+8.6%)
posthog-app/src/scenes/max/Max.js 40.1 KiB 🔺 +3.6 KiB (+9.8%)
posthog-app/src/scenes/max/components/AiFirstMaxInstance.js 26.3 KiB 🔺 +3.6 KiB (+15.6%)
exporter/_parent/products/cross_project_dashboards/frontend/crossProjectDashboardActivityDescriber.js 3.5 KiB 🔺 +3.5 KiB (new)
exporter/src/scenes/max/maxToolOpener.js 3.4 KiB 🔺 +3.4 KiB (new)
posthog-app/_parent/products/endpoints/frontend/activityDescriber.js 3.4 KiB 🔺 +3.4 KiB (new)
posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerAnalyticsAccountScene/CustomerAnalyticsAccountScene.js 70.7 KiB 🔺 +3.4 KiB (+5.0%)
posthog-app/_parent/products/customer_analytics/frontend/CustomerAnalyticsScene.js 18.2 KiB 🔺 +3.4 KiB (+22.6%)
posthog-app/_parent/products/ai_observability/frontend/AIObservabilityUsers.js 13.3 KiB 🔺 +3.3 KiB (+33.2%)
exporter/src/scenes/data-management/dataManagementDescribers.js 3.3 KiB 🔺 +3.3 KiB (new)
posthog-app/_parent/products/product_analytics/frontend/insights/trends/RegionMap/RegionMap.js 40.0 KiB 🔺 +3.3 KiB (+9.0%)
posthog-app/_parent/products/product_analytics/frontend/insights/trends/WorldMap/WorldMap.js 15.6 KiB 🔺 +3.3 KiB (+26.6%)
exporter/_parent/products/alerts/frontend/components/activityDescriptions.js 3.3 KiB 🔺 +3.3 KiB (new)
exporter/_parent/products/workflows/frontend/Workflows/Workflow.js 232.7 KiB 🔺 +3.3 KiB (+1.4%)
posthog-app/_parent/products/endpoints/frontend/EndpointScene.js 68.5 KiB 🔺 +3.3 KiB (+5.0%)
posthog-app/src/scenes/max/components/MaybePhaiOnboarding.js 3.3 KiB 🔺 +3.3 KiB (new)
posthog-app/src/scenes/product-tours/ProductTour.js 196.8 KiB 🔺 +3.2 KiB (+1.7%)
posthog-app/_parent/products/data_warehouse/frontend/shared/components/activityDescriptions.js 3.2 KiB 🔺 +3.2 KiB (new)
posthog-app/src/scenes/web-analytics/WebAnalyticsScene.js 320.7 KiB 🔺 +3.2 KiB (+1.0%)
posthog-app/_parent/products/dashboards/frontend/widgets/AddWidgetModal.js 37.1 KiB 🔺 +3.2 KiB (+9.4%)
posthog-app/_parent/products/metrics/frontend/dashboardReview/MetricsDashboardReviewScene.js 31.8 KiB 🔺 +3.2 KiB (+11.1%)
posthog-app/src/scenes/analytics/AnalyticsProductHome.js 19.0 KiB 🔺 +3.2 KiB (+20.2%)
posthog-app/src/scenes/dashboard/Dashboard.js 18.0 KiB 🔺 +3.2 KiB (+21.4%)
posthog-app/src/scenes/max/Thread.js 25.7 KiB 🔺 +3.2 KiB (+14.2%)
posthog-app/_parent/products/business_intelligence/frontend/BusinessIntelligenceScene.js 183.6 KiB 🔺 +3.2 KiB (+1.8%)
posthog-app/_parent/products/billing_alerts/frontend/BillingAlerts.js 25.8 KiB 🟢 -3.2 KiB (-11.0%)
posthog-app/src/scenes/data-management/definition/DefinitionView.js 43.7 KiB 🔺 +3.2 KiB (+7.8%)
posthog-app/src/scenes/feature-flags/FeatureFlag.js 158.0 KiB 🔺 +3.2 KiB (+2.1%)
posthog-app/_parent/products/endpoints/frontend/EndpointsScene.js 46.1 KiB 🔺 +3.2 KiB (+7.4%)
posthog-app/_parent/products/cross_project_dashboards/frontend/CrossProjectDashboardScene.js 49.4 KiB 🔺 +3.2 KiB (+6.8%)
posthog-app/_parent/products/ai_observability/frontend/prompts/LLMPromptScene.js 61.9 KiB 🔺 +3.2 KiB (+5.4%)
posthog-app/_parent/products/ai_observability/frontend/tags/AIObservabilityTagScene.js 43.7 KiB 🔺 +3.2 KiB (+7.8%)
posthog-app/_parent/products/autoresearch/frontend/AutoresearchPipelineScene.js 132.5 KiB 🔺 +3.2 KiB (+2.4%)
posthog-app/src/scenes/activity/explore/SessionsScene.js 19.7 KiB 🔺 +3.2 KiB (+19.1%)
posthog-app/src/scenes/web-analytics/WebAnalyticsInsight.js 17.0 KiB 🔺 +3.2 KiB (+22.8%)
posthog-app/_parent/products/actions/frontend/pages/Action.js 17.7 KiB 🔺 +3.2 KiB (+21.6%)
posthog-app/_parent/products/ai_observability/frontend/tags/AIObservabilityTagsScene.js 23.9 KiB 🔺 +3.2 KiB (+15.2%)
posthog-app/_parent/products/dashboards/frontend/widgets/metrics/MetricsTableWidget.js 15.8 KiB 🔺 +3.2 KiB (+25.0%)
posthog-app/_parent/products/early_access_features/frontend/EarlyAccessFeature.js 17.0 KiB 🔺 +3.2 KiB (+22.8%)
posthog-app/_parent/products/groups/frontend/pages/Groups.js 19.4 KiB 🔺 +3.2 KiB (+19.4%)
posthog-app/_parent/products/posthog_ai/frontend/components/tool/widgets/CreateInsightWidget.js 16.4 KiB 🔺 +3.2 KiB (+23.8%)
posthog-app/_parent/products/posthog_ai/frontend/components/tool/widgets/QueryWidget.js 16.4 KiB 🔺 +3.2 KiB (+23.8%)
posthog-app/src/queries/nodes/WebVitals/WebVitals.js 22.7 KiB 🔺 +3.2 KiB (+16.1%)
posthog-app/src/queries/Query/Query.js 15.5 KiB 🔺 +3.2 KiB (+25.5%)
posthog-app/src/scenes/activity/explore/EventsScene.js 20.1 KiB 🔺 +3.2 KiB (+18.6%)
posthog-app/src/scenes/debug/DebugScene.js 35.9 KiB 🔺 +3.2 KiB (+9.6%)
posthog-app/src/scenes/session-recordings/settings/SessionRecordingsSettingsScene.js 23.7 KiB 🔺 +3.2 KiB (+15.4%)
posthog-app/src/scenes/web-analytics/SessionAttributionExplorer/SessionAttributionExplorerScene.js 21.7 KiB 🔺 +3.2 KiB (+17.1%)
posthog-app/_parent/products/error_tracking/frontend/scenes/ErrorTrackingScene/ErrorTrackingScene.js 79.3 KiB 🔺 +3.1 KiB (+4.1%)
posthog-app/_parent/products/logs/frontend/LogsScene.js 49.4 KiB 🔺 +3.1 KiB (+6.8%)
posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerJourneyBuilderScene/CustomerJourneyBuilderScene.js 15.8 KiB 🔺 +3.1 KiB (+24.6%)
posthog-app/_parent/products/annotations/frontend/activityDescriptions.js 3.1 KiB 🔺 +3.1 KiB (new)
posthog-app/_parent/products/data_modeling/frontend/nodeDetail/NodeDetailScene.js 49.9 KiB 🔺 +3.1 KiB (+6.6%)
posthog-app/src/scenes/data-warehouse/editor/EditorScene.js 16.2 KiB 🔺 +3.1 KiB (+23.6%)
posthog-app/src/scenes/session-recordings/SessionRecordings.js 14.4 KiB 🔺 +3.1 KiB (+27.2%)
exporter/src/scenes/integrations/databricks/DatabricksSetupModal.js 3.1 KiB 🔺 +3.1 KiB (new)
posthog-app/_parent/products/workflows/frontend/Workflows/Workflow.js 13.1 KiB 🔺 +3.1 KiB (+30.3%)
posthog-app/_parent/products/metrics/frontend/MetricsScene.js 95.3 KiB 🔺 +3.0 KiB (+3.3%)
exporter/_parent/products/endpoints/frontend/activityDescriber.js 3.0 KiB 🔺 +3.0 KiB (new)
posthog-app/_parent/products/marketing_analytics/frontend/ConversionRecordingsModal.js 17.2 KiB 🔺 +3.0 KiB (+21.1%)
posthog-app/_parent/products/workflows/frontend/Workflows/WorkflowScene.js 124.7 KiB 🔺 +3.0 KiB (+2.4%)
posthog-app/_parent/products/skills/frontend/activityDescriber.js 3.0 KiB 🔺 +3.0 KiB (new)
posthog-app/_parent/products/error_tracking/frontend/posthogAi/ErrorTrackingWidget.js 20.0 KiB 🔺 +2.9 KiB (+17.1%)
posthog-app/_parent/products/workflows/frontend/TemplateLibrary/MessageTemplate.js 43.0 KiB 🔺 +2.9 KiB (+7.2%)
posthog-app/_parent/products/business_knowledge/frontend/scenes/settings/BusinessKnowledgeSettingsScene.js 19.6 KiB 🔺 +2.9 KiB (+17.3%)
posthog-app/_parent/products/conversations/frontend/scenes/settings/SupportSettingsScene.js 18.7 KiB 🔺 +2.9 KiB (+18.2%)
posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/CustomerAnalyticsConfigurationScene.js 20.9 KiB 🔺 +2.9 KiB (+16.0%)
posthog-app/src/layout/today/TodaySettingsSidebar.js 21.2 KiB 🔺 +2.9 KiB (+15.7%)
posthog-app/src/scenes/settings/SettingsMap.js 18.6 KiB 🔺 +2.9 KiB (+18.4%)
posthog-app/src/scenes/settings/SettingsScene.js 22.6 KiB 🔺 +2.9 KiB (+14.7%)
posthog-app/src/scenes/hog-functions/HogFunctionScene.js 73.7 KiB 🔺 +2.9 KiB (+4.1%)
exporter/_parent/products/data_warehouse/frontend/shared/components/activityDescriptions.js 2.9 KiB 🔺 +2.9 KiB (new)
exporter/src/scenes/integrations/azure-blob/AzureBlobSetupModal.js 2.9 KiB 🔺 +2.9 KiB (new)
posthog-app/_parent/products/conversations/frontend/scenes/ticket/SupportTicketScene.js 76.7 KiB 🔺 +2.9 KiB (+3.9%)
posthog-app/_parent/products/ai_observability/frontend/prompts/promptActivityDescriber.js 2.9 KiB 🔺 +2.9 KiB (new)
posthog-app/src/scenes/surveys/Survey.js 19.6 KiB 🔺 +2.9 KiB (+17.0%)
posthog-app/_parent/products/replay_vision/frontend/replay_scanners/components/ScannerScoutsTab.js 26.4 KiB 🔺 +2.8 KiB (+12.1%)
posthog-app/_parent/products/stamphog/frontend/activityDescriber.js 2.8 KiB 🔺 +2.8 KiB (new)
posthog-app/_parent/products/replay_vision/frontend/replay_scanners/components/ScannerScanTab.js 48.5 KiB 🔺 +2.8 KiB (+6.2%)
posthog-app/_parent/products/ai_observability/frontend/AIObservabilityScene.js 172.7 KiB 🔺 +2.8 KiB (+1.6%)
posthog-app/_parent/products/replay_vision/frontend/observations/ObservationRecording.js 13.3 KiB 🔺 +2.8 KiB (+26.6%)
posthog-app/_parent/products/web_analytics/frontend/heatmaps/scenes/heatmap/HeatmapRecordingScene.js 8.9 KiB 🔺 +2.8 KiB (+45.3%)
posthog-app/src/scenes/dashboard/dashboardLogic.js 7.1 KiB 🔺 +2.8 KiB (+64.4%)
posthog-app/src/scenes/session-recordings/detail/SessionRecordingDetail.js 13.5 KiB 🔺 +2.8 KiB (+26.0%)
posthog-app/src/scenes/session-recordings/file-playback/SessionRecordingFilePlaybackScene.js 16.4 KiB 🔺 +2.8 KiB (+20.5%)
posthog-app/src/scenes/session-recordings/kiosk/SessionRecordingsKiosk.js 21.5 KiB 🔺 +2.8 KiB (+14.9%)
posthog-app/src/scenes/session-recordings/player/modal/SessionPlayerModal.js 14.2 KiB 🔺 +2.8 KiB (+24.5%)
posthog-app/_parent/products/product_analytics/frontend/insights/editor/filters/WebAnalyticsEditorFilters.js 8.3 KiB 🔺 +2.8 KiB (+49.6%)
exporter/_parent/products/annotations/frontend/activityDescriptions.js 2.8 KiB 🔺 +2.8 KiB (new)
posthog-app/_parent/products/dashboards/frontend/dashboards/Dashboards.js 44.4 KiB 🔺 +2.7 KiB (+6.5%)
posthog-app/_parent/products/product_analytics/frontend/insights/insightScene/InsightScene.js 71.6 KiB 🔺 +2.7 KiB (+3.9%)
posthog-app/_parent/products/web_analytics/frontend/heatmaps/scenes/heatmap/HeatmapNewScene.js 38.4 KiB 🔺 +2.7 KiB (+7.5%)
posthog-app/_parent/products/product_analytics/frontend/insights/paths/PathsChart.js 15.3 KiB 🔺 +2.7 KiB (+21.3%)
posthog-app/src/scenes/data-management/definition/DefinitionEdit.js 28.4 KiB 🔺 +2.7 KiB (+10.4%)
posthog-app/_parent/products/product_analytics/frontend/insights/savedInsights/SavedInsights.js 44.7 KiB 🔺 +2.7 KiB (+6.4%)
posthog-app/_parent/products/web_analytics/frontend/heatmaps/scenes/heatmap/HeatmapScene.js 48.0 KiB 🔺 +2.7 KiB (+5.9%)
posthog-app/_parent/products/actions/frontend/pages/Actions.js 18.1 KiB 🔺 +2.7 KiB (+17.2%)
posthog-app/src/layout/navigation-3000/sidepanel/panels/discussion/SidePanelDiscussion.js 5.6 KiB 🟢 -2.7 KiB (-32.4%)
posthog-app/src/scenes/activity/live/LiveEventsTable.js 14.9 KiB 🔺 +2.7 KiB (+21.8%)
posthog-app/src/scenes/data-management/DataManagementScene.js 11.3 KiB 🔺 +2.7 KiB (+30.7%)
posthog-app/src/scenes/health/categoryDetail/HealthCategoryDetailScene.js 18.4 KiB 🔺 +2.7 KiB (+16.9%)
posthog-app/src/scenes/health/HealthScene.js 23.7 KiB 🔺 +2.7 KiB (+12.6%)
exporter/_parent/products/alerts/frontend/logic/insightAlertsLogic.js 2.6 KiB 🔺 +2.6 KiB (new)
posthog-app/src/scenes/themes/PreviewingCustomCssModal.js 2.6 KiB 🔺 +2.6 KiB (new)
posthog-app/_parent/products/mcp_analytics/frontend/MCPAnalyticsScene.js 207.0 KiB 🔺 +2.6 KiB (+1.3%)
exporter/_parent/products/dashboards/frontend/widgets/AddWidgetModal.js 29.9 KiB 🔺 +2.6 KiB (+9.6%)
exporter/src/exporter/scenes/ExporterDashboardScene.js 10.7 KiB 🔺 +2.6 KiB (+32.5%)
posthog-app/_parent/products/dashboards/frontend/widgets/activity/ActivityEventsWidgetTileFilters.js 8.0 KiB 🔺 +2.6 KiB (+48.4%)
exporter/_parent/products/skills/frontend/activityDescriber.js 2.6 KiB 🔺 +2.6 KiB (new)
posthog-app/src/scenes/sessions/SessionProfileScene.js 27.4 KiB 🔺 +2.6 KiB (+10.4%)
posthog-app/_parent/products/error_tracking/frontend/scenes/ErrorTrackingIssueScene/ErrorTrackingIssueScene.js 110.0 KiB 🔺 +2.6 KiB (+2.4%)
posthog-app/_parent/products/tracing/frontend/TracingScene.js 166.5 KiB 🔺 +2.6 KiB (+1.6%)
exporter/src/scenes/web-analytics/WebAnalyticsInsight.js 57.0 KiB 🔺 +2.6 KiB (+4.7%)
posthog-app/_parent/products/mcp_analytics/frontend/MCPAnalyticsToolDetail.js 36.0 KiB 🔺 +2.6 KiB (+7.7%)
exporter/src/exporter/scenes/ExporterQueryScene.js 10.5 KiB 🔺 +2.6 KiB (+32.1%)
exporter/src/exporter/scenes/ExporterInsightScene.js 11.7 KiB 🔺 +2.6 KiB (+28.1%)
exporter/src/queries/nodes/WebVitals/WebVitals.js 16.0 KiB 🔺 +2.6 KiB (+19.0%)
exporter/_parent/products/dashboards/frontend/widgets/metrics/MetricsTableWidget.js 9.5 KiB 🔺 +2.6 KiB (+36.9%)
exporter/_parent/products/posthog_ai/frontend/components/tool/widgets/CreateInsightWidget.js 10.0 KiB 🔺 +2.6 KiB (+34.2%)
exporter/_parent/products/posthog_ai/frontend/components/tool/widgets/QueryWidget.js 10.1 KiB 🔺 +2.6 KiB (+34.1%)
exporter/src/queries/Query/Query.js 9.3 KiB 🔺 +2.6 KiB (+37.8%)
posthog-app/src/scenes/experiments/SharedMetrics/SharedMetric.js 21.4 KiB 🔺 +2.6 KiB (+13.6%)
posthog-app/_parent/products/experiments/frontend/scenes/ExperimentsScene.js 56.9 KiB 🔺 +2.5 KiB (+4.7%)
posthog-app/src/scenes/web-analytics/LiveMetricsDashboard/LiveWebAnalyticsMetrics.js 34.0 KiB 🔺 +2.5 KiB (+8.1%)
posthog-app/src/scenes/analytics/AnalyticsSpaces.js 14.3 KiB 🔺 +2.5 KiB (+21.5%)
exporter/_parent/products/error_tracking/frontend/posthogAi/ErrorTrackingWidget.js 16.7 KiB 🔺 +2.5 KiB (+17.8%)
posthog-app/src/scenes/analytics/AnalyticsList.js 33.6 KiB 🔺 +2.5 KiB (+8.1%)
posthog-app/src/scenes/web-analytics/tabs/marketing-analytics/frontend/components/MarketingAnalyticsOverview/MarketingAnalyticsOverview.js 18.6 KiB 🔺 +2.5 KiB (+15.7%)
posthog-app/src/scenes/session-recordings/activityDescription.js 2.5 KiB 🔺 +2.5 KiB (new)
exporter/_parent/products/ai_observability/frontend/prompts/promptActivityDescriber.js 2.5 KiB 🔺 +2.5 KiB (new)
posthog-app/src/scenes/data-pipelines/batch-exports/BatchExportScene.js 87.1 KiB 🔺 +2.5 KiB (+3.0%)
posthog-app/_parent/products/posthog_ai/frontend/components/tool/widgets/SearchSessionRecordingsWidget.js 7.7 KiB 🔺 +2.5 KiB (+48.1%)
posthog-app/src/scenes/surveys/wizard/SurveyWizard.js 75.7 KiB 🔺 +2.5 KiB (+3.4%)
exporter/_parent/products/stamphog/frontend/activityDescriber.js 2.5 KiB 🔺 +2.5 KiB (new)
posthog-app/src/scenes/dashboard/addInsightToDashboardModal/AddInsightToDashboardModal.js 13.2 KiB 🔺 +2.5 KiB (+22.9%)
posthog-app/_parent/products/dashboards/frontend/widgets/error_tracking/ErrorTrackingWidget.js 11.7 KiB 🔺 +2.4 KiB (+26.1%)
posthog-app/src/scenes/feature-flags/FeatureFlagForm.js 31.0 KiB 🔺 +2.4 KiB (+8.5%)
exporter/_parent/products/product_analytics/frontend/insights/trends/RegionMap/RegionMap.js 35.3 KiB 🔺 +2.4 KiB (+7.2%)
exporter/_parent/products/product_analytics/frontend/insights/trends/WorldMap/WorldMap.js 1022.7 KiB 🔺 +2.4 KiB (+0.2%)
exporter/_parent/products/marketing_analytics/frontend/ConversionRecordingsModal.js 11.8 KiB 🔺 +2.4 KiB (+25.0%)
posthog-app/_parent/products/ai_observability/frontend/clusters/AIObservabilityClustersScene.js 63.5 KiB 🔺 +2.3 KiB (+3.8%)
posthog-app/_parent/products/autoresearch/frontend/AutoresearchNewScene.js 32.1 KiB 🔺 +2.3 KiB (+7.8%)
posthog-app/_parent/products/ai_observability/frontend/clusters/AIObservabilityClusterScene.js 26.7 KiB 🔺 +2.3 KiB (+9.6%)
posthog-app/_parent/products/logs/frontend/scenes/LogsRetentionDetailScene/LogsRetentionDetailScene.js 11.4 KiB 🔺 +2.3 KiB (+25.7%)
posthog-app/_parent/products/logs/frontend/scenes/LogsRetentionNewScene/LogsRetentionNewScene.js 9.7 KiB 🔺 +2.3 KiB (+31.4%)
posthog-app/_parent/products/logs/frontend/scenes/LogsSamplingDetailScene/LogsSamplingDetailScene.js 13.0 KiB 🔺 +2.3 KiB (+21.9%)
posthog-app/_parent/products/logs/frontend/scenes/LogsSamplingNewScene/LogsSamplingNewScene.js 9.7 KiB 🔺 +2.3 KiB (+31.4%)
posthog-app/_parent/products/tracing/frontend/scenes/TracingRetentionDetailScene/TracingRetentionDetailScene.js 11.5 KiB 🔺 +2.3 KiB (+25.3%)
posthog-app/_parent/products/tracing/frontend/scenes/TracingRetentionNewScene/TracingRetentionNewScene.js 9.9 KiB 🔺 +2.3 KiB (+30.8%)
posthog-app/_parent/products/logs/frontend/components/LogsViewer/LogsViewerModal/LogsViewerModal.js 12.1 KiB 🔺 +2.3 KiB (+23.5%)
posthog-app/_parent/products/ai_observability/frontend/prompts/promptLabelActivityDescriber.js 2.3 KiB 🔺 +2.3 KiB (new)
posthog-app/src/scenes/settings/project/activityDescriptions.js 2.3 KiB 🔺 +2.3 KiB (new)
posthog-app/src/scenes/billing/activityDescriptions.js 2.3 KiB 🔺 +2.3 KiB (new)
exporter/src/scenes/insights/insightLogic.js 2.2 KiB 🔺 +2.2 KiB (new)
posthog-app/_parent/products/replay_vision/frontend/observations/ReplayObservation.js 43.0 KiB 🔺 +2.2 KiB (+5.4%)
exporter/_parent/products/alerts/frontend/views/EditAlertModal.js 117.6 KiB 🔺 +2.2 KiB (+1.9%)
exporter/src/scenes/session-recordings/activityDescription.js 2.2 KiB 🔺 +2.2 KiB (new)
posthog-app/src/scenes/project-homepage/ai-first/AiFirstHomepage.js 34.6 KiB 🔺 +2.1 KiB (+6.6%)
posthog-app/_parent/products/logs/frontend/scenes/LogsAlertDetailScene/LogsAlertDetailScene.js 27.9 KiB 🔺 +2.1 KiB (+8.3%)
posthog-app/src/scenes/max/max-constants.js 2.1 KiB 🔺 +2.1 KiB (new)
exporter/_parent/products/product_analytics/frontend/insights/paths/PathsChart.js 11.3 KiB 🔺 +2.1 KiB (+22.7%)
exporter/src/scenes/dashboard/dashboardLogic.js 4.9 KiB 🔺 +2.1 KiB (+74.0%)
posthog-app/src/lib/components/ActivityLog/activityDescriptions/instanceSettingActivityDescriber.js 2.1 KiB 🔺 +2.1 KiB (new)
exporter/_parent/products/product_analytics/frontend/insights/editor/filters/WebAnalyticsEditorFilters.js 10.3 KiB 🔺 +2.1 KiB (+25.4%)
exporter/src/scenes/activity/explore/EventDetails.js 5.2 KiB 🟢 -2.1 KiB (-28.5%)
posthog-app/src/layout/today/TodayProductsPane.js 8.8 KiB 🟢 -2.0 KiB (-18.8%)
posthog-app/src/lib/components/MCPHint/MCPHintToast.js 3.6 KiB 🟢 -2.0 KiB (-35.9%)
posthog-app/_parent/products/replay_vision/frontend/replay_scanners/ReplayScanner.js 76.3 KiB 🔺 +2.0 KiB (+2.7%)
posthog-app/src/scenes/product-tours/activityDescriptions.js 2.0 KiB 🔺 +2.0 KiB (new)
exporter/src/exporter/scenes/ExporterRecordingScene.js 7.5 KiB 🔺 +2.0 KiB (+35.5%)
exporter/_parent/products/dashboards/frontend/widgets/activity/ActivityEventsWidgetTileFilters.js 5.6 KiB 🔺 +2.0 KiB (+53.1%)
posthog-app/_parent/products/data_warehouse/frontend/scenes/DestinationConnectScene/DestinationConnectScene.js 7.8 KiB 🟢 -2.0 KiB (-20.0%)
exporter/_parent/products/ai_observability/frontend/prompts/promptLabelActivityDescriber.js 1.9 KiB 🔺 +1.9 KiB (new)
posthog-app/_parent/products/conversations/frontend/components/ComposeTicket/ComposeTicketModalHost.js 1.9 KiB 🔺 +1.9 KiB (new)
posthog-app/src/scenes/project-files/ProjectFilesScene.js 4.3 KiB 🟢 -1.9 KiB (-31.0%)
exporter/src/scenes/settings/project/activityDescriptions.js 1.9 KiB 🔺 +1.9 KiB (new)
exporter/src/scenes/dashboard/addInsightToDashboardModal/AddInsightToDashboardModal.js 10.0 KiB 🔺 +1.9 KiB (+23.5%)
exporter/src/scenes/billing/activityDescriptions.js 1.9 KiB 🔺 +1.9 KiB (new)
exporter/src/scenes/web-analytics/tabs/marketing-analytics/frontend/components/MarketingAnalyticsOverview/MarketingAnalyticsOverview.js 15.0 KiB 🔺 +1.9 KiB (+14.5%)
posthog-app/_parent/products/posthog_ai/frontend/components/ReadonlyRunSurfaceImpl.js 5.5 KiB 🟢 -1.9 KiB (-25.5%)
posthog-app/src/lib/components/LemonTextAreaMarkdown/LemonTextAreaMarkdown.js 1.9 KiB 🔺 +1.9 KiB (new)
posthog-app/src/scenes/session-recordings/playlist/SessionRecordingsPlaylistScene.js 19.8 KiB 🔺 +1.8 KiB (+10.3%)
posthog-app/src/scenes/data-pipelines/batch-imports/activityDescriptions.js 1.8 KiB 🔺 +1.8 KiB (new)
posthog-app/src/layout/navigation-3000/sidepanel/panels/access_control/accessControlActivityDescriber.js 1.8 KiB 🔺 +1.8 KiB (new)
posthog-app/src/scenes/integrations/gitlab/GitLabSetupModal.js 1.8 KiB 🔺 +1.8 KiB (new)
exporter/_parent/products/posthog_ai/frontend/components/tool/widgets/SearchSessionRecordingsWidget.js 8.6 KiB 🔺 +1.8 KiB (+26.3%)
posthog-app/src/scenes/cohorts/cohortSavedToast.js 1.8 KiB 🔺 +1.8 KiB (new)
posthog-app/_parent/products/mcp_analytics/frontend/emptyState/mcpAnalyticsEmptyState.js 3.2 KiB 🟢 -1.8 KiB (-35.6%)
exporter/src/lib/components/ActivityLog/activityDescriptions/instanceSettingActivityDescriber.js 1.7 KiB 🔺 +1.7 KiB (new)
posthog-app/_parent/products/posthog_ai/frontend/scenes/TaskTracker/TaskTracker.js 104.2 KiB 🔺 +1.7 KiB (+1.7%)
exporter/_parent/products/dashboards/frontend/widgets/error_tracking/ErrorTrackingWidget.js 8.9 KiB 🔺 +1.7 KiB (+23.9%)
posthog-app/src/scenes/feature-flags/FeatureFlags.js 11.1 KiB 🔺 +1.7 KiB (+18.3%)
posthog-app/src/scenes/settings/organization/InviteModal.js 1.7 KiB 🔺 +1.7 KiB (new)
posthog-app/src/lib/lemon-ui/LemonMarkdown/LemonMarkdown.js 1.7 KiB 🔺 +1.7 KiB (new)
posthog-app/src/scenes/authentication/shared/activityDescriptions.js 1.7 KiB 🔺 +1.7 KiB (new)
posthog-app/src/scenes/new-tab/NewTabScene.js 4.8 KiB 🟢 -1.7 KiB (-25.9%)
posthog-app/_parent/products/posthog_ai/frontend/scenes/TaskTracker/components/SidePanelRunnerImpl.js 18.2 KiB 🔺 +1.6 KiB (+9.9%)
posthog-app/_parent/products/data_warehouse/frontend/scenes/WarehouseDestinationsScene/WarehouseDestinationsScene.js 13.1 KiB 🟢 -1.6 KiB (-11.0%)
posthog-app/_parent/products/posthog_ai/frontend/scenes/TaskTracker/components/EmbeddedTaskComposerImpl.js 9.6 KiB 🔺 +1.6 KiB (+20.4%)
exporter/src/scenes/product-tours/activityDescriptions.js 1.6 KiB 🔺 +1.6 KiB (new)
posthog-app/src/layout/navigation-3000/sidepanel/panels/activity/quill/QuillActivityPanel.js 16.5 KiB 🟢 -1.6 KiB (-8.9%)
posthog-app/_parent/products/persons/frontend/pages/PersonsScene.js 19.9 KiB 🔺 +1.6 KiB (+8.7%)
posthog-app/src/layout/panel-layout/navbar/tabs/NavTabChat.js 17.9 KiB 🔺 +1.6 KiB (+9.8%)
posthog-app/src/scenes/max/components/DangerousOperationInput.js 10.7 KiB 🔺 +1.6 KiB (+17.6%)
posthog-app/src/scenes/max/components/MultiQuestionFormInput.js 12.9 KiB 🔺 +1.6 KiB (+14.1%)
posthog-app/src/scenes/exports/activityDescriptions.js 1.6 KiB 🔺 +1.6 KiB (new)
posthog-app/src/scenes/notebooks/Notebook/notebookActivityDescriber.js 1.6 KiB 🔺 +1.6 KiB (new)
posthog-app/_parent/products/warehouse_suggestions/frontend/warehouseSuggestionActivityDescriber.js 1.6 KiB 🔺 +1.6 KiB (new)
posthog-app/_parent/products/signals/frontend/activityDescriber.js 1.6 KiB 🔺 +1.6 KiB (new)
posthog-app/_parent/products/ai_observability/frontend/AIObservabilitySessionScene.js 14.1 KiB 🟢 -1.5 KiB (-9.8%)
posthog-app/_parent/products/alerts/frontend/views/EditAlertModal.js 9.1 KiB 🔺 +1.5 KiB (+20.3%)
posthog-app/_parent/products/alerts/frontend/views/InsightAlerts.js 18.0 KiB 🔺 +1.5 KiB (+9.3%)
posthog-app/src/scenes/project/CreateProjectModal.js 1.5 KiB 🔺 +1.5 KiB (new)
exporter/src/scenes/data-pipelines/batch-imports/activityDescriptions.js 1.5 KiB 🔺 +1.5 KiB (new)
exporter/src/layout/navigation-3000/sidepanel/panels/access_control/accessControlActivityDescriber.js 1.5 KiB 🔺 +1.5 KiB (new)
posthog-app/_parent/products/groups/frontend/activityDescriptions.js 1.5 KiB 🔺 +1.5 KiB (new)
posthog-app/src/lib/lemon-ui/LemonTextArea/LemonTextAreaMarkdown.js removed 🟢 -1.5 KiB (-100.0%)
posthog-app/_parent/products/product_analytics/frontend/emptyState/productAnalyticsEmptyState.js 2.4 KiB 🟢 -1.4 KiB (-37.0%)
posthog-app/_parent/products/tasks/frontend/spaces/SpaceScene.js 70.0 KiB 🔺 +1.4 KiB (+2.1%)
posthog-app/src/lib/components/RichContentEditor/RichContentMention.js 1.4 KiB 🔺 +1.4 KiB (new)
exporter/_parent/products/posthog_ai/frontend/scenes/TaskTracker/TaskTracker.js 107.8 KiB 🔺 +1.4 KiB (+1.3%)
posthog-app/_parent/products/tasks/frontend/components/TaskRepositoryPicker/CyclotronJobInputTaskRepository.js 4.1 KiB 🔺 +1.4 KiB (+51.6%)
posthog-app/src/scenes/organization/CreateOrganizationModal.js 1.4 KiB 🔺 +1.4 KiB (new)
posthog-app/src/layout/today/TodaySupportPanel.js 20.9 KiB 🟢 -1.4 KiB (-6.2%)
posthog-app/src/scenes/health-alerts/HealthAlertsScene.js 9.5 KiB 🟢 -1.4 KiB (-12.5%)
exporter/src/lib/components/MCPHint/MCPHintToast.js 2.2 KiB 🟢 -1.3 KiB (-37.9%)
exporter/src/scenes/authentication/shared/activityDescriptions.js 1.3 KiB 🔺 +1.3 KiB (new)
exporter/src/scenes/max/max-constants.js 1.3 KiB 🔺 +1.3 KiB (new)
exporter/_parent/products/posthog_ai/frontend/scenes/TaskTracker/components/SidePanelRunnerImpl.js 14.3 KiB 🔺 +1.3 KiB (+9.7%)
exporter/_parent/products/posthog_ai/frontend/scenes/TaskTracker/components/EmbeddedTaskComposerImpl.js 5.9 KiB 🔺 +1.3 KiB (+27.0%)
exporter/_parent/products/signals/frontend/activityDescriber.js 1.2 KiB 🔺 +1.2 KiB (new)
exporter/src/lib/components/LemonTextAreaMarkdown/LemonTextAreaMarkdown.js 1.2 KiB 🔺 +1.2 KiB (new)
exporter/src/scenes/exports/activityDescriptions.js 1.2 KiB 🔺 +1.2 KiB (new)
exporter/src/scenes/notebooks/Notebook/notebookActivityDescriber.js 1.2 KiB 🔺 +1.2 KiB (new)
exporter/_parent/products/warehouse_suggestions/frontend/warehouseSuggestionActivityDescriber.js 1.2 KiB 🔺 +1.2 KiB (new)
posthog-app/_parent/products/logs/frontend/components/LogsAlerting/LogsAlertingSection.js 7.8 KiB 🔺 +1.2 KiB (+18.0%)
exporter/src/scenes/cohorts/cohortSavedToast.js 1.2 KiB 🔺 +1.2 KiB (new)
posthog-app/src/layout/today/TodayTopBar.js 19.3 KiB 🟢 -1.2 KiB (-5.7%)
posthog-app/src/layout/navigation-3000/sidepanel/panels/exports/SidePanelExports.js 7.9 KiB 🟢 -1.2 KiB (-12.8%)
exporter/_parent/products/groups/frontend/activityDescriptions.js 1.1 KiB 🔺 +1.1 KiB (new)
posthog-app/src/scenes/session-recordings/player/modal/SessionPlayerModalHost.js 1.1 KiB 🔺 +1.1 KiB (new)
posthog-app/_parent/products/logs/frontend/components/LogsViewer/LogsViewerModal/LogsViewerModalHost.js 1.1 KiB 🔺 +1.1 KiB (new)
exporter/src/lib/lemon-ui/LemonMarkdown/LemonMarkdown.js 1.0 KiB 🔺 +1.0 KiB (new)
exporter/src/lib/lemon-ui/LemonTextArea/LemonTextAreaMarkdown.js removed 🟢 -1.0 KiB (-100.0%)
posthog-app/_parent/products/alerts/frontend/AlertsScene.js 11.8 KiB 🟢 -1020 B (-7.8%)
posthog-app/_parent/products/dashboards/frontend/dashboards/templates/DashboardTemplateCopyScene.js 9.4 KiB 🟢 -1020 B (-9.6%)
posthog-app/_parent/products/groups/frontend/pages/GroupsNew.js 11.4 KiB 🟢 -1020 B (-8.0%)
posthog-app/_parent/products/streamlit_apps/frontend/StreamlitApp.js 12.5 KiB 🟢 -1020 B (-7.4%)
posthog-app/_parent/products/tasks/frontend/SlackTaskContextScene.js 12.9 KiB 🟢 -1020 B (-7.2%)
posthog-app/_parent/products/uptime_monitoring/frontend/scenes/UptimeMonitoringScene/UptimeMonitoringScene.js 5.2 KiB 🟢 -1020 B (-16.1%)
posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewIndexScene.js 7.9 KiB 🟢 -1020 B (-11.2%)
posthog-app/src/lib/components/ProductEmptyState/ProductEmptyStateGate.js 4.5 KiB 🟢 -1020 B (-18.2%)
posthog-app/src/scenes/resource-transfer/ResourceTransfer.js 13.0 KiB 🟢 -1020 B (-7.1%)
posthog-app/src/scenes/toolbar-launch/ToolbarLaunch.js 12.6 KiB 🟢 -1020 B (-7.3%)
exporter/src/scenes/integrations/gitlab/GitLabSetupModal.js 1018 B 🔺 +1018 B (new)
posthog-app/_parent/products/streamlit_apps/frontend/StreamlitAppEdit.js 12.1 KiB 🟢 -1015 B (-7.5%)
posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewFlakinessScene.js 24.9 KiB 🟢 -1015 B (-3.8%)
posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewRunScene.js 67.4 KiB 🟢 -1015 B (-1.4%)
posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewRunsScene.js 11.5 KiB 🟢 -1015 B (-8.0%)
posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewSnapshotOverviewScene.js 21.7 KiB 🟢 -1015 B (-4.4%)
posthog-app/src/scenes/data-management/MaterializedColumns/MaterializedColumns.js 15.1 KiB 🟢 -1015 B (-6.1%)
posthog-app/src/scenes/health/pipelineStatus/PipelineStatusScene.js 15.2 KiB 🟢 -1015 B (-6.1%)
posthog-app/src/scenes/tools/Tools.js 7.6 KiB 🟢 -1015 B (-11.6%)

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.01 MiB · 25 files 🟢 -22.6 KiB (-2.1%) █████████░ 88.1% 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.98 MiB · 626 files 🟢 -18.6 KiB (-0.6%) ██████████ 98.4% of 3.03 MiB
authenticated shell (every logged-in page)
src/scenes/AuthenticatedShell.tsx
4.06 MiB · 1,340 files 🟢 -3.06 MiB (-42.9%) ██████████ 99.8% of 4.07 MiB
dashboard scene
src/scenes/dashboard/Dashboard.tsx
9.65 MiB · 3,715 files 🟢 -324.8 KiB (-3.2%) ██████████ 96.4% of 10.01 MiB
today home path
src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
4.97 MiB · 1,814 files 🟢 -2.32 MiB (-31.8%) ██████████ 99.8% of 4.98 MiB
AI-first home path
src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/ai-first/AiFirstHomepage.tsx
6.39 MiB · 2,296 files 🟢 -1.16 MiB (-15.4%) ██████████ 99.1% of 6.45 MiB
events scene
src/scenes/activity/explore/EventsScene.tsx
9.08 MiB · 3,485 files 🟢 -332.1 KiB (-3.4%) █████████░ 94.7% of 9.59 MiB
web analytics scene
src/scenes/web-analytics/WebAnalyticsScene.tsx
10.05 MiB · 3,752 files 🟢 -331.0 KiB (-3.1%) █████████░ 92.7% of 10.83 MiB
replay detail scene
src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
7.73 MiB · 2,976 files 🟢 -455.4 KiB (-5.4%) ████████░░ 81.6% of 9.47 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/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
🟢 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
🟢 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/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
🟢 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
🟢 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/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/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

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.9 KiB src/lib/utils/bootTiming.ts
1.7 KiB src/index.tsx
1.7 KiB ../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js
1.2 KiB src/RootErrorBoundary.tsx
949 B src/scenes/ChunkLoadErrorBoundary.tsx
Largest files eagerly shipped from src/index.tsx + src/scenes/App.tsx + src/scenes/bootApp.ts
Size File
325.0 KiB ../node_modules/.pnpm/posthog-js@1.443.0_@types+react@18.3.27_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
104.1 KiB src/products.tsx
89.0 KiB src/lib/api.ts
68.7 KiB src/lib/lemon-ui/icons/icons.tsx
41.9 KiB ../node_modules/.pnpm/@dnd-kit+core@6.0.8_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
28.3 KiB src/lib/constants.tsx
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
325.0 KiB ../node_modules/.pnpm/posthog-js@1.443.0_@types+react@18.3.27_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
104.1 KiB src/products.tsx
89.0 KiB src/lib/api.ts
68.7 KiB src/lib/lemon-ui/icons/icons.tsx
41.9 KiB ../node_modules/.pnpm/@dnd-kit+core@6.0.8_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.7 KiB src/lib/utils/eventUsageLogic.ts
28.6 KiB ../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js
Largest files eagerly shipped from src/scenes/dashboard/Dashboard.tsx
Size File
325.0 KiB ../node_modules/.pnpm/posthog-js@1.443.0_@types+react@18.3.27_react@18.3.1/node_modules/posthog-js/dist/module.mjs
239.9 KiB ../packages/quill/packages/quill/dist/index.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
153.8 KiB ../node_modules/.pnpm/re2js@0.4.1/node_modules/re2js/build/index.esm.js
144.1 KiB ../packages/quill/packages/primitives/dist/index.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
104.1 KiB src/products.tsx
94.6 KiB ../node_modules/.pnpm/@tiptap+core@3.20.6_@tiptap+pm@3.20.6/node_modules/@tiptap/core/dist/index.js
92.6 KiB ../node_modules/.pnpm/prosemirror-view@1.40.1/node_modules/prosemirror-view/dist/index.js
89.0 KiB src/lib/api.ts
Largest files eagerly shipped from src/scenes/AuthenticatedShell.tsx + src/scenes/project-homepage/ProjectHomepage.tsx + src/scenes/project-homepage/today/TodayHome.tsx
Size File
325.0 KiB ../node_modules/.pnpm/posthog-js@1.443.0_@types+react@18.3.27_react@18.3.1/node_modules/posthog-js/dist/module.mjs
239.9 KiB ../packages/quill/packages/quill/dist/index.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
104.1 KiB src/products.tsx
89.0 KiB src/lib/api.ts
68.7 KiB src/lib/lemon-ui/icons/icons.tsx
68.0 KiB ../products/posthog_ai/frontend/logics/runStreamLogic.ts
41.9 KiB ../node_modules/.pnpm/@dnd-kit+core@6.0.8_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
325.0 KiB ../node_modules/.pnpm/posthog-js@1.443.0_@types+react@18.3.27_react@18.3.1/node_modules/posthog-js/dist/module.mjs
239.9 KiB ../packages/quill/packages/quill/dist/index.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
153.8 KiB ../node_modules/.pnpm/re2js@0.4.1/node_modules/re2js/build/index.esm.js
144.1 KiB ../packages/quill/packages/primitives/dist/index.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
104.1 KiB src/products.tsx
89.0 KiB src/lib/api.ts
68.7 KiB src/lib/lemon-ui/icons/icons.tsx
68.0 KiB ../products/posthog_ai/frontend/logics/runStreamLogic.ts
Largest files eagerly shipped from src/scenes/activity/explore/EventsScene.tsx
Size File
325.0 KiB ../node_modules/.pnpm/posthog-js@1.443.0_@types+react@18.3.27_react@18.3.1/node_modules/posthog-js/dist/module.mjs
239.9 KiB ../packages/quill/packages/quill/dist/index.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
153.8 KiB ../node_modules/.pnpm/re2js@0.4.1/node_modules/re2js/build/index.esm.js
144.1 KiB ../packages/quill/packages/primitives/dist/index.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
104.1 KiB src/products.tsx
94.6 KiB ../node_modules/.pnpm/@tiptap+core@3.20.6_@tiptap+pm@3.20.6/node_modules/@tiptap/core/dist/index.js
92.6 KiB ../node_modules/.pnpm/prosemirror-view@1.40.1/node_modules/prosemirror-view/dist/index.js
89.0 KiB src/lib/api.ts
Largest files eagerly shipped from src/scenes/web-analytics/WebAnalyticsScene.tsx
Size File
325.0 KiB ../node_modules/.pnpm/posthog-js@1.443.0_@types+react@18.3.27_react@18.3.1/node_modules/posthog-js/dist/module.mjs
239.9 KiB ../packages/quill/packages/quill/dist/index.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
187.9 KiB src/queries/validators.js
153.8 KiB ../node_modules/.pnpm/re2js@0.4.1/node_modules/re2js/build/index.esm.js
144.1 KiB ../packages/quill/packages/primitives/dist/index.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
104.1 KiB src/products.tsx
94.6 KiB ../node_modules/.pnpm/@tiptap+core@3.20.6_@tiptap+pm@3.20.6/node_modules/@tiptap/core/dist/index.js
92.6 KiB ../node_modules/.pnpm/prosemirror-view@1.40.1/node_modules/prosemirror-view/dist/index.js
Largest files eagerly shipped from src/scenes/session-recordings/detail/SessionRecordingDetail.tsx
Size File
325.0 KiB ../node_modules/.pnpm/posthog-js@1.443.0_@types+react@18.3.27_react@18.3.1/node_modules/posthog-js/dist/module.mjs
316.5 KiB ../node_modules/.pnpm/posthog-js@1.443.0_@types+react@18.3.27_react@18.3.1/node_modules/posthog-js/dist/rrweb.js
239.9 KiB ../packages/quill/packages/quill/dist/index.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
153.8 KiB ../node_modules/.pnpm/re2js@0.4.1/node_modules/re2js/build/index.esm.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
104.1 KiB src/products.tsx
94.6 KiB ../node_modules/.pnpm/@tiptap+core@3.20.6_@tiptap+pm@3.20.6/node_modules/@tiptap/core/dist/index.js
92.6 KiB ../node_modules/.pnpm/prosemirror-view@1.40.1/node_modules/prosemirror-view/dist/index.js
89.0 KiB src/lib/api.ts

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

✅ Toolbar bundle — eager 2.34 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.34 MiB · 19 files 🔺 +1.6 KiB (+0.1%) ████░░░░░░ 40.8% of 5.72 MiB
Deferred (lazy) 2.11 MiB · 42 files 🔺 +450 B (+0.0%) 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
944.7 KiB dist/toolbar/toolbar-app-TTS5RIUL.css
695.8 KiB dist/toolbar/chunk-chunk-6HMCH3FV.js
261.2 KiB dist/toolbar/chunk-chunk-O6AGJUST.js
131.8 KiB dist/toolbar/chunk-chunk-FDH2IBXT.js
130.3 KiB dist/toolbar/chunk-chunk-PJXF3JN7.js
75.7 KiB dist/toolbar/toolbar-app-LQHWHJCR.js
69.0 KiB dist/toolbar/chunk-chunk-TSAL54PB.js
33.8 KiB dist/toolbar/chunk-chunk-RSZCPMYJ.js
21.7 KiB dist/toolbar/chunk-chunk-IB4WJ7AV.js
6.8 KiB dist/toolbar/chunk-chunk-DV7IWQNF.js

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

✅ Dist folder size — 🟢 -19.46 MiB (-2.0%)

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

Total: 968.67 MiB · 🟢 -19.46 MiB (-2.0%)

ℹ️ MCP UI apps size — 35 app(s), 29122.2 KB JS

Built size of each MCP UI app (main.js + styles.css).

App JS CSS
debug 844.3 KB 211.6 KB
explain-chart 1117.7 KB 211.6 KB
action 767.7 KB 211.6 KB
action-list 835.3 KB 211.6 KB
cohort 766.7 KB 211.6 KB
cohort-list 834.3 KB 211.6 KB
email-template 766.6 KB 211.6 KB
error-details 771.6 KB 211.6 KB
error-issue 768.9 KB 211.6 KB
error-issue-list 836.8 KB 211.6 KB
experiment 832.4 KB 211.6 KB
experiment-list 836.1 KB 211.6 KB
experiment-results 835.0 KB 211.6 KB
feature-flag 834.7 KB 211.6 KB
feature-flag-list 838.4 KB 211.6 KB
feature-flag-testing 770.0 KB 211.6 KB
inline-scan 767.2 KB 211.6 KB
insight-actors 833.8 KB 211.6 KB
llm-costs 831.1 KB 211.6 KB
session-recording 769.0 KB 211.6 KB
survey 768.3 KB 211.6 KB
survey-global-stats 831.1 KB 211.6 KB
survey-list 836.0 KB 211.6 KB
survey-stats 831.1 KB 211.6 KB
trace-span 767.1 KB 211.6 KB
trace-span-list 835.2 KB 211.6 KB
vision-observation-list 834.4 KB 211.6 KB
workflow 767.1 KB 211.6 KB
workflow-list 834.7 KB 211.6 KB
workflow-setup-status 766.7 KB 211.6 KB
query-results 1089.6 KB 211.6 KB
render-ui 1194.2 KB 211.6 KB
visual-review-snapshots 771.6 KB 211.6 KB
workflow-data-suggestions 769.4 KB 211.6 KB
workflow-sending-rules 768.1 KB 211.6 KB
✅ Playwright — all passed

All tests passed.

View test results →

ℹ️ frontend-layers — no base comparison available

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.09 MiB (no base measurement)
shell 2.39 MiB (no base measurement)
query 56.4 KiB (no base measurement)
features 699.3 KiB (no base measurement)

ℹ️ No base report, so new and removed imports are not listed.

Download the interactive layer graph for this PR.

Posted automatically by check-layers

mayteio added a commit that referenced this pull request Oct 30, 2026
The curl tab is now API, listed first and selected by default. Its body uses template_id and distinct_id at the top level, matching #126287.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be
@hosthog

hosthog Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

HostHog preview — posthog-desktop-web

The previews for this PR have been torn down and no longer serve.

@parameterai

parameterai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Risk: No findings

This PR flattens the transactional email send body (template_id, distinct_id at top level) while keeping the nested SDK shape working via a compat fallback in SendEmailSerializer.to_internal_value. I traced every lifted value back through the declared DRF fields (UUIDField, CharField max_length=400) and confirmed the template lookup stays team-scoped with unchanged permission checks, so the body reshape introduces no new attack surface.

Sentinel reviewed dd1f202 · Review settings

@pr-assigner-resolver-posthog
pr-assigner-resolver-posthog Bot requested a review from a team November 2, 2026 08:52
@mayteio

mayteio commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

@PostHog review

@posthog

posthog Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

@mayteio PostHog Review is reviewing this pull request.

@posthog posthog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PostHog Review · Standard · reviewed dd1f202: no findings.

@mayteio mayteio added the stamphog Request AI approval (no full review) label Nov 2, 2026

@stamphog stamphog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

The risky API and send-path changes have current-head independent review, owning-team authorship, and STRONG familiarity. No unresolved substantive concerns or other refusal grounds were found.

  • Author wrote 79% of the modified lines and has 29 merged PRs in these paths (familiarity STRONG).
  • PostHog Review (Standard) reviewed the current head: no findings.
  • posthog[bot] reviewed the current head.
Gate mechanics and policy version
Gate Result
prerequisites ✓ all clear
deny-list ✓ no deny categories matched
size ✓ 54L, 1F substantive, 195L/6F incl. docs/generated/snapshots — within ceiling
tier ✓ T1-agent / T1c-medium (195L, 6F, two-areas, feat)
stamphog 2.6.1 .stamphog/policy.yml @ dd1f202 · reviewed head dd1f202

@trunk-io
trunk-io Bot merged commit c88e365 into master Nov 2, 2026
396 checks passed
@trunk-io
trunk-io Bot deleted the posthog/messaging-flat-send-email-body branch November 2, 2026 09:26
@deployment-status-posthog

deployment-status-posthog Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Deploy status

Environment Status Deployed At Workflow
dev ✅ Deployed 2026-11-02 09:44 UTC Run
prod-us ✅ Deployed 2026-11-02 10:13 UTC Run
prod-eu ✅ Deployed 2026-11-02 10:24 UTC Run

mayteio added a commit to PostHog/posthog.com that referenced this pull request Nov 2, 2026
* docs(workflows): add the transactional email API page

Document how to make a Workflows email template transactional and send it with POST /api/projects/:project_id/messaging_templates/:template_id/send/. The page covers the API key, the request and response, idempotency keys, error codes, rate limits, and how transactional emails behave. The page is marked beta.

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

Generated-By: PostHog Desktop
Task-Id: a0274fa0-d9be-48bf-b601-f153decf241d

* docs(workflows): document the single send route, email status, and the SDKs

- Send through `POST /messaging/send/email/` with `template.id`. The template route still works.
- Read an email's status with `GET /messaging/emails/:message_id/`: statuses, reasons, 404 cases, scopes and read limits.
- Send and read with the Python and Node.js SDKs.
- Add `recipient_unreachable` to the errors table.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): fix vale findings on the transactional email page

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): address SDK review on the transactional email page

- The Node.js example turns off local evaluation, and both examples keep the SDK's error.
- The status examples handle the error first and explain retrying a not_found.
- The SDK section adds install, client reuse, timeouts and retries, uncertain outcomes, and a no-network testing example.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): split transactional emails into overview and platform pages

The overview keeps the template, key, idempotency, errors, statuses and behavior. Node.js, Python and API pages hold the setup, send, status, retries and testing for each platform, with a sidebar group like push notifications.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): add a quick start and the Transactional section to the overview

- A quick start links to the Node.js, Python and API pages.
- Creating an email follows the Transactional section's wizard, and the hidden workflow explanation is gone.
- Agents can set it up with the PostHog MCP server.
- Protect sensitive data turns off click tracking and keeps deliveries, opens and statuses.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): mention the per-send max_retries in Python

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): send template_id and distinct_id at the top of the body

The send endpoint now takes a flat body (PostHog/posthog#126287), so the field table, the curl example and the engagement events note use template_id and distinct_id.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): start transactional emails at posthog-node 5.61.2 and posthog 7.81.2

These are the first releases that send the documented flat request body.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be
Silthus added a commit that referenced this pull request Nov 2, 2026
…o-code-send

Takes master's flat send body from #126287: template_id or template_key,
and a flat distinct_id, with master's nested fallback kept for released
SDKs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Silthus added a commit to PostHog/posthog.com that referenced this pull request Nov 6, 2026
…il API, Node.js and Python pages (#21819)

* docs(workflows): add the transactional email API page

Document how to make a Workflows email template transactional and send it with POST /api/projects/:project_id/messaging_templates/:template_id/send/. The page covers the API key, the request and response, idempotency keys, error codes, rate limits, and how transactional emails behave. The page is marked beta.

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

Generated-By: PostHog Desktop
Task-Id: a0274fa0-d9be-48bf-b601-f153decf241d

* docs(workflows): document the single send route, email status, and the SDKs

- Send through `POST /messaging/send/email/` with `template.id`. The template route still works.
- Read an email's status with `GET /messaging/emails/:message_id/`: statuses, reasons, 404 cases, scopes and read limits.
- Send and read with the Python and Node.js SDKs.
- Add `recipient_unreachable` to the errors table.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): fix vale findings on the transactional email page

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): address SDK review on the transactional email page

- The Node.js example turns off local evaluation, and both examples keep the SDK's error.
- The status examples handle the error first and explain retrying a not_found.
- The SDK section adds install, client reuse, timeouts and retries, uncertain outcomes, and a no-network testing example.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): split transactional emails into overview and platform pages

The overview keeps the template, key, idempotency, errors, statuses and behavior. Node.js, Python and API pages hold the setup, send, status, retries and testing for each platform, with a sidebar group like push notifications.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): add a quick start and the Transactional section to the overview

- A quick start links to the Node.js, Python and API pages.
- Creating an email follows the Transactional section's wizard, and the hidden workflow explanation is gone.
- Agents can set it up with the PostHog MCP server.
- Protect sensitive data turns off click tracking and keeps deliveries, opens and statuses.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): mention the per-send max_retries in Python

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): send template_id and distinct_id at the top of the body

The send endpoint now takes a flat body (PostHog/posthog#126287), so the field table, the curl example and the engagement events note use template_id and distinct_id.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): send content from your code on the transactional email API page

Document the code form of the send route (template_key with the subject
and body), capture_engagement, the checks that only apply to it, and a
delivery_unavailable anchor for the 503's docs link.

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

* docs(workflows): list every reserved header and the header and tag limits

Add DKIM-Signature and Received to the reserved headers, the header name
and value limits, the tag length, and that reply_to takes bare addresses.

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

* docs(workflows): say that a header name has no spaces

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

* docs(workflows): say that a header name has visible ASCII characters only

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

* docs(workflows): say what makes a code send the same request, and what template_key and ph_ tags do

- A retry with the same Idempotency-Key is the same request when every field of the code-form table matches.
- template_key groups the email's metrics and sends.
- A tag name that starts with ph_, in any case, is refused.
- capture_engagement on a template send defaults to the project's setting.
- Drop a double blank line after the checks table (fix-mdx).

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

* docs(workflows): list capture_engagement on the template send, and spell out the ph_ case rule

- The template-send table gets a capture_engagement row with the project default, and says a retry sends the field the same way.
- The code-form row keeps only its own default.
- A ph_ tag name is refused in uppercase or lowercase.

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

* docs(workflows): cut cc, bcc, headers, tags and attachments from the code send

The first release sends content from code with template_key, subject, html and text only. React Email output is rendered by the app and sent as html.

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

* docs(workflows): match the code form to the first send release

- Drop capture_engagement from the template send: the send route
  refuses it there, with the other fields of content from your code.
- Fold sender_not_allowed into sender_not_verified, the code the
  first release returns for a from address no verified sender can use.
- Add "Send content from your code" to the Node.js and Python pages,
  with a React Email example rendered by the app.

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

* docs(workflows): name the first release's field errors and the sender in a replay

- A field error is a 400 with type validation_error, a field code
  such as required or invalid, and attr naming the field.
- A replay also compares the sender PostHog chose, so a retry without
  from after the default sender changed returns idempotency_key_reused.

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

* docs(workflows): link transactional emails to your users with the identify distinct ID

Add "Link emails to your users" to the API, Node.js and Python pages: pass
the distinct ID you pass to identify(), what happens without one today (a
separate person keyed by the email address), and that invites and signup
checks can leave it out. The overview and the API tables point there
instead of "always send it".

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

* docs(workflows): say which signup email can leave out the distinct ID

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

* docs(workflows): match the link-emails section to the docs style rules

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

* docs(workflows): fill the SDK examples with the reader's token and host

The Node.js and Python client examples used <ph_project_api_key> and a
hard-coded ingestion host, which the site doesn't replace. They now use
<ph_project_token> and <ph_client_api_host>, as the SDK pages do, so a
logged-in reader sees their own project token and host.

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

* docs(workflows): name the transactional_email scopes for sends and status reads

A send needs transactional_email:write and a status read needs
transactional_email:read or :write. Keys with a hog_flow scope still work.

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

* docs(workflows): pick Transactional email in the key scopes list

The key steps still picked Workflow, which creates a hog_flow key. The
scopes list names the new scope Transactional email.

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

* docs(workflows): make a template transactional with the transactional email scope

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

* docs(workflows): say to retry a status read right after a send

A status read right after a send can answer 404 for a few seconds,
until the send's first status arrives. Say so where the API page
lists the 404, and that a retry after a short wait is the fix.

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

* docs(workflows): Python code sends start at 7.84.0

posthog-python#1171 ships as a minor bump, and PyPI is already at
7.83.2, so the code send arrives in 7.84.0, not 7.83.0.

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

---------

Co-authored-by: Harley Alexander <43975092+mayteio@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Silthus added a commit to PostHog/posthog.com that referenced this pull request Nov 6, 2026
… Elixir and PHP (#21932)

* docs(workflows): add the transactional email API page

Document how to make a Workflows email template transactional and send it with POST /api/projects/:project_id/messaging_templates/:template_id/send/. The page covers the API key, the request and response, idempotency keys, error codes, rate limits, and how transactional emails behave. The page is marked beta.

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

Generated-By: PostHog Desktop
Task-Id: a0274fa0-d9be-48bf-b601-f153decf241d

* docs(workflows): document the single send route, email status, and the SDKs

- Send through `POST /messaging/send/email/` with `template.id`. The template route still works.
- Read an email's status with `GET /messaging/emails/:message_id/`: statuses, reasons, 404 cases, scopes and read limits.
- Send and read with the Python and Node.js SDKs.
- Add `recipient_unreachable` to the errors table.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): fix vale findings on the transactional email page

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): address SDK review on the transactional email page

- The Node.js example turns off local evaluation, and both examples keep the SDK's error.
- The status examples handle the error first and explain retrying a not_found.
- The SDK section adds install, client reuse, timeouts and retries, uncertain outcomes, and a no-network testing example.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): split transactional emails into overview and platform pages

The overview keeps the template, key, idempotency, errors, statuses and behavior. Node.js, Python and API pages hold the setup, send, status, retries and testing for each platform, with a sidebar group like push notifications.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): add a quick start and the Transactional section to the overview

- A quick start links to the Node.js, Python and API pages.
- Creating an email follows the Transactional section's wizard, and the hidden workflow explanation is gone.
- Agents can set it up with the PostHog MCP server.
- Protect sensitive data turns off click tracking and keeps deliveries, opens and statuses.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): mention the per-send max_retries in Python

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): send template_id and distinct_id at the top of the body

The send endpoint now takes a flat body (PostHog/posthog#126287), so the field table, the curl example and the engagement events note use template_id and distinct_id.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): send content from your code on the transactional email API page

Document the code form of the send route (template_key with the subject
and body), capture_engagement, the checks that only apply to it, and a
delivery_unavailable anchor for the 503's docs link.

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

* docs(workflows): list every reserved header and the header and tag limits

Add DKIM-Signature and Received to the reserved headers, the header name
and value limits, the tag length, and that reply_to takes bare addresses.

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

* docs(workflows): say that a header name has no spaces

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

* docs(workflows): say that a header name has visible ASCII characters only

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

* docs(workflows): say what makes a code send the same request, and what template_key and ph_ tags do

- A retry with the same Idempotency-Key is the same request when every field of the code-form table matches.
- template_key groups the email's metrics and sends.
- A tag name that starts with ph_, in any case, is refused.
- capture_engagement on a template send defaults to the project's setting.
- Drop a double blank line after the checks table (fix-mdx).

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

* docs(workflows): list capture_engagement on the template send, and spell out the ph_ case rule

- The template-send table gets a capture_engagement row with the project default, and says a retry sends the field the same way.
- The code-form row keeps only its own default.
- A ph_ tag name is refused in uppercase or lowercase.

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

* docs(workflows): cut cc, bcc, headers, tags and attachments from the code send

The first release sends content from code with template_key, subject, html and text only. React Email output is rendered by the app and sent as html.

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

* docs(workflows): match the code form to the first send release

- Drop capture_engagement from the template send: the send route
  refuses it there, with the other fields of content from your code.
- Fold sender_not_allowed into sender_not_verified, the code the
  first release returns for a from address no verified sender can use.
- Add "Send content from your code" to the Node.js and Python pages,
  with a React Email example rendered by the app.

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

* docs(workflows): name the first release's field errors and the sender in a replay

- A field error is a 400 with type validation_error, a field code
  such as required or invalid, and attr naming the field.
- A replay also compares the sender PostHog chose, so a retry without
  from after the default sender changed returns idempotency_key_reused.

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

* docs(workflows): link transactional emails to your users with the identify distinct ID

Add "Link emails to your users" to the API, Node.js and Python pages: pass
the distinct ID you pass to identify(), what happens without one today (a
separate person keyed by the email address), and that invites and signup
checks can leave it out. The overview and the API tables point there
instead of "always send it".

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

* docs(workflows): say which signup email can leave out the distinct ID

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

* docs(workflows): match the link-emails section to the docs style rules

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

* docs(workflows): send transactional emails from Go, .NET, Rust, Ruby, Elixir and PHP

Add a page for each SDK with the template send, content from code, the
status read, and the distinct ID guidance. Copies and attachments are
marked as coming in a later version. The API page shows every SDK in its
language tabs.

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

* docs(workflows): fix the SDK email snippets from the first review

Use the placeholders the site fills in, pass the client to the Go and Ruby
helpers, tell "not yet" from "not bounced" in Go, add the .NET usings
and serde_json, and say that flag definitions still load from the
ingestion host with the secret key. Ruby's timeout covers each connect,
read, and write.

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

* docs(workflows): fix the .NET import and status helpers from the second review

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

* docs(workflows): fill the SDK examples with the reader's token and host

The Node.js and Python client examples used <ph_project_api_key> and a
hard-coded ingestion host, which the site doesn't replace. They now use
<ph_project_token> and <ph_client_api_host>, as the SDK pages do, so a
logged-in reader sees their own project token and host.

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

* docs(workflows): show copies and attachments for Rust and Ruby

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

* docs(workflows): show copies and attachments for PHP

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

* docs(workflows): show copies and attachments for .NET and drop the coming-soon notes

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

* docs(workflows): name the transactional_email scopes for sends and status reads

A send needs transactional_email:write and a status read needs
transactional_email:read or :write. Keys with a hog_flow scope still work.

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

* docs(workflows): pick Transactional email in the key scopes list

The key steps still picked Workflow, which creates a hog_flow key. The
scopes list names the new scope Transactional email.

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

* docs(workflows): make a template transactional with the transactional email scope

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

* docs(workflows): say to retry a status read right after a send

A status read right after a send can answer 404 for a few seconds,
until the send's first status arrives. Say so where the API page
lists the 404, and that a retry after a short wait is the fix.

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

* docs(workflows): name .NET SDK 2.20.0 as the first version with email

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

* docs(workflows): Python code sends start at 7.84.0

posthog-python#1171 ships as a minor bump, and PyPI is already at
7.83.2, so the code send arrives in 7.84.0, not 7.83.0.

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

* docs(workflows): rewrite transactional email docs for a faster first send

Add a quick start that sends a first email with curl, a table to choose
where the content lives, a coding agent prompt on each SDK page, a retry
column in the errors table, and a checklist for an email that didn't
arrive. Each SDK page now shows a send from a background job, a test
that fakes HTTP, and its proxy notes at the end. A new examples page
covers sign-in codes, email address checks, invites, receipts with a
PDF, and a funnel that measures an email. PHP names 4.22.0 and Elixir
2.20.0, the versions their releases now publish.

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

* docs(workflows): keep job retries inside the idempotency key's 24 hours

PostHog remembers an idempotency key for 24 hours, so a job retried
after that can send the email twice. Each background-job example now
says to finish its retries within 24 hours. The Sidekiq job retries 5
times, the River job has 5 attempts, and the BullMQ job shows its
attempts and backoff. The quick start turns on Protect sensitive data
for its reset email.

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

* docs(workflows): add Node.js and Python attachments and fix the proxy note

The Node.js and Python pages now document cc, bcc, and attachments, as
the other six SDK pages do, and the receipt example shows Node.js and
Python. Five pages said that the client never sends the secret key to a
proxy, but local evaluation does. They now say that the client never
sends email requests there. The Celery retries now wait long enough to
pass a rate limit, and the quick start sets the key before it sends.

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

* docs(workflows): hold SDK copies and attachments until the SDKs release them

No SDK release sends cc, bcc, or attachments yet, so the SDK pages
must not document them. The API takes them today, so the API page and
the receipt example (cURL only) keep them.

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

* docs(workflows): drop the duplicate Python sections from the master merge

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

---------

Co-authored-by: Harley Alexander <43975092+mayteio@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Silthus added a commit to PostHog/posthog.com that referenced this pull request Nov 13, 2026
* docs(workflows): add the transactional email API page

Document how to make a Workflows email template transactional and send it with POST /api/projects/:project_id/messaging_templates/:template_id/send/. The page covers the API key, the request and response, idempotency keys, error codes, rate limits, and how transactional emails behave. The page is marked beta.

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

Generated-By: PostHog Desktop
Task-Id: a0274fa0-d9be-48bf-b601-f153decf241d

* docs(workflows): document the single send route, email status, and the SDKs

- Send through `POST /messaging/send/email/` with `template.id`. The template route still works.
- Read an email's status with `GET /messaging/emails/:message_id/`: statuses, reasons, 404 cases, scopes and read limits.
- Send and read with the Python and Node.js SDKs.
- Add `recipient_unreachable` to the errors table.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): fix vale findings on the transactional email page

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): address SDK review on the transactional email page

- The Node.js example turns off local evaluation, and both examples keep the SDK's error.
- The status examples handle the error first and explain retrying a not_found.
- The SDK section adds install, client reuse, timeouts and retries, uncertain outcomes, and a no-network testing example.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): split transactional emails into overview and platform pages

The overview keeps the template, key, idempotency, errors, statuses and behavior. Node.js, Python and API pages hold the setup, send, status, retries and testing for each platform, with a sidebar group like push notifications.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): add a quick start and the Transactional section to the overview

- A quick start links to the Node.js, Python and API pages.
- Creating an email follows the Transactional section's wizard, and the hidden workflow explanation is gone.
- Agents can set it up with the PostHog MCP server.
- Protect sensitive data turns off click tracking and keeps deliveries, opens and statuses.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): mention the per-send max_retries in Python

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): send template_id and distinct_id at the top of the body

The send endpoint now takes a flat body (PostHog/posthog#126287), so the field table, the curl example and the engagement events note use template_id and distinct_id.

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

Generated-By: PostHog Desktop
Task-Id: e72a2c10-f145-4f7c-8754-a4fcc06a18be

* docs(workflows): send content from your code on the transactional email API page

Document the code form of the send route (template_key with the subject
and body), capture_engagement, the checks that only apply to it, and a
delivery_unavailable anchor for the 503's docs link.

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

* docs(workflows): list every reserved header and the header and tag limits

Add DKIM-Signature and Received to the reserved headers, the header name
and value limits, the tag length, and that reply_to takes bare addresses.

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

* docs(workflows): say that a header name has no spaces

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

* docs(workflows): say that a header name has visible ASCII characters only

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

* docs(workflows): say what makes a code send the same request, and what template_key and ph_ tags do

- A retry with the same Idempotency-Key is the same request when every field of the code-form table matches.
- template_key groups the email's metrics and sends.
- A tag name that starts with ph_, in any case, is refused.
- capture_engagement on a template send defaults to the project's setting.
- Drop a double blank line after the checks table (fix-mdx).

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

* docs(workflows): list capture_engagement on the template send, and spell out the ph_ case rule

- The template-send table gets a capture_engagement row with the project default, and says a retry sends the field the same way.
- The code-form row keeps only its own default.
- A ph_ tag name is refused in uppercase or lowercase.

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

* docs(workflows): cut cc, bcc, headers, tags and attachments from the code send

The first release sends content from code with template_key, subject, html and text only. React Email output is rendered by the app and sent as html.

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

* docs(workflows): match the code form to the first send release

- Drop capture_engagement from the template send: the send route
  refuses it there, with the other fields of content from your code.
- Fold sender_not_allowed into sender_not_verified, the code the
  first release returns for a from address no verified sender can use.
- Add "Send content from your code" to the Node.js and Python pages,
  with a React Email example rendered by the app.

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

* docs(workflows): name the first release's field errors and the sender in a replay

- A field error is a 400 with type validation_error, a field code
  such as required or invalid, and attr naming the field.
- A replay also compares the sender PostHog chose, so a retry without
  from after the default sender changed returns idempotency_key_reused.

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

* docs(workflows): link transactional emails to your users with the identify distinct ID

Add "Link emails to your users" to the API, Node.js and Python pages: pass
the distinct ID you pass to identify(), what happens without one today (a
separate person keyed by the email address), and that invites and signup
checks can leave it out. The overview and the API tables point there
instead of "always send it".

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

* docs(workflows): say which signup email can leave out the distinct ID

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

* docs(workflows): match the link-emails section to the docs style rules

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

* docs(workflows): send transactional emails from Go, .NET, Rust, Ruby, Elixir and PHP

Add a page for each SDK with the template send, content from code, the
status read, and the distinct ID guidance. Copies and attachments are
marked as coming in a later version. The API page shows every SDK in its
language tabs.

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

* docs(workflows): fix the SDK email snippets from the first review

Use the placeholders the site fills in, pass the client to the Go and Ruby
helpers, tell "not yet" from "not bounced" in Go, add the .NET usings
and serde_json, and say that flag definitions still load from the
ingestion host with the secret key. Ruby's timeout covers each connect,
read, and write.

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

* docs(workflows): fix the .NET import and status helpers from the second review

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

* docs(workflows): fill the SDK examples with the reader's token and host

The Node.js and Python client examples used <ph_project_api_key> and a
hard-coded ingestion host, which the site doesn't replace. They now use
<ph_project_token> and <ph_client_api_host>, as the SDK pages do, so a
logged-in reader sees their own project token and host.

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

* docs(workflows): show copies and attachments for Rust and Ruby

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

* docs(workflows): show copies and attachments for PHP

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

* docs(workflows): show copies and attachments for .NET and drop the coming-soon notes

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

* docs(workflows): name the transactional_email scopes for sends and status reads

A send needs transactional_email:write and a status read needs
transactional_email:read or :write. Keys with a hog_flow scope still work.

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

* docs(workflows): pick Transactional email in the key scopes list

The key steps still picked Workflow, which creates a hog_flow key. The
scopes list names the new scope Transactional email.

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

* docs(workflows): make a template transactional with the transactional email scope

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

* docs(workflows): say to retry a status read right after a send

A status read right after a send can answer 404 for a few seconds,
until the send's first status arrives. Say so where the API page
lists the 404, and that a retry after a short wait is the fix.

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

* docs(workflows): name .NET SDK 2.20.0 as the first version with email

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

* docs(workflows): Python code sends start at 7.84.0

posthog-python#1171 ships as a minor bump, and PyPI is already at
7.83.2, so the code send arrives in 7.84.0, not 7.83.0.

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

* docs(workflows): rewrite transactional email docs for a faster first send

Add a quick start that sends a first email with curl, a table to choose
where the content lives, a coding agent prompt on each SDK page, a retry
column in the errors table, and a checklist for an email that didn't
arrive. Each SDK page now shows a send from a background job, a test
that fakes HTTP, and its proxy notes at the end. A new examples page
covers sign-in codes, email address checks, invites, receipts with a
PDF, and a funnel that measures an email. PHP names 4.22.0 and Elixir
2.20.0, the versions their releases now publish.

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

* docs(workflows): keep job retries inside the idempotency key's 24 hours

PostHog remembers an idempotency key for 24 hours, so a job retried
after that can send the email twice. Each background-job example now
says to finish its retries within 24 hours. The Sidekiq job retries 5
times, the River job has 5 attempts, and the BullMQ job shows its
attempts and backoff. The quick start turns on Protect sensitive data
for its reset email.

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

* docs(workflows): add Node.js and Python attachments and fix the proxy note

The Node.js and Python pages now document cc, bcc, and attachments, as
the other six SDK pages do, and the receipt example shows Node.js and
Python. Five pages said that the client never sends the secret key to a
proxy, but local evaluation does. They now say that the client never
sends email requests there. The Celery retries now wait long enough to
pass a rate limit, and the quick start sets the key before it sends.

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

* docs(workflows): hold SDK copies and attachments until the SDKs release them

No SDK release sends cc, bcc, or attachments yet, so the SDK pages
must not document them. The API takes them today, so the API page and
the receipt example (cURL only) keep them.

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

* docs(workflows): send copies and attachments from every SDK

Restores the copies and attachments sections on the eight SDK pages, the
Node.js and Python tabs of the receipt example, and the API page's note
that the SDKs encode files for you.

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

* docs(workflows): send email files by upload, then reference

Content from your code attaches files that the sender uploaded first: hash each
file, ask the upload route where to put it, PUT the missing ones, then send the
hashes. The API page documents the upload route, the upload host for egress
rules, and every refusal code. The SDK pages and the receipt example follow, and
the limit reads 10 files and 40 MB per message after Base64 encoding, about
29 MB of files. The "temporarily unavailable" notes go.

Refs PostHog/michaelr-context#88

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

* docs(workflows): link the upload host from every SDK page

The SDKs upload to Amazon S3 too, so a reader behind an outgoing-traffic
filter must find the host from their SDK's page. The host table gets its own
heading on the API page, and each SDK section links to it.

Refs PostHog/michaelr-context#88

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

* docs(workflows): fix the file checks and show refusals in the receipt script

A 503 on a send can still mean the email is queued, so the checks for files
no longer promise that nothing went out. The message_too_large row names the
field path in attr, the send section links the checks for files, and the
why and fix fields sit beside code and attr. The receipt script prints the
upload route's refusal before it stops, and names shasum as a dependency.

Refs PostHog/michaelr-context#88

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

* docs(workflows): say the upload limit counts when PostHog gives the URL

Refs PostHog/michaelr-context#88

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

* docs(workflows): offer a link for new files over the upload limit

Also name Python's attachments as dictionaries.

Refs PostHog/michaelr-context#88

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

* docs(workflows): list the upload route's 404 and count the bodies at Base64 size

Refs PostHog/michaelr-context#88

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

* docs(workflows): name the SDK versions that send copies and attachments

Refs PostHog/michaelr-context#88

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

* docs(workflows): install the Rust SDK release that sends attachments

The Rust page needs posthog-rs 0.33.0 for copies and attachments, so the
install line now selects 0.33 instead of 0.32.

Refs PostHog/michaelr-context#88

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

* docs(workflows): name the Python and .NET versions that send attachments

Python 7.91.0 and .NET 2.25.0 are the first releases with the upload
route. The .NET install line now pins 2.25.0, so the attachments example
compiles.

Refs PostHog/michaelr-context#88

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

* docs(workflows): send a calendar invite with content type parameters

content_type now takes MIME parameters, such as method=REQUEST, so mail
apps can show an .ics file as an invitation. A name or filename
parameter gets not_mime_type, because the file name comes from filename.

Refs PostHog/michaelr-context#88

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

* docs(workflows): show the calendar invite's content type without a scroll

The one-line example hid the content_type value past the edge of the
code block at every width. The file object now takes one line for each
field, and the refusal of a name parameter follows the example.

Refs PostHog/michaelr-context#88

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

* docs(workflows): use en dashes in the attachments bullets

Vale's EnDash rule flags the bold-label bullets that this branch adds or
changes. They now use an en dash, as master does since #22166.

Refs PostHog/michaelr-context#88

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

---------

Co-authored-by: Harley Alexander <43975092+mayteio@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stamphog Request AI approval (no full review)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant