Skip to content

feat(data-warehouse): add direct_query_enabled toggle to data sources - #64685

Merged
danielcarletti merged 16 commits into
masterfrom
claude/sad-poincare-d9b339
Jun 19, 2026
Merged

danielcarletti merged 16 commits into
masterfrom
claude/sad-poincare-d9b339

Conversation

@danielcarletti

Copy link
Copy Markdown
Contributor

Problem

Synced (warehouse) SQL sources can't be queried live in the SQL editor today β€” only pure direct-query sources can. Phase 1 of direct connect adds that, and it needs a per-source switch so a synced source can opt into being live-queryable without forcing it on every source or coupling it to the immutable access_method.

Changes

Adds direct_query_enabled (boolean) to ExternalDataSource:

  • Model field, default true.
  • Additive migration (metadata-only ADD COLUMN) plus a separate backfill that disables it on existing synced sources (access_method=warehouse) and leaves pure-direct sources enabled.
  • Exposed with help_text on the create and detail/update serializers β€” create honors it, PATCH toggles it. Regenerated OpenAPI / frontend / MCP types.

The field is dormant: nothing reads it for enforcement yet (that lands in a later PR in this series), and existing synced sources are backfilled disabled, so nothing changes until a source is explicitly enabled.

How did you test this code?

I'm an agent (Claude Code). Automated tests run locally:

  • New: migration backfill (warehouse β†’ disabled, direct β†’ enabled); create defaults to enabled; create persists an explicit false; PATCH toggles the field.
  • Regression: test_direct_postgres_query + test_direct_mysql_query (128) green; the existing create/PATCH suite for this endpoint green.
  • hogli build:openapi regenerated; ruff and frontend typescript:check clean (no new errors).

No manual UI testing β€” there is no UI surface yet; the field is API-only at this stage.

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Docs update

No docs change β€” the field is internal and dormant until the activation PR.

πŸ€– Agent context

Autonomy: Human-driven (agent-assisted)

Implemented by Claude Code (Opus 4.8) as agent "A2" in a multi-PR direct-connect series. Daniel directed the work and is the DRI.

Skills invoked: /django-migrations (split additive column from backfill, verified sqlmigrate is metadata-only, confirmed no external raw-INSERT writers of the table so no db_default is needed) and /improving-drf-endpoints (every field carries help_text; verified generated JSDoc and MCP tool schemas).

Decisions:

  • Split schema add (0024) from backfill (0025), matching this app's existing convention, so the fast DDL doesn't share a transaction with the data update.
  • Threaded the create value through _create_external_data_source rather than only exposing it on the serializer, so an explicit direct_query_enabled=false at creation is honored instead of silently ignored.
  • Kept enforcement out of scope β€” the capability gate and the connections endpoint that read this field land in later PRs. This PR is intentionally inert.

@danielcarletti danielcarletti self-assigned this Jun 18, 2026
@pr-assigner-resolver-posthog
pr-assigner-resolver-posthog Bot requested review from a team June 18, 2026 18:51
@greptile-apps

greptile-apps Bot commented Jun 18, 2026 •

Copy link
Copy Markdown
Contributor

Comments Outside Diff (2)

  1. products/data_warehouse/backend/api/test/test_external_data_source.py, line 74-131 (link)

    P2 Prefer a single parameterised test over two near-identical test methods

    test_create_external_data_source_defaults_direct_query_enabled_true and test_create_external_data_source_persists_direct_query_enabled_false are structurally identical β€” same mock, same endpoint, same assertion pattern β€” with only the input value and expected result differing. Per the team's convention, a single @pytest.mark.parametrize (or subTest) covering both cases keeps the logic OnceAndOnlyOnce and makes it easy to add more cases (e.g. explicit True) later.

    Prompt To Fix With AI
    This is a comment left during a code review.
    Path: products/data_warehouse/backend/api/test/test_external_data_source.py
    Line: 74-131
    
    Comment:
    **Prefer a single parameterised test over two near-identical test methods**
    
    `test_create_external_data_source_defaults_direct_query_enabled_true` and `test_create_external_data_source_persists_direct_query_enabled_false` are structurally identical β€” same mock, same endpoint, same assertion pattern β€” with only the input value and expected result differing. Per the team's convention, a single `@pytest.mark.parametrize` (or `subTest`) covering both cases keeps the logic OnceAndOnlyOnce and makes it easy to add more cases (e.g. explicit `True`) later.
    
    How can I resolve this? If you propose a fix, please make it concise.

    Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

  2. products/data_warehouse/backend/api/external_data_source.py, line 2308-2317 (link)

    P2 setup action can't set direct_query_enabled=False at creation time

    SourceSetupSerializer has no direct_query_enabled field, so the setup action always calls _create_external_data_source with the default True. That's fine while the field is dormant, but once enforcement lands (the follow-up PR), all warehouse sources created via the MCP setup tool will start life with direct_query_enabled=True β€” with no in-call way to opt out β€” while the backfill migration intentionally set all pre-existing warehouse sources to False. A caller would have to issue a separate PATCH to correct it. Worth adding the field to SourceSetupSerializer before enforcement ships, even if it carries the same default.

    Prompt To Fix With AI
    This is a comment left during a code review.
    Path: products/data_warehouse/backend/api/external_data_source.py
    Line: 2308-2317
    
    Comment:
    **`setup` action can't set `direct_query_enabled=False` at creation time**
    
    `SourceSetupSerializer` has no `direct_query_enabled` field, so the `setup` action always calls `_create_external_data_source` with the default `True`. That's fine while the field is dormant, but once enforcement lands (the follow-up PR), all warehouse sources created via the MCP `setup` tool will start life with `direct_query_enabled=True` β€” with no in-call way to opt out β€” while the backfill migration intentionally set all pre-existing warehouse sources to `False`. A caller would have to issue a separate PATCH to correct it. Worth adding the field to `SourceSetupSerializer` before enforcement ships, even if it carries the same default.
    
    How can I resolve this? If you propose a fix, please make it concise.
Prompt To Fix All With AI
Fix the following 2 code review issues. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 2
products/data_warehouse/backend/api/test/test_external_data_source.py:74-131
**Prefer a single parameterised test over two near-identical test methods**

`test_create_external_data_source_defaults_direct_query_enabled_true` and `test_create_external_data_source_persists_direct_query_enabled_false` are structurally identical β€” same mock, same endpoint, same assertion pattern β€” with only the input value and expected result differing. Per the team's convention, a single `@pytest.mark.parametrize` (or `subTest`) covering both cases keeps the logic OnceAndOnlyOnce and makes it easy to add more cases (e.g. explicit `True`) later.

### Issue 2 of 2
products/data_warehouse/backend/api/external_data_source.py:2308-2317
**`setup` action can't set `direct_query_enabled=False` at creation time**

`SourceSetupSerializer` has no `direct_query_enabled` field, so the `setup` action always calls `_create_external_data_source` with the default `True`. That's fine while the field is dormant, but once enforcement lands (the follow-up PR), all warehouse sources created via the MCP `setup` tool will start life with `direct_query_enabled=True` β€” with no in-call way to opt out β€” while the backfill migration intentionally set all pre-existing warehouse sources to `False`. A caller would have to issue a separate PATCH to correct it. Worth adding the field to `SourceSetupSerializer` before enforcement ships, even if it carries the same default.

Reviews (1): Last reviewed commit: "feat(data-warehouse): add direct_query_e..." | Re-trigger Greptile

@tests-posthog

tests-posthog Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Query snapshots: Backend query snapshots updated

Changes: 7 snapshots (7 modified, 0 added, 0 deleted)

What this means:

  • Query snapshots have been automatically updated to match current output
  • These changes reflect modifications to database queries or schema

Next steps:

  • Review the query changes to ensure they're intentional
  • If unexpected, investigate what caused the query to change

Review snapshot changes β†’

@github-actions

github-actions Bot commented Jun 18, 2026 •

Copy link
Copy Markdown
Contributor

πŸ•ΈοΈ Eager graph

How much code each root forces the browser to download and decode through static imports β€” the regression class total bundle size can't see.

Root Eager closure Ξ” vs base Budget
entry (logged-out pages, app bootstrap)
src/index.tsx
14.96 MiB Β· 763 files no change β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 98.0% of 15.26 MiB
authenticated shell (every logged-in page)
src/scenes/AuthenticatedShell.tsx
32.16 MiB Β· 5,156 files no change β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 99.2% of 32.42 MiB

βœ… node_modules/monaco-editor/ stays out of src/index.tsx
βœ… src/lib/components/ActivityLog/describers stays out of src/index.tsx
βœ… node_modules/monaco-editor/ stays out of src/scenes/AuthenticatedShell.tsx
βœ… src/lib/components/ActivityLog/describers stays out of src/scenes/AuthenticatedShell.tsx

Largest files eagerly reachable from src/index.tsx
Size File
886.1 KiB src/styles/global.scss
609.0 KiB public/hedgehog/burning-money-hog.png
541.9 KiB public/hedgehog/waving-hog.png
448.2 KiB public/hedgehog/stop-sign-hog.png
362.0 KiB public/hedgehog/phone-pair-hogs.png
354.8 KiB ../node_modules/.pnpm/@posthog+icons@0.36.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
335.6 KiB public/hedgehog/desk-hog.png
329.6 KiB src/taxonomy/core-filter-definitions-by-group.json
323.2 KiB public/hedgehog/3-bears-hogs.png
292.5 KiB src/lib/api.ts
Largest files eagerly reachable from src/scenes/AuthenticatedShell.tsx
Size File
886.1 KiB src/styles/global.scss
764.5 KiB src/queries/validators.js
609.0 KiB public/hedgehog/burning-money-hog.png
541.9 KiB public/hedgehog/waving-hog.png
448.2 KiB public/hedgehog/stop-sign-hog.png
362.0 KiB public/hedgehog/phone-pair-hogs.png
354.8 KiB ../node_modules/.pnpm/@posthog+icons@0.36.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js
335.6 KiB public/hedgehog/desk-hog.png
329.6 KiB src/taxonomy/core-filter-definitions-by-group.json
323.2 KiB public/hedgehog/3-bears-hogs.png

Posted automatically by check-eager-graph Β· sizes are input-source bytes from the esbuild metafile Β· part of #32479

@github-actions

github-actions Bot commented Jun 18, 2026 •

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 64.5 MB

ℹ️ View Unchanged
Filename Size
frontend/dist-report/decompression-worker/src/scenes/session-recordings/player/snapshot-processing/decompressionWorker 2.85 kB
frontend/dist-report/exporter/_chunks/chunk 2.62 MB
frontend/dist-report/exporter/_parent/products/actions/frontend/pages/Action 27.8 kB
frontend/dist-report/exporter/_parent/products/actions/frontend/pages/Actions 5.49 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/AIObservabilityScene 121 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/AIObservabilitySessionScene 20.4 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/AIObservabilityTraceScene 133 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/AIObservabilityUsers 3.44 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/clusters/AIObservabilityClusterScene 21.8 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/clusters/AIObservabilityClustersScene 54.5 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/datasets/AIObservabilityDatasetScene 20.7 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/datasets/AIObservabilityDatasetsScene 4.1 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/evaluations/AIObservabilityEvaluation 60.1 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/evaluations/AIObservabilityEvaluationsScene 32.4 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/evaluations/EvaluationTemplates 671 B
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/LLMASessionFeedbackDisplay 4.81 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/playground/AIObservabilityPlaygroundScene 37.7 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/prompts/LLMPromptScene 32.7 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/prompts/LLMPromptsScene 5.25 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/tags/AIObservabilityTag 31.8 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/tags/AIObservabilityTagsScene 11.6 kB
frontend/dist-report/exporter/_parent/products/business_knowledge/frontend/scenes/BusinessKnowledgeScene 22.4 kB
frontend/dist-report/exporter/_parent/products/conversations/frontend/components/Assignee/CyclotronJobInputAssignee 1.38 kB
frontend/dist-report/exporter/_parent/products/conversations/frontend/components/SlaBusinessHours/CyclotronJobInputBusinessHours 2.69 kB
frontend/dist-report/exporter/_parent/products/conversations/frontend/components/TicketTags/CyclotronJobInputTicketTags 783 B
frontend/dist-report/exporter/_parent/products/conversations/frontend/scenes/settings/SupportSettingsScene 5.66 kB
frontend/dist-report/exporter/_parent/products/conversations/frontend/scenes/ticket/SupportTicketScene 39 kB
frontend/dist-report/exporter/_parent/products/conversations/frontend/scenes/tickets/SupportTicketsScene 1.68 kB
frontend/dist-report/exporter/_parent/products/customer_analytics/frontend/CustomerAnalyticsScene 93 kB
frontend/dist-report/exporter/_parent/products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/CustomerAnalyticsConfigurationScene 6.41 kB
frontend/dist-report/exporter/_parent/products/customer_analytics/frontend/scenes/CustomerJourneyBuilderScene/CustomerJourneyBuilderScene 6.16 kB
frontend/dist-report/exporter/_parent/products/customer_analytics/frontend/scenes/CustomerJourneyTemplatesScene/CustomerJourneyTemplatesScene 9.16 kB
frontend/dist-report/exporter/_parent/products/data_warehouse/DataWarehouseScene 29.1 kB
frontend/dist-report/exporter/_parent/products/data_warehouse/frontend/scenes/NewSourceScene/NewSourceScene 2.81 kB
frontend/dist-report/exporter/_parent/products/data_warehouse/frontend/scenes/SchemaScene/SchemaScene 28.9 kB
frontend/dist-report/exporter/_parent/products/data_warehouse/frontend/scenes/SourceConnectScene/SourceConnectScene 6.93 kB
frontend/dist-report/exporter/_parent/products/data_warehouse/frontend/scenes/SourceScene/SourceScene 2.62 kB
frontend/dist-report/exporter/_parent/products/data_warehouse/frontend/scenes/SourcesScene/SourcesScene 7.46 kB
frontend/dist-report/exporter/_parent/products/early_access_features/frontend/EarlyAccessFeature 5.37 kB
frontend/dist-report/exporter/_parent/products/early_access_features/frontend/EarlyAccessFeatures 3.76 kB
frontend/dist-report/exporter/_parent/products/endpoints/frontend/EndpointScene 47.3 kB
frontend/dist-report/exporter/_parent/products/endpoints/frontend/EndpointsScene 27.3 kB
frontend/dist-report/exporter/_parent/products/engineering_analytics/frontend/scenes/EngineeringAnalyticsScene 23.4 kB
frontend/dist-report/exporter/_parent/products/engineering_analytics/frontend/scenes/PullRequestDetailScene 11.5 kB
frontend/dist-report/exporter/_parent/products/error_tracking/frontend/scenes/ErrorTrackingFingerprintsScene/ErrorTrackingIssueFingerprintsScene 7.69 kB
frontend/dist-report/exporter/_parent/products/error_tracking/frontend/scenes/ErrorTrackingIssueScene/ErrorTrackingIssueScene 102 kB
frontend/dist-report/exporter/_parent/products/error_tracking/frontend/scenes/ErrorTrackingScene/ErrorTrackingScene 42.3 kB
frontend/dist-report/exporter/_parent/products/feature_flags/frontend/FeatureFlagTemplatesScene 6.91 kB
frontend/dist-report/exporter/_parent/products/games/368Hedgehogs/368Hedgehogs 5.24 kB
frontend/dist-report/exporter/_parent/products/games/FlappyHog/FlappyHog 5.7 kB
frontend/dist-report/exporter/_parent/products/growth/frontend/IdentityMatchingScene 6.15 kB
frontend/dist-report/exporter/_parent/products/legal_documents/frontend/scenes/LegalDocumentNewScene 60.5 kB
frontend/dist-report/exporter/_parent/products/legal_documents/frontend/scenes/LegalDocumentsScene 6.71 kB
frontend/dist-report/exporter/_parent/products/links/frontend/LinkScene 25.5 kB
frontend/dist-report/exporter/_parent/products/links/frontend/LinksScene 5.18 kB
frontend/dist-report/exporter/_parent/products/live_debugger/frontend/LiveDebugger 19.6 kB
frontend/dist-report/exporter/_parent/products/logs/frontend/LogsScene 22.7 kB
frontend/dist-report/exporter/_parent/products/logs/frontend/scenes/LogsAlertDetailScene/LogsAlertDetailScene 18.7 kB
frontend/dist-report/exporter/_parent/products/logs/frontend/scenes/LogsAlertNotificationDetailScene/LogsAlertNotificationDetailScene 9.06 kB
frontend/dist-report/exporter/_parent/products/logs/frontend/scenes/LogsSamplingDetailScene/LogsSamplingDetailScene 6.18 kB
frontend/dist-report/exporter/_parent/products/logs/frontend/scenes/LogsSamplingNewScene/LogsSamplingNewScene 3.19 kB
frontend/dist-report/exporter/_parent/products/managed_migrations/frontend/ManagedMigration 15.3 kB
frontend/dist-report/exporter/_parent/products/mcp_analytics/frontend/MCPAnalyticsScene 108 kB
frontend/dist-report/exporter/_parent/products/mcp_analytics/frontend/MCPAnalyticsToolDetail 20.4 kB
frontend/dist-report/exporter/_parent/products/metrics/frontend/MetricsScene 18 kB
frontend/dist-report/exporter/_parent/products/product_analytics/frontend/insights/stickiness/StickinessBarChart/StickinessBarChart 4.06 kB
frontend/dist-report/exporter/_parent/products/product_analytics/frontend/insights/stickiness/StickinessLineChart/StickinessLineChart 3.95 kB
frontend/dist-report/exporter/_parent/products/product_analytics/frontend/insights/trends/TrendsBarChart/TrendsBarChart 9.73 kB
frontend/dist-report/exporter/_parent/products/product_analytics/frontend/insights/trends/TrendsLifecycleChart/TrendsLifecycleChart 5.88 kB
frontend/dist-report/exporter/_parent/products/product_analytics/frontend/insights/trends/TrendsLineChart/TrendsLineChart 7.45 kB
frontend/dist-report/exporter/_parent/products/product_analytics/frontend/insights/trends/TrendsPieChart/TrendsPieChart 5.08 kB
frontend/dist-report/exporter/_parent/products/product_analytics/frontend/insights/trends/TrendsSlopeChart/TrendsSlopeChart 2.63 kB
frontend/dist-report/exporter/_parent/products/replay_vision/frontend/observations/ReplayObservation 17.8 kB
frontend/dist-report/exporter/_parent/products/replay_vision/frontend/replay_scanners/ReplayScanner 35.5 kB
frontend/dist-report/exporter/_parent/products/replay_vision/frontend/replay_scanners/ReplayScannersScene 21.9 kB
frontend/dist-report/exporter/_parent/products/replay_vision/frontend/replay_scanners/ScannerEditorScene 25.2 kB
frontend/dist-report/exporter/_parent/products/revenue_analytics/frontend/revenueAnalyticsLogic 1.52 kB
frontend/dist-report/exporter/_parent/products/revenue_analytics/frontend/RevenueAnalyticsScene 29.6 kB
frontend/dist-report/exporter/_parent/products/session_summaries/frontend/SessionGroupSummariesTable 5.44 kB
frontend/dist-report/exporter/_parent/products/session_summaries/frontend/SessionGroupSummaryScene 23.2 kB
frontend/dist-report/exporter/_parent/products/skills/frontend/LLMSkillScene 1.5 kB
frontend/dist-report/exporter/_parent/products/skills/frontend/LLMSkillsScene 1.51 kB
frontend/dist-report/exporter/_parent/products/tasks/frontend/SlackTaskContextScene 9.33 kB
frontend/dist-report/exporter/_parent/products/tasks/frontend/TaskDetailScene 25.1 kB
frontend/dist-report/exporter/_parent/products/tasks/frontend/TaskTracker 14.9 kB
frontend/dist-report/exporter/_parent/products/tracing/frontend/TracingScene 86.4 kB
frontend/dist-report/exporter/_parent/products/user_interviews/frontend/UserInterview 10.9 kB
frontend/dist-report/exporter/_parent/products/user_interviews/frontend/UserInterviewResponse 8.08 kB
frontend/dist-report/exporter/_parent/products/user_interviews/frontend/UserInterviews 6.49 kB
frontend/dist-report/exporter/_parent/products/visual_review/frontend/scenes/VisualReviewIndexScene 3.03 kB
frontend/dist-report/exporter/_parent/products/visual_review/frontend/scenes/VisualReviewRunScene 46.8 kB
frontend/dist-report/exporter/_parent/products/visual_review/frontend/scenes/VisualReviewRunsScene 8.21 kB
frontend/dist-report/exporter/_parent/products/visual_review/frontend/scenes/VisualReviewSettingsScene 11.6 kB
frontend/dist-report/exporter/_parent/products/visual_review/frontend/scenes/VisualReviewSnapshotHistoryScene 14.3 kB
frontend/dist-report/exporter/_parent/products/visual_review/frontend/scenes/VisualReviewSnapshotOverviewScene 19.8 kB
frontend/dist-report/exporter/_parent/products/workflows/frontend/TemplateLibrary/MessageTemplate 17 kB
frontend/dist-report/exporter/_parent/products/workflows/frontend/Workflows/WorkflowScene 110 kB
frontend/dist-report/exporter/_parent/products/workflows/frontend/WorkflowsScene 61.4 kB
frontend/dist-report/exporter/src/exporter/exporter 44.6 kB
frontend/dist-report/exporter/src/exporter/scenes/ExporterDashboardScene 6.4 kB
frontend/dist-report/exporter/src/exporter/scenes/ExporterHeatmapScene 20.2 kB
frontend/dist-report/exporter/src/exporter/scenes/ExporterInsightScene 7.04 kB
frontend/dist-report/exporter/src/exporter/scenes/ExporterInterviewScene 310 kB
frontend/dist-report/exporter/src/exporter/scenes/ExporterNotebookScene 2.89 MB
frontend/dist-report/exporter/src/exporter/scenes/ExporterRecordingScene 5.49 kB
frontend/dist-report/exporter/src/exporterSharedChunkAnchors 1.3 kB
frontend/dist-report/exporter/src/lib/components/ActivityLog/describers 129 kB
frontend/dist-report/exporter/src/lib/components/Cards/TextCard/TextCardMarkdownEditor 10.6 kB
frontend/dist-report/exporter/src/lib/components/MonacoDiffEditor 533 B
frontend/dist-report/exporter/src/lib/lemon-ui/LemonMarkdown/MermaidDiagram 2 kB
frontend/dist-report/exporter/src/lib/lemon-ui/LemonTextArea/LemonTextAreaMarkdown 790 B
frontend/dist-report/exporter/src/lib/lemon-ui/Link/Link 415 B
frontend/dist-report/exporter/src/lib/monaco/CodeEditor 448 B
frontend/dist-report/exporter/src/lib/monaco/CodeEditorImpl 26 kB
frontend/dist-report/exporter/src/lib/monaco/CodeEditorInline 649 B
frontend/dist-report/exporter/src/lib/monaco/vimMode 211 kB
frontend/dist-report/exporter/src/lib/ui/Button/ButtonPrimitives 482 B
frontend/dist-report/exporter/src/queries/nodes/WebVitals/WebVitals 11.3 kB
frontend/dist-report/exporter/src/queries/nodes/WebVitals/WebVitalsPathBreakdown 4.79 kB
frontend/dist-report/exporter/src/queries/Query/Query 4.91 kB
frontend/dist-report/exporter/src/queries/schema 939 kB
frontend/dist-report/exporter/src/scenes/approvals/changeRequestsLogic 622 B
frontend/dist-report/exporter/src/scenes/authentication/login/loginLogic 569 B
frontend/dist-report/exporter/src/scenes/authentication/shared/passkeyLogic 602 B
frontend/dist-report/exporter/src/scenes/data-pipelines/event-filtering/EventFilterScene 22.8 kB
frontend/dist-report/exporter/src/scenes/data-pipelines/TransformationsScene 7.98 kB
frontend/dist-report/exporter/src/scenes/experiments/notebook/NotebookCompactTable 1.57 kB
frontend/dist-report/exporter/src/scenes/hog-functions/misc/Diff 1.35 kB
frontend/dist-report/exporter/src/scenes/insights/views/BoxPlot/BoxPlot 6.19 kB
frontend/dist-report/exporter/src/scenes/insights/views/CalendarHeatMap/CalendarHeatMap 8.92 kB
frontend/dist-report/exporter/src/scenes/insights/views/RegionMap/RegionMap 30.4 kB
frontend/dist-report/exporter/src/scenes/insights/views/WorldMap/WorldMap 1.04 MB
frontend/dist-report/exporter/src/scenes/models/ModelsScene 19.1 kB
frontend/dist-report/exporter/src/scenes/models/NodeDetailScene 18.9 kB
frontend/dist-report/monaco-editor-worker/src/lib/monaco/workers/monacoEditorWorker 288 kB
frontend/dist-report/monaco-json-worker/src/lib/monaco/workers/monacoJsonWorker 419 kB
frontend/dist-report/monaco-typescript-worker/src/lib/monaco/workers/monacoTsWorker 7.02 MB
frontend/dist-report/posthog-app/_chunks/chunk 2.62 MB
frontend/dist-report/posthog-app/_parent/products/actions/frontend/pages/Action 29.2 kB
frontend/dist-report/posthog-app/_parent/products/actions/frontend/pages/Actions 6.85 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/AIObservabilityScene 123 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/AIObservabilitySessionScene 20.5 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/AIObservabilityTraceScene 134 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/AIObservabilityUsers 4.29 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/clusters/AIObservabilityClusterScene 22.3 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/clusters/AIObservabilityClustersScene 55 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/datasets/AIObservabilityDatasetScene 21.3 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/datasets/AIObservabilityDatasetsScene 4.61 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/evaluations/AIObservabilityEvaluation 60.6 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/evaluations/AIObservabilityEvaluationsScene 33.7 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/evaluations/EvaluationTemplates 671 B
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/LLMASessionFeedbackDisplay 4.81 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/playground/AIObservabilityPlaygroundScene 38.3 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/prompts/LLMPromptScene 34 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/prompts/LLMPromptsScene 5.76 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/tags/AIObservabilityTag 33.1 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/tags/AIObservabilityTagsScene 12.9 kB
frontend/dist-report/posthog-app/_parent/products/business_knowledge/frontend/scenes/BusinessKnowledgeScene 23 kB
frontend/dist-report/posthog-app/_parent/products/conversations/frontend/components/Assignee/CyclotronJobInputAssignee 1.38 kB
frontend/dist-report/posthog-app/_parent/products/conversations/frontend/components/SlaBusinessHours/CyclotronJobInputBusinessHours 2.7 kB
frontend/dist-report/posthog-app/_parent/products/conversations/frontend/components/TicketTags/CyclotronJobInputTicketTags 783 B
frontend/dist-report/posthog-app/_parent/products/conversations/frontend/scenes/settings/SupportSettingsScene 7.77 kB
frontend/dist-report/posthog-app/_parent/products/conversations/frontend/scenes/ticket/SupportTicketScene 33.6 kB
frontend/dist-report/posthog-app/_parent/products/conversations/frontend/scenes/tickets/SupportTicketsScene 2.19 kB
frontend/dist-report/posthog-app/_parent/products/customer_analytics/frontend/CustomerAnalyticsScene 93.3 kB
frontend/dist-report/posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/CustomerAnalyticsConfigurationScene 8.52 kB
frontend/dist-report/posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerJourneyBuilderScene/CustomerJourneyBuilderScene 7.48 kB
frontend/dist-report/posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerJourneyTemplatesScene/CustomerJourneyTemplatesScene 10 kB
frontend/dist-report/posthog-app/_parent/products/data_warehouse/DataWarehouseScene 2.07 kB
frontend/dist-report/posthog-app/_parent/products/data_warehouse/frontend/scenes/NewSourceScene/NewSourceScene 3.59 kB
frontend/dist-report/posthog-app/_parent/products/data_warehouse/frontend/scenes/SchemaScene/SchemaScene 29.5 kB
frontend/dist-report/posthog-app/_parent/products/data_warehouse/frontend/scenes/SourceConnectScene/SourceConnectScene 7.65 kB
frontend/dist-report/posthog-app/_parent/products/data_warehouse/frontend/scenes/SourceScene/SourceScene 3.3 kB
frontend/dist-report/posthog-app/_parent/products/data_warehouse/frontend/scenes/SourcesScene/SourcesScene 8.14 kB
frontend/dist-report/posthog-app/_parent/products/early_access_features/frontend/EarlyAccessFeature 6.87 kB
frontend/dist-report/posthog-app/_parent/products/early_access_features/frontend/EarlyAccessFeatures 4.28 kB
frontend/dist-report/posthog-app/_parent/products/endpoints/frontend/EndpointScene 48.7 kB
frontend/dist-report/posthog-app/_parent/products/endpoints/frontend/EndpointsScene 26.6 kB
frontend/dist-report/posthog-app/_parent/products/engineering_analytics/frontend/scenes/EngineeringAnalyticsScene 23.9 kB
frontend/dist-report/posthog-app/_parent/products/engineering_analytics/frontend/scenes/PullRequestDetailScene 12 kB
frontend/dist-report/posthog-app/_parent/products/error_tracking/frontend/scenes/ErrorTrackingFingerprintsScene/ErrorTrackingIssueFingerprintsScene 8.23 kB
frontend/dist-report/posthog-app/_parent/products/error_tracking/frontend/scenes/ErrorTrackingIssueScene/ErrorTrackingIssueScene 103 kB
frontend/dist-report/posthog-app/_parent/products/error_tracking/frontend/scenes/ErrorTrackingScene/ErrorTrackingScene 44.7 kB
frontend/dist-report/posthog-app/_parent/products/feature_flags/frontend/FeatureFlagTemplatesScene 6.92 kB
frontend/dist-report/posthog-app/_parent/products/games/368Hedgehogs/368Hedgehogs 5.24 kB
frontend/dist-report/posthog-app/_parent/products/games/FlappyHog/FlappyHog 5.7 kB
frontend/dist-report/posthog-app/_parent/products/growth/frontend/IdentityMatchingScene 6.15 kB
frontend/dist-report/posthog-app/_parent/products/legal_documents/frontend/scenes/LegalDocumentNewScene 61 kB
frontend/dist-report/posthog-app/_parent/products/legal_documents/frontend/scenes/LegalDocumentsScene 7.22 kB
frontend/dist-report/posthog-app/_parent/products/links/frontend/LinkScene 26 kB
frontend/dist-report/posthog-app/_parent/products/links/frontend/LinksScene 5.7 kB
frontend/dist-report/posthog-app/_parent/products/live_debugger/frontend/LiveDebugger 20.1 kB
frontend/dist-report/posthog-app/_parent/products/logs/frontend/components/LogsViewer/LogsViewerModal/LogsViewerModal 2.55 kB
frontend/dist-report/posthog-app/_parent/products/logs/frontend/LogsScene 24.1 kB
frontend/dist-report/posthog-app/_parent/products/logs/frontend/scenes/LogsAlertDetailScene/LogsAlertDetailScene 19.3 kB
frontend/dist-report/posthog-app/_parent/products/logs/frontend/scenes/LogsAlertNotificationDetailScene/LogsAlertNotificationDetailScene 9.6 kB
frontend/dist-report/posthog-app/_parent/products/logs/frontend/scenes/LogsSamplingDetailScene/LogsSamplingDetailScene 6.69 kB
frontend/dist-report/posthog-app/_parent/products/logs/frontend/scenes/LogsSamplingNewScene/LogsSamplingNewScene 3.7 kB
frontend/dist-report/posthog-app/_parent/products/managed_migrations/frontend/ManagedMigration 15.8 kB
frontend/dist-report/posthog-app/_parent/products/mcp_analytics/frontend/MCPAnalyticsScene 108 kB
frontend/dist-report/posthog-app/_parent/products/mcp_analytics/frontend/MCPAnalyticsToolDetail 20.9 kB
frontend/dist-report/posthog-app/_parent/products/metrics/frontend/MetricsScene 18.8 kB
frontend/dist-report/posthog-app/_parent/products/product_analytics/frontend/insights/stickiness/StickinessBarChart/StickinessBarChart 4.54 kB
frontend/dist-report/posthog-app/_parent/products/product_analytics/frontend/insights/stickiness/StickinessLineChart/StickinessLineChart 4.42 kB
frontend/dist-report/posthog-app/_parent/products/product_analytics/frontend/insights/trends/TrendsBarChart/TrendsBarChart 10.2 kB
frontend/dist-report/posthog-app/_parent/products/product_analytics/frontend/insights/trends/TrendsLifecycleChart/TrendsLifecycleChart 6.35 kB
frontend/dist-report/posthog-app/_parent/products/product_analytics/frontend/insights/trends/TrendsLineChart/TrendsLineChart 7.93 kB
frontend/dist-report/posthog-app/_parent/products/product_analytics/frontend/insights/trends/TrendsPieChart/TrendsPieChart 5.55 kB
frontend/dist-report/posthog-app/_parent/products/product_analytics/frontend/insights/trends/TrendsSlopeChart/TrendsSlopeChart 3 kB
frontend/dist-report/posthog-app/_parent/products/replay_vision/frontend/observations/ReplayObservation 20 kB
frontend/dist-report/posthog-app/_parent/products/replay_vision/frontend/replay_scanners/ReplayScanner 36.9 kB
frontend/dist-report/posthog-app/_parent/products/replay_vision/frontend/replay_scanners/ReplayScannersScene 23.2 kB
frontend/dist-report/posthog-app/_parent/products/replay_vision/frontend/replay_scanners/ScannerEditorScene 25.7 kB
frontend/dist-report/posthog-app/_parent/products/revenue_analytics/frontend/revenueAnalyticsLogic 1.86 kB
frontend/dist-report/posthog-app/_parent/products/revenue_analytics/frontend/RevenueAnalyticsScene 31 kB
frontend/dist-report/posthog-app/_parent/products/session_summaries/frontend/SessionGroupSummariesTable 5.95 kB
frontend/dist-report/posthog-app/_parent/products/session_summaries/frontend/SessionGroupSummaryScene 25.3 kB
frontend/dist-report/posthog-app/_parent/products/skills/frontend/LLMSkillScene 2.01 kB
frontend/dist-report/posthog-app/_parent/products/skills/frontend/LLMSkillsScene 2.02 kB
frontend/dist-report/posthog-app/_parent/products/tasks/frontend/SlackTaskContextScene 9.84 kB
frontend/dist-report/posthog-app/_parent/products/tasks/frontend/TaskDetailScene 25.7 kB
frontend/dist-report/posthog-app/_parent/products/tasks/frontend/TaskTracker 15.4 kB
frontend/dist-report/posthog-app/_parent/products/tracing/frontend/TracingScene 87 kB
frontend/dist-report/posthog-app/_parent/products/user_interviews/frontend/UserInterview 10.9 kB
frontend/dist-report/posthog-app/_parent/products/user_interviews/frontend/UserInterviewResponse 8.59 kB
frontend/dist-report/posthog-app/_parent/products/user_interviews/frontend/UserInterviews 7.01 kB
frontend/dist-report/posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewIndexScene 3.54 kB
frontend/dist-report/posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewRunScene 47.3 kB
frontend/dist-report/posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewRunsScene 8.72 kB
frontend/dist-report/posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewSettingsScene 12.2 kB
frontend/dist-report/posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewSnapshotHistoryScene 14.8 kB
frontend/dist-report/posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewSnapshotOverviewScene 20.3 kB
frontend/dist-report/posthog-app/_parent/products/workflows/frontend/TemplateLibrary/MessageTemplate 17.6 kB
frontend/dist-report/posthog-app/_parent/products/workflows/frontend/Workflows/WorkflowScene 105 kB
frontend/dist-report/posthog-app/_parent/products/workflows/frontend/WorkflowsScene 62.5 kB
frontend/dist-report/posthog-app/src/index 62.5 kB
frontend/dist-report/posthog-app/src/layout/panel-layout/ai-first/tabs/NavTabChat 7.96 kB
frontend/dist-report/posthog-app/src/lib/components/ActivityLog/describers 130 kB
frontend/dist-report/posthog-app/src/lib/components/AppShortcuts/utils/DebugCHQueriesImpl 19.2 kB
frontend/dist-report/posthog-app/src/lib/components/Cards/TextCard/TextCardMarkdownEditor 10.6 kB
frontend/dist-report/posthog-app/src/lib/components/MonacoDiffEditor 533 B
frontend/dist-report/posthog-app/src/lib/lemon-ui/LemonMarkdown/MermaidDiagram 2 kB
frontend/dist-report/posthog-app/src/lib/lemon-ui/LemonTextArea/LemonTextAreaMarkdown 790 B
frontend/dist-report/posthog-app/src/lib/lemon-ui/Link/Link 415 B
frontend/dist-report/posthog-app/src/lib/monaco/CodeEditor 448 B
frontend/dist-report/posthog-app/src/lib/monaco/CodeEditorImpl 26 kB
frontend/dist-report/posthog-app/src/lib/monaco/CodeEditorInline 649 B
frontend/dist-report/posthog-app/src/lib/monaco/vimMode 211 kB
frontend/dist-report/posthog-app/src/lib/ui/Button/ButtonPrimitives 482 B
frontend/dist-report/posthog-app/src/queries/nodes/WebVitals/WebVitals 12.6 kB
frontend/dist-report/posthog-app/src/queries/nodes/WebVitals/WebVitalsPathBreakdown 5.2 kB
frontend/dist-report/posthog-app/src/queries/Query/Query 6.24 kB
frontend/dist-report/posthog-app/src/queries/schema 939 kB
frontend/dist-report/posthog-app/src/scenes/activity/explore/EventsScene 8.41 kB
frontend/dist-report/posthog-app/src/scenes/activity/explore/SessionsScene 9.75 kB
frontend/dist-report/posthog-app/src/scenes/activity/live/LiveEventsTable 6.67 kB
frontend/dist-report/posthog-app/src/scenes/agentic/AgenticAuthorize 5.51 kB
frontend/dist-report/posthog-app/src/scenes/approvals/ApprovalDetail 17.7 kB
frontend/dist-report/posthog-app/src/scenes/approvals/changeRequestsLogic 622 B
frontend/dist-report/posthog-app/src/scenes/audit-logs/AdvancedActivityLogsScene 43.1 kB
frontend/dist-report/posthog-app/src/scenes/AuthenticatedShell 209 kB
frontend/dist-report/posthog-app/src/scenes/authentication/account/AccountConnected 3.04 kB
frontend/dist-report/posthog-app/src/scenes/authentication/account/AgenticAccountMismatch 2.43 kB
frontend/dist-report/posthog-app/src/scenes/authentication/account/credential-review/CredentialReview 5.04 kB
frontend/dist-report/posthog-app/src/scenes/authentication/cli/CLIAuthorize 12.1 kB
frontend/dist-report/posthog-app/src/scenes/authentication/cli/CLILive 4.05 kB
frontend/dist-report/posthog-app/src/scenes/authentication/email-mfa-verify/EmailMFAVerify 3.04 kB
frontend/dist-report/posthog-app/src/scenes/authentication/invite-signup/InviteSignup 1.4 kB
frontend/dist-report/posthog-app/src/scenes/authentication/login-2fa/Login2FA 4.74 kB
frontend/dist-report/posthog-app/src/scenes/authentication/login/Login 1.41 kB
frontend/dist-report/posthog-app/src/scenes/authentication/login/loginLogic 569 B
frontend/dist-report/posthog-app/src/scenes/authentication/password-reset/PasswordReset 4.5 kB
frontend/dist-report/posthog-app/src/scenes/authentication/password-reset/PasswordResetComplete 3.06 kB
frontend/dist-report/posthog-app/src/scenes/authentication/shared/passkeyLogic 602 B
frontend/dist-report/posthog-app/src/scenes/authentication/signup/SignupContainer 1.39 kB
frontend/dist-report/posthog-app/src/scenes/authentication/two-factor-reset/TwoFactorReset 4.04 kB
frontend/dist-report/posthog-app/src/scenes/authentication/vercel/VercelConnect 5.03 kB
frontend/dist-report/posthog-app/src/scenes/authentication/vercel/VercelLinkError 2.3 kB
frontend/dist-report/posthog-app/src/scenes/authentication/verify-email/VerifyEmail 4.79 kB
frontend/dist-report/posthog-app/src/scenes/billing/AuthorizationStatus 768 B
frontend/dist-report/posthog-app/src/scenes/billing/Billing 717 B
frontend/dist-report/posthog-app/src/scenes/billing/BillingSection 21.6 kB
frontend/dist-report/posthog-app/src/scenes/cohorts/Cohort 33.8 kB
frontend/dist-report/posthog-app/src/scenes/cohorts/CohortCalculationHistory 7.37 kB
frontend/dist-report/posthog-app/src/scenes/cohorts/Cohorts 10.9 kB
frontend/dist-report/posthog-app/src/scenes/coupons/Coupons 895 B
frontend/dist-report/posthog-app/src/scenes/dashboard/Dashboard 7.66 kB
frontend/dist-report/posthog-app/src/scenes/dashboard/dashboards/Dashboards 22.6 kB
frontend/dist-report/posthog-app/src/scenes/dashboard/dashboards/templates/DashboardTemplateCopyScene 7.09 kB
frontend/dist-report/posthog-app/src/scenes/data-management/DataManagementScene 6.55 kB
frontend/dist-report/posthog-app/src/scenes/data-management/definition/DefinitionEdit 23.2 kB
frontend/dist-report/posthog-app/src/scenes/data-management/definition/DefinitionView 31.4 kB
frontend/dist-report/posthog-app/src/scenes/data-management/MaterializedColumns/MaterializedColumns 12.9 kB
frontend/dist-report/posthog-app/src/scenes/data-management/variables/SqlVariableEditScene 8.57 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/batch-exports/BatchExportScene 67.7 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/DataPipelinesNewScene 5.14 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/DestinationsScene 5.68 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/event-filtering/EventFilterScene 23.3 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/legacy-plugins/LegacyPluginScene 22 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/TransformationsScene 4.78 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/WebScriptsScene 5.54 kB
frontend/dist-report/posthog-app/src/scenes/data-warehouse/DataWarehouseScene 2.06 kB
frontend/dist-report/posthog-app/src/scenes/data-warehouse/editor/EditorScene 4.78 kB
frontend/dist-report/posthog-app/src/scenes/debug/DebugScene 25.2 kB
frontend/dist-report/posthog-app/src/scenes/debug/hog/HogRepl 9.05 kB
frontend/dist-report/posthog-app/src/scenes/experiments/Experiment 224 kB
frontend/dist-report/posthog-app/src/scenes/experiments/Experiments 23.1 kB
frontend/dist-report/posthog-app/src/scenes/experiments/notebook/NotebookCompactTable 1.98 kB
frontend/dist-report/posthog-app/src/scenes/experiments/SharedMetrics/SharedMetric 12.2 kB
frontend/dist-report/posthog-app/src/scenes/experiments/SharedMetrics/SharedMetrics 1.81 kB
frontend/dist-report/posthog-app/src/scenes/exports/ExportsScene 5.38 kB
frontend/dist-report/posthog-app/src/scenes/feature-flags/FeatureFlag 117 kB
frontend/dist-report/posthog-app/src/scenes/feature-flags/FeatureFlags 3.9 kB
frontend/dist-report/posthog-app/src/scenes/groups/Group 23.2 kB
frontend/dist-report/posthog-app/src/scenes/groups/Groups 9.38 kB
frontend/dist-report/posthog-app/src/scenes/groups/GroupsNew 8.65 kB
frontend/dist-report/posthog-app/src/scenes/health-alerts/HealthAlertsScene 6.37 kB
frontend/dist-report/posthog-app/src/scenes/health/categoryDetail/HealthCategoryDetailScene 13.1 kB
frontend/dist-report/posthog-app/src/scenes/health/HealthScene 17 kB
frontend/dist-report/posthog-app/src/scenes/health/pipelineStatus/PipelineStatusScene 12.3 kB
frontend/dist-report/posthog-app/src/scenes/heatmaps/scenes/heatmap/HeatmapNewScene 6.41 kB
frontend/dist-report/posthog-app/src/scenes/heatmaps/scenes/heatmap/HeatmapRecordingScene 5.15 kB
frontend/dist-report/posthog-app/src/scenes/heatmaps/scenes/heatmap/HeatmapScene 8 kB
frontend/dist-report/posthog-app/src/scenes/heatmaps/scenes/heatmaps/HeatmapsScene 5.23 kB
frontend/dist-report/posthog-app/src/scenes/hog-functions/HogFunctionScene 60.5 kB
frontend/dist-report/posthog-app/src/scenes/hog-functions/misc/Diff 1.35 kB
frontend/dist-report/posthog-app/src/scenes/inbox/InboxScene 181 kB
frontend/dist-report/posthog-app/src/scenes/insights/InsightQuickStart/InsightQuickStart 8.16 kB
frontend/dist-report/posthog-app/src/scenes/insights/InsightScene 40.8 kB
frontend/dist-report/posthog-app/src/scenes/insights/views/BoxPlot/BoxPlot 6.67 kB
frontend/dist-report/posthog-app/src/scenes/insights/views/CalendarHeatMap/CalendarHeatMap 9.26 kB
frontend/dist-report/posthog-app/src/scenes/insights/views/RegionMap/RegionMap 30.8 kB
frontend/dist-report/posthog-app/src/scenes/insights/views/WorldMap/WorldMap 6.2 kB
frontend/dist-report/posthog-app/src/scenes/instance/AsyncMigrations/AsyncMigrations 14.3 kB
frontend/dist-report/posthog-app/src/scenes/instance/DeadLetterQueue/DeadLetterQueue 6.71 kB
frontend/dist-report/posthog-app/src/scenes/instance/QueryPerformance/QueryPerformance 9.95 kB
frontend/dist-report/posthog-app/src/scenes/instance/SystemStatus/SystemStatus 18.2 kB
frontend/dist-report/posthog-app/src/scenes/integrations/IntegrationsLandingScene 1.67 kB
frontend/dist-report/posthog-app/src/scenes/IntegrationsRedirect/IntegrationsRedirect 955 B
frontend/dist-report/posthog-app/src/scenes/marketing-analytics/MarketingAnalyticsScene 46.7 kB
frontend/dist-report/posthog-app/src/scenes/max/Max 20.1 kB
frontend/dist-report/posthog-app/src/scenes/models/ModelsScene 19.6 kB
frontend/dist-report/posthog-app/src/scenes/models/NodeDetailScene 19.7 kB
frontend/dist-report/posthog-app/src/scenes/moveToPostHogCloud/MoveToPostHogCloud 4.5 kB
frontend/dist-report/posthog-app/src/scenes/new-tab/NewTabScene 2.76 kB
frontend/dist-report/posthog-app/src/scenes/notebooks/NotebookCanvasScene 12 kB
frontend/dist-report/posthog-app/src/scenes/notebooks/NotebookPanel/NotebookPanel 14 kB
frontend/dist-report/posthog-app/src/scenes/notebooks/NotebookScene 17.3 kB
frontend/dist-report/posthog-app/src/scenes/notebooks/NotebooksScene 8.76 kB
frontend/dist-report/posthog-app/src/scenes/oauth/OAuthAuthorize 810 B
frontend/dist-report/posthog-app/src/scenes/onboarding/coupon/OnboardingCouponRedemption 1.34 kB
frontend/dist-report/posthog-app/src/scenes/onboarding/Onboarding 781 kB
frontend/dist-report/posthog-app/src/scenes/onboarding/sdks/SdkHealthScene 9.18 kB
frontend/dist-report/posthog-app/src/scenes/organization/ConfirmOrganization/ConfirmOrganization 4.5 kB
frontend/dist-report/posthog-app/src/scenes/organization/Create/Create 704 B
frontend/dist-report/posthog-app/src/scenes/organization/Deactivated 1.17 kB
frontend/dist-report/posthog-app/src/scenes/organization/PendingDeletion 2.24 kB
frontend/dist-report/posthog-app/src/scenes/persons/PersonScene 28 kB
frontend/dist-report/posthog-app/src/scenes/persons/PersonsScene 11.6 kB
frontend/dist-report/posthog-app/src/scenes/PreflightCheck/PreflightCheck 5.57 kB
frontend/dist-report/posthog-app/src/scenes/product-tours/ProductTour 273 kB
frontend/dist-report/posthog-app/src/scenes/product-tours/ProductTours 6.04 kB
frontend/dist-report/posthog-app/src/scenes/project-homepage/ProjectHomepage 26.8 kB
frontend/dist-report/posthog-app/src/scenes/project/Create/Create 982 B
frontend/dist-report/posthog-app/src/scenes/project/PendingDeletion 2.6 kB
frontend/dist-report/posthog-app/src/scenes/resource-transfer/ResourceTransfer 10.6 kB
frontend/dist-report/posthog-app/src/scenes/saved-insights/SavedInsights 3.47 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/detail/SessionRecordingDetail 8.55 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/file-playback/SessionRecordingFilePlaybackScene 11.2 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/kiosk/SessionRecordingsKiosk 16.6 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/player/modal/SessionPlayerModal 8.26 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/player/snapshot-processing/DecompressionWorkerManager 323 B
frontend/dist-report/posthog-app/src/scenes/session-recordings/playlist/SessionRecordingsPlaylistScene 11.7 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/SessionRecordings 7.68 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/settings/SessionRecordingsSettingsScene 8.91 kB
frontend/dist-report/posthog-app/src/scenes/sessions/SessionProfileScene 21.7 kB
frontend/dist-report/posthog-app/src/scenes/settings/SettingsMap 6.62 kB
frontend/dist-report/posthog-app/src/scenes/settings/SettingsScene 9.86 kB
frontend/dist-report/posthog-app/src/scenes/sites/Site 1.57 kB
frontend/dist-report/posthog-app/src/scenes/startups/StartupProgram 21.1 kB
frontend/dist-report/posthog-app/src/scenes/StripeConfirmInstall/StripeConfirmInstall 3.7 kB
frontend/dist-report/posthog-app/src/scenes/subscriptions/SubscriptionScene 17.6 kB
frontend/dist-report/posthog-app/src/scenes/subscriptions/SubscriptionsScene 7.06 kB
frontend/dist-report/posthog-app/src/scenes/surveys/forms/SurveyFormBuilder 3.09 kB
frontend/dist-report/posthog-app/src/scenes/surveys/Survey 7.38 kB
frontend/dist-report/posthog-app/src/scenes/surveys/Surveys 27.8 kB
frontend/dist-report/posthog-app/src/scenes/surveys/wizard/SurveyWizard 69.8 kB
frontend/dist-report/posthog-app/src/scenes/themes/CustomCssScene 4.98 kB
frontend/dist-report/posthog-app/src/scenes/toolbar-launch/ToolbarLaunch 3.93 kB
frontend/dist-report/posthog-app/src/scenes/Unsubscribe/Unsubscribe 1.71 kB
frontend/dist-report/posthog-app/src/scenes/web-analytics/SessionAttributionExplorer/SessionAttributionExplorerScene 12.2 kB
frontend/dist-report/posthog-app/src/scenes/web-analytics/WebAnalyticsScene 20.3 kB
frontend/dist-report/posthog-app/src/scenes/wizard/Wizard 4.45 kB
frontend/dist-report/posthog-app/src/sharedChunkAnchors 1.33 kB
frontend/dist-report/render-query/src/render-query/render-query 25.4 MB
frontend/dist-report/toolbar/src/toolbar/toolbar 11.2 MB

compressed-size-action

@tests-posthog

tests-posthog Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

⏭️ Skipped snapshot commit because branch advanced to bd038b6 while workflow was testing 25f8d29.

The new commit will trigger its own snapshot update workflow.

If you expected this workflow to succeed: This can happen due to concurrent commits. To get a fresh workflow run, either:

  • Merge master into your branch, or
  • Push an empty commit: git commit --allow-empty -m 'trigger CI' && git push

@github-actions

github-actions Bot commented Jun 18, 2026 •

Copy link
Copy Markdown
Contributor

Migration SQL Changes

Hey πŸ‘‹, we've detected some migrations on this PR. Here's the SQL output for each migration, make sure they make sense:

products/warehouse_sources/backend/migrations/0028_externaldatasource_direct_query_enabled.py

BEGIN;
--
-- Add field direct_query_enabled to externaldatasource
--
ALTER TABLE "posthog_externaldatasource" ADD COLUMN "direct_query_enabled" boolean DEFAULT true NOT NULL;
ALTER TABLE "posthog_externaldatasource" ALTER COLUMN "direct_query_enabled" DROP DEFAULT;
COMMIT;

products/warehouse_sources/backend/migrations/0029_backfill_externaldatasource_direct_query_enabled.py

BEGIN;
--
-- Raw Python operation
--
-- THIS OPERATION CANNOT BE WRITTEN AS SQL
COMMIT;

Last updated: 2026-06-19 17:36 UTC (52a7cfa)

@github-actions

github-actions Bot commented Jun 18, 2026 •

Copy link
Copy Markdown
Contributor

πŸ” Migration Risk Analysis

We've analyzed your migrations for potential risks.

Summary: 1 Safe | 1 Needs Review | 0 Blocked

⚠️ Needs Review

May have performance impact

warehouse_sources.0029_backfill_externaldatasource_direct_query_enabled
  └─ #1 ⚠️ RunPython: RunPython data migration needs review for performance

βœ… Safe

Brief or no lock, backwards compatible

warehouse_sources.0028_externaldatasource_direct_query_enabled
  └─ #1 βœ… AddField
     Adding NOT NULL field with constant default (safe in PG11+)
     model: externaldatasource, field: direct_query_enabled

πŸ“š How to Deploy These Changes Safely

RunPython:

Use batching for large data migrations:

  • Use .iterator() to avoid loading all rows into memory
  • Use .bulk_update() instead of saving individual objects
  • Batch size: 1,000-10,000 rows per batch
  • Add pauses between batches
  • Consider background jobs for very large updates (millions of rows)

See the migration safety guide

Last updated: 2026-06-19 17:36 UTC (52a7cfa)

@tests-posthog

tests-posthog Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Query snapshots: Backend query snapshots updated

Changes: 2 snapshots (2 modified, 0 added, 0 deleted)

What this means:

  • Query snapshots have been automatically updated to match current output
  • These changes reflect modifications to database queries or schema

Next steps:

  • Review the query changes to ensure they're intentional
  • If unexpected, investigate what caused the query to change

Review snapshot changes β†’

danielcarletti and others added 6 commits June 18, 2026 17:46
Add a per-source `direct_query_enabled` boolean to ExternalDataSource so a
synced (warehouse) source can be marked live-queryable via direct connection.

The field is dormant: nothing reads it for enforcement yet, and existing synced
sources are backfilled disabled, so behavior is unchanged until a source is
explicitly enabled. Exposed (with help_text) on the create and detail/update
serializers β€” create honors it, PATCH toggles it β€” with regenerated
OpenAPI/frontend/MCP types.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The one-shot/MCP `setup` action couldn't opt a synced source out of direct
query at creation time β€” `SourceSetupSerializer` had no field, so it always
created with the default. Add the field and thread it through, matching the
create endpoint.

Also collapse the two create-path tests into one parameterized test.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Batch the 0025 backfill (filtered bulk update per chunk with pauses) so it never
holds row locks across the whole table at once, matching this app's existing
backfill convention.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Master added 0024_alter_externaldataschema_sync_type, colliding with the
direct_query_enabled migrations. Renumber them to 0025/0026 after it and
update the dependency chain, max_migration.txt, and the migration test.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@danielcarletti
danielcarletti force-pushed the claude/sad-poincare-d9b339 branch from 6cf6df3 to fb589b1 Compare June 18, 2026 21:50
…o avoid 0025 collision with master

Rename migrations 0025β†’0026 and 0026β†’0027 after master merged
0025_alter_externaldatasource_source_type_and_more; update dependencies
and max_migration.txt accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Comment on lines +1 to +17
# Generated by Django 5.2.14 on 2026-06-18 17:26

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("warehouse_sources", "0025_alter_externaldatasource_source_type_and_more"),
]

operations = [
migrations.AddField(
model_name="externaldatasource",
name="direct_query_enabled",
field=models.BooleanField(default=True),
),
]

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.

CRITICAL: Duplicate migration conflict

There are two migration files attempting to add the same direct_query_enabled field:

  • 0025_externaldatasource_direct_query_enabled.py (depends on 0024_alter_externaldataschema_sync_type)
  • 0026_externaldatasource_direct_query_enabled.py (depends on 0025_alter_externaldatasource_source_type_and_more)

Both migrations run AddField for the same column, which will cause a database error when the second one tries to add a column that already exists. This indicates a merge conflict from parallel migration branches that wasn't properly resolved.

Impact: Migrations will fail in production with "column already exists" error.

Fix: Remove the duplicate migration files and consolidate into a single migration sequence. Keep only one set:

# Keep 0025 that adds the field
# Keep 0026 that does the backfill
# Remove duplicate 0026 (add field) and 0027 (backfill)
Suggested change
# Generated by Django 5.2.14 on 2026-06-18 17:26
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("warehouse_sources", "0025_alter_externaldatasource_source_type_and_more"),
]
operations = [
migrations.AddField(
model_name="externaldatasource",
name="direct_query_enabled",
field=models.BooleanField(default=True),
),
]
# Generated by Django 5.2.14 on 2026-06-18 17:26
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("warehouse_sources", "0025_alter_externaldatasource_source_type_and_more"),
("warehouse_sources", "0025_externaldatasource_direct_query_enabled"),
]
operations = [
]

Spotted by Graphite

Fix in Graphite


Is this helpful? React πŸ‘ or πŸ‘Ž to let us know.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed β€” the duplicate 0025_externaldatasource_direct_query_enabled.py and 0026_backfill files have been deleted; the migration chain is now 0025_alter_externaldatasource_source_type_and_more -> 0026_externaldatasource_direct_query_enabled -> 0027_backfill_externaldatasource_direct_query_enabled.

…merge conflict resolution

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Comment on lines +12 to +13
migrate_from = "0025_externaldatasource_direct_query_enabled"
migrate_to = "0026_backfill_externaldatasource_direct_query_enabled"

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.

Migration test references non-existent migration names. The test will fail to run because these migration files don't exist.

The actual migrations are:

  • 0026_externaldatasource_direct_query_enabled (adds the field)
  • 0027_backfill_externaldatasource_direct_query_enabled (backfills)

But the test references:

  • 0025_externaldatasource_direct_query_enabled (doesn't exist)
  • 0026_backfill_externaldatasource_direct_query_enabled (doesn't exist)

Fix:

migrate_from = "0026_externaldatasource_direct_query_enabled"
migrate_to = "0027_backfill_externaldatasource_direct_query_enabled"
Suggested change
migrate_from = "0025_externaldatasource_direct_query_enabled"
migrate_to = "0026_backfill_externaldatasource_direct_query_enabled"
migrate_from = "0026_externaldatasource_direct_query_enabled"
migrate_to = "0027_backfill_externaldatasource_direct_query_enabled"

Spotted by Graphite

Fix in Graphite


Is this helpful? React πŸ‘ or πŸ‘Ž to let us know.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed β€” migrate_from and migrate_to updated to reference the renumbered migrations 0026 and 0027.

danielcarletti and others added 6 commits June 19, 2026 11:28
…grations 0026/0027

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…eld list test

Test was asserting the serializer field list but missed the new
direct_query_enabled field added by this PR.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…r merge

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
danielcarletti and others added 2 commits June 19, 2026 13:19
…ter_externaldatasource

Master landed 0026_alter_externaldatasource_source_type_and_more, causing
a leaf-node conflict with our 0026_externaldatasource_direct_query_enabled.
Renumber:
  0026_externaldatasource_direct_query_enabled  β†’ 0027
  0027_backfill_externaldatasource_direct_query_enabled β†’ 0028

Also updates max_migration.txt and the migration test references.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…-d9b339

# Conflicts:
#	products/warehouse_sources/backend/migrations/max_migration.txt
@danielcarletti
danielcarletti merged commit 47196fa into master Jun 19, 2026
309 of 312 checks passed
@danielcarletti
danielcarletti deleted the claude/sad-poincare-d9b339 branch June 19, 2026 18:19
fuziontech added a commit that referenced this pull request Jun 19, 2026
…fill-admin

* origin/master: (203 commits)
  fix(experiments): add missing event properties to the backend events on the recalculation workflow. (#64923)
  refactor(capture): decouple v1 RequestContext from analytics Context (#64184)
  feat(data-warehouse): add direct_query_enabled toggle to data sources (#64685)
  feat(data-warehouse): persist duckling bucket on DuckgresServer (#64919)
  fix(dev): strip read-denied $HOME dirs from sandbox PATH (#64768)
  fix(mcp-analytics): keep muted text readable inside quill subtrees (#64898)
  feat(skills): add Scouts tab backed by a generic skill category (#64796)
  fix(ducklake): make get_instance_region a lazy import in common helpers (#64913)
  fix(replay-vision): drop vestigial scanner_type from VisionAction selection (#64737)
  feat(warehouse): add xmin read path for postgres source (#64721)
  feat(warehouse): add per-table xmin sync radio (flag-gated) (#64718)
  feat(warehouse): validate xmin sync type and surface availability (#64723)
  fix(data-warehouse): CDC improvements β€” fix dead orphan-slot sweeper (#64725)
  feat(data-warehouse): scaffold Razorpay source (#64484)
  fix(dags): read duckling backfill bucket from stored catalog (#64909)
  feat(inbox): add archived tab with restore (#64876)
  feat(signals): surface a banner when inbox filters are active (#64811)
  fix(lemon-dialog): isolate nested form dialogs with unique kea logic keys (#62113)
  feat(session-replay): show event triggers on mobile replay settings tab (#64859)
  fix(preflight): restore kafka connectivity probe (#58743)
  ...
@deployment-status-posthog

deployment-status-posthog Bot commented Jun 19, 2026 •

Copy link
Copy Markdown

Deploy status

Environment Status Deployed At Workflow
dev βœ… Deployed 2026-06-19 19:04 UTC Run
prod-us βœ… Deployed 2026-06-19 19:22 UTC Run
prod-eu βœ… Deployed 2026-06-19 19:23 UTC Run

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants