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.

chore(replay-vision): graduate the send-reasoning flag (#88614)

Kim Svatos Dugan158f41b1b398
diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsx
index c34a0a023dc7..1029b22cc94e 100644
--- a/frontend/src/lib/constants.tsx
+++ b/frontend/src/lib/constants.tsx
@@ -485,7 +485,6 @@ export const FEATURE_FLAGS = {
REPLAY_VISION_ANALYSIS_NUDGE: 'replay-vision-analysis-nudge', // owner: #team-replay, in-player nudge offering an AI-drafted scanner after analyzing several recordings
REPLAY_VISION_MODEL_TIER_NAMING_EXPERIMENT: 'replay-vision-model-tier-naming-experiment', // owner: #team-replay multivariate=control,test,lite-standard-pro
REPLAY_VISION_SCOUT_DIGESTS: 'replay-vision-scout-digests', // owner: #team-replay, scanner digests backed by Signals scouts instead of vision actions
- REPLAY_VISION_SEND_REASONING: 'replay-vision-send-reasoning', // owner: #team-replay, gates the "include reasoning" checkbox on scanner alerts
REVAMPED_PY_NOTEBOOKS: 'revamped-py-notebooks', // owner: #team-data-tools
REVENUE_FIELDS_IN_POWER_USERS_TABLE: 'revenue-fields-in-power-users-table', // owner: @arthurdedeus #team-customer-analytics
REVIEW_HOG: 'review-hog', // owner: #team-devex, gates the Code review menu entry and scene (staff bypass the flag)
diff --git a/products/replay_vision/frontend/replay_scanners/ActionEditorScene.tsx b/products/replay_vision/frontend/replay_scanners/ActionEditorScene.tsx
index 07ed635f4ce3..cfe8ed5ebdeb 100644
--- a/products/replay_vision/frontend/replay_scanners/ActionEditorScene.tsx
+++ b/products/replay_vision/frontend/replay_scanners/ActionEditorScene.tsx
@@ -12,14 +12,12 @@ import {
} from '@posthog/lemon-ui'
import { IntegrationChoice } from 'lib/components/CyclotronJob/integrations/IntegrationChoice'
-import { FEATURE_FLAGS } from 'lib/constants'
import { integrationsLogic } from 'lib/integrations/integrationsLogic'
import { SlackChannelPicker, SlackNotConfiguredBanner } from 'lib/integrations/SlackIntegrationHelpers'
import { LemonField } from 'lib/lemon-ui/LemonField'
import { LemonSearchableSelect } from 'lib/lemon-ui/LemonSelect/LemonSearchableSelect'
import { LemonTextArea } from 'lib/lemon-ui/LemonTextArea/LemonTextArea'
import { Spinner } from 'lib/lemon-ui/Spinner'
-import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { timeZoneLabel } from 'lib/utils/timezones'
import { preflightLogic } from 'scenes/PreflightCheck/preflightLogic'
import { SceneExport } from 'scenes/sceneTypes'
@@ -415,7 +413,6 @@ function ConditionSection({ scannerId }: { scannerId: string }): JSX.Element {
const { actionForm, actionFormErrors } = useValues(actionEditorSceneLogic)
const { setActionFormValue } = useActions(actionEditorSceneLogic)
const { scanner } = useValues(replayScannerLogic({ id: scannerId }))
- const { featureFlags } = useValues(featureFlagLogic)
const everyMatch = actionForm.alert_frequency === AlertConfigFrequencyEnumApi.EveryMatch
const isScorer = scanner?.scanner_type === 'scorer'
@@ -532,14 +529,12 @@ function ConditionSection({ scannerId }: { scannerId: string }): JSX.Element {
{actionFormErrors?.min_score ? (
<span className="text-xs text-danger">{String(actionFormErrors.min_score)}</span>
) : null}
- {featureFlags[FEATURE_FLAGS.REPLAY_VISION_SEND_REASONING] ? (
- <LemonCheckbox
- checked={actionForm.alert_include_reasoning}
- onChange={(checked) => setActionFormValue('alert_include_reasoning', checked)}
- label="Include the observation's reasoning in the message"
- data-attr="vision-action-alert-include-reasoning"
- />
- ) : null}
+ <LemonCheckbox
+ checked={actionForm.alert_include_reasoning}
+ onChange={(checked) => setActionFormValue('alert_include_reasoning', checked)}
+ label="Include the observation's reasoning in the message"
+ data-attr="vision-action-alert-include-reasoning"
+ />
<span className="text-xs text-muted">
{everyMatch
? 'Checked every few minutes; each notification covers the new matches since the last check.'