Skip to content

: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.

Clean up feature flag experiment-cleanup-e2e-dummy after experiment 399195 (#78094)

posthog[bot]6dc37d8598cd
diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsx
index 5f4d752983b3..bddbeafc34d5 100644
--- a/frontend/src/lib/constants.tsx
+++ b/frontend/src/lib/constants.tsx
@@ -220,6 +220,7 @@ export const FEATURE_FLAGS = {
REPLAY_PLAYER_PERSON_SESSIONS_TAB: 'replay-player-person-sessions-tab', // owner: @ksvat #team-replay
REPLAY_SETTINGS_HELP: 'replay-settings-help', // owner: @veryayskiy #team-replay
REPLAY_TRIGGER_TYPE_CHOICE: 'replay-trigger-type-choice', // owner: @pauldambra #team-replay
+ SELF_DRIVING_QUOTA_ENFORCEMENT: 'self-driving-quota-enforcement', // owner: #team-self-driving, gates self-driving PR-limit enforcement (also checked server-side)
SESSION_REPLAY_BACKEND_LOGS: 'session-replay-backend-logs', // owner: #team-replay
SESSION_REPLAY_DOCTOR: 'session-replay-doctor', // owner: #team-replay
SETTINGS_BOUNCE_RATE_PAGE_VIEW_MODE: 'settings-bounce-rate-page-view-mode', // owner: #team-web-analytics
@@ -228,7 +229,6 @@ export const FEATURE_FLAGS = {
SETTINGS_SESSIONS_V2_JOIN: 'settings-sessions-v2-join', // owner: @robbie-c #team-web-analytics
SETTINGS_WEB_ANALYTICS_PRE_AGGREGATED_TABLES: 'web-analytics-pre-aggregated-tables', // owner: @lricoy #team-web-analytics
SIGNALS_PR_REFUNDS: 'signals-pr-refunds', // owner: #team-self-driving, gates the inbox PR refund flow (also checked server-side)
- SELF_DRIVING_QUOTA_ENFORCEMENT: 'self-driving-quota-enforcement', // owner: #team-self-driving, gates self-driving PR-limit enforcement (also checked server-side)
SLACK_APP_ASSISTANT: 'slack-app-assistant', // owner: @VojtechBartos #team-platform-features
SLACK_APP_OAUTH: 'slack-app-oauth', // owner: @VojtechBartos #team-platform-features
SLOPE_GRAPH_INSIGHT: 'slope-graph-insight', // owner: @pauldambra #team-product-analytics
@@ -310,7 +310,6 @@ export const FEATURE_FLAGS = {
ERROR_TRACKING_RELATED_ISSUES: 'error-tracking-related-issues', // owner: #team-error-tracking
ERROR_TRACKING_WEEKLY_DIGEST: 'error-tracking-weekly-digest', // owner: #team-error-tracking
EVENT_MEDIA_PREVIEWS: 'event-media-previews', // owner: @alexlider
- EXPERIMENT_CLEANUP_E2E_DUMMY: 'experiment-cleanup-e2e-dummy', // owner: @jurajmajerik #team-experiments multivariate=control,test, throwaway dogfood flag validating the flag-cleanup PR flow end to end
EXPERIMENT_FLAG_CLEANUP_PR: 'experiment-flag-cleanup-pr', // owner: @jurajmajerik #team-experiments
EXPERIMENT_RECORDINGS_TAB: 'experiment-recordings-tab', // owner: @mp-hog #team-experiments
EXPERIMENT_SESSION_REPLAYS_SKILL: 'experiment-session-replays-skill', // owner: @rodrigoi #team-experiments
diff --git a/frontend/src/scenes/experiments/Experiments.tsx b/frontend/src/scenes/experiments/Experiments.tsx
index 1d1739a499ac..8dee2bf7f707 100644
--- a/frontend/src/scenes/experiments/Experiments.tsx
+++ b/frontend/src/scenes/experiments/Experiments.tsx
@@ -13,7 +13,6 @@ import { MemberMultiSelect } from 'lib/components/MemberMultiSelect'
import { ProductIntroduction } from 'lib/components/ProductIntroduction/ProductIntroduction'
import { Shortcut } from 'lib/components/Shortcuts/Shortcut'
import { keyBinds } from 'lib/components/Shortcuts/shortcuts'
-import { FEATURE_FLAGS } from 'lib/constants'
import { dayjs } from 'lib/dayjs'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { More } from 'lib/lemon-ui/LemonButton/More'
@@ -24,7 +23,6 @@ import { LemonTable, LemonTableColumn, LemonTableColumns } from 'lib/lemon-ui/Le
import { atColumn, createdAtColumn, createdByColumn } from 'lib/lemon-ui/LemonTable/columnUtils'
import { LemonTableLink } from 'lib/lemon-ui/LemonTable/LemonTableLink'
import { LemonTabs } from 'lib/lemon-ui/LemonTabs'
-import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { addProductIntentForCrossSell } from 'lib/utils/product-intents'
import { pluralize } from 'lib/utils/strings'
import stringWithWBR from 'lib/utils/stringWithWBR'
@@ -69,12 +67,6 @@ import { SharedMetrics } from './SharedMetrics/SharedMetrics'
const HedgehogExperiment = pngHoggie(experimentPng)
-// Renders nothing on purpose: throwaway code that exists only so the experiment-cleanup-e2e-dummy
-// flag has references in the repo for the flag-cleanup PR flow to remove.
-const CleanupDummyExperiment = (): JSX.Element | null => {
- return null
-}
-
export const scene: SceneExport = {
component: Experiments,
logic: experimentsLogic,
@@ -568,10 +560,6 @@ const ExperimentsTable = ({
export function Experiments(): JSX.Element {
const { tab } = useValues(experimentsLogic)
const { setExperimentsTab, loadExperiments } = useActions(experimentsLogic)
- const { featureFlags } = useValues(featureFlagLogic)
-
- const cleanupDummyTestVariant = featureFlags[FEATURE_FLAGS.EXPERIMENT_CLEANUP_E2E_DUMMY] === 'test'
-
const [duplicateModalExperiment, setDuplicateModalExperiment] = useState<Experiment | null>(null)
const [copyToProjectModalExperiment, setCopyToProjectModalExperiment] = useState<Experiment | null>(null)
const [surveyModalExperiment, setSurveyModalExperiment] = useState<Experiment | null>(null)
@@ -650,7 +638,6 @@ export function Experiments(): JSX.Element {
) : undefined
}
/>
- {cleanupDummyTestVariant && <CleanupDummyExperiment />}
<LemonTabs
activeKey={tab}
onChange={(newKey) => setExperimentsTab(newKey)}