:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(data-warehouse): promote Supabase source from beta to GA (#63086)
Daniel RCa6f2632ac441
diff --git a/frontend/src/scenes/data-pipelines/utils/nonHogFunctionTemplatesLogic.tsx b/frontend/src/scenes/data-pipelines/utils/nonHogFunctionTemplatesLogic.tsxindex 140f7728fbcc..85e7db3332e5 100644--- a/frontend/src/scenes/data-pipelines/utils/nonHogFunctionTemplatesLogic.tsx+++ b/frontend/src/scenes/data-pipelines/utils/nonHogFunctionTemplatesLogic.tsx@@ -80,7 +80,7 @@ export const nonHogFunctionTemplatesLogic = kea<nonHogFunctionTemplatesLogicType// featureFlagLogic only exposes truthy flags, so an undefined lookup means the// gate is closed for this user. Without this coercion, getSourceDisplayStatus// falls back to `unreleasedSource` and any flagged-but-not-unreleased source- // (plain, supabase) would render as connectable instead of "Notify me".+ // (e.g. plain) would render as connectable instead of "Notify me".const featureFlagValue: boolean | undefined = featureFlagDefined ? !!featureFlagRaw : undefinedconst unreleasedValue = !!connector.unreleasedSourceconst { status, descriptionEl } = getSourceDisplayStatus(unreleasedValue, featureFlagValue)diff --git a/posthog/temporal/data_imports/sources/supabase/source.py b/posthog/temporal/data_imports/sources/supabase/source.pyindex 3ce384db1368..b7109f6942f9 100644--- a/posthog/temporal/data_imports/sources/supabase/source.py+++ b/posthog/temporal/data_imports/sources/supabase/source.py@@ -3,6 +3,7 @@ from typing import Optionalfrom posthog.schema import (ExternalDataSourceType as SchemaExternalDataSourceType,+ ReleaseStatus,SourceConfig,SourceFieldFileUploadConfig,SourceFieldInputConfig,@@ -72,8 +73,7 @@ class SupabaseSource(PostgresSource):caption="Enter your Supabase credentials to automatically pull your data into the PostHog Data warehouse",docsUrl="https://posthog.com/tutorials/supabase-query",fields=fields,- releaseStatus="beta",- featureFlag="supabase-dwh",+ releaseStatus=ReleaseStatus.GA,)def validate_credentials(diff --git a/posthog/temporal/data_imports/sources/supabase/test_supabase_source.py b/posthog/temporal/data_imports/sources/supabase/test_supabase_source.pyindex 47336cdb11e5..9ec6c3c4e77d 100644--- a/posthog/temporal/data_imports/sources/supabase/test_supabase_source.py+++ b/posthog/temporal/data_imports/sources/supabase/test_supabase_source.py@@ -1,7 +1,7 @@import pytestfrom unittest import mock-from posthog.schema import SourceFieldInputConfig+from posthog.schema import ReleaseStatus, SourceFieldInputConfigfrom posthog.temporal.data_imports.sources.postgres.source import PostgresSourcefrom posthog.temporal.data_imports.sources.supabase.source import SupabaseSource@@ -23,6 +23,14 @@ def test_supabase_requires_schema_field():assert schema_field.caption is None+def test_supabase_is_generally_available():+ config = SupabaseSource().get_source_config++ assert config.releaseStatus == ReleaseStatus.GA+ # GA means generally available — no gating flag should hide the source from users.+ assert config.featureFlag is None++def test_supabase_host_field_points_at_the_pooler():host_field = _field("host")