: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
chore(aio): remove the instrumentation checklist feature flag (#115122)
posthog[bot]1e26e46a17dd
diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsxindex 11ee6597726e..ff7154dc75ca 100644--- a/frontend/src/lib/constants.tsx+++ b/frontend/src/lib/constants.tsx@@ -199,7 +199,6 @@ export const FEATURE_FLAGS = {ACCESS_CONTROL_DETAIL_PANEL: 'access-control-detail-panel', // owner: @a-lider #team-platform-features, gates the member and role access detail side panelACCESS_CONTROL_RESOLUTION_PREVIEW: 'access-control-resolution-preview', // owner: @a-lider #team-platform-features, gates the access resolution preview settings section and its bannerAEO_CITATION_TRACKING: 'aeo-citation-tracking', // owner: @lricoy #team-web-analytics, gates the AEO citation-tracking POC (products/aeo) runner and any future readout UI- AI_OBSERVABILITY_INSTRUMENTATION_CHECKLIST: 'ai-observability-instrumentation-checklist', // owner: #team-ai-observability, gates the instrumentation checklist card and empty statesAI_OBSERVABILITY_SELF_DRIVING: 'ai-observability-daily-digest-scout', // owner: #team-ai-observability, gates the AI observability Self-driving tabAUDIT_LOGS_ACCESS: 'audit-logs-access', // owner: #team-platform-features, used to control access to audit logsBATCH_EXPORT_ALERTS: 'batch-export-alerts', // owner: #team-batch-exportsdiff --git a/products/ai_observability/frontend/AIObservabilitySessionsEmptyState.stories.tsx b/products/ai_observability/frontend/AIObservabilitySessionsEmptyState.stories.tsxindex c04915cdba84..a078b9ced68b 100644--- a/products/ai_observability/frontend/AIObservabilitySessionsEmptyState.stories.tsx+++ b/products/ai_observability/frontend/AIObservabilitySessionsEmptyState.stories.tsx@@ -1,7 +1,5 @@import type { Meta, StoryObj } from '@storybook/react'-import { FEATURE_FLAGS } from 'lib/constants'-import { useStorybookMocks } from '~/mocks/browser'import { AIObservabilitySessionsEmptyState } from './AIObservabilitySessionsEmptyState'@@ -33,7 +31,6 @@ function checklistWith(status: InstrumentationCheckStatusEnumApi): Instrumentaticonst meta: Meta<{ status: InstrumentationCheckStatusEnumApi }> = {title: 'Scenes-App/AI observability/Sessions empty state',parameters: {- featureFlags: [FEATURE_FLAGS.AI_OBSERVABILITY_INSTRUMENTATION_CHECKLIST],testOptions: { waitForLoadersToDisappear: false },},render: ({ status }) => {diff --git a/products/ai_observability/frontend/AIObservabilitySessionsEmptyState.test.tsx b/products/ai_observability/frontend/AIObservabilitySessionsEmptyState.test.tsxindex b9343272a933..093efcf69b1e 100644--- a/products/ai_observability/frontend/AIObservabilitySessionsEmptyState.test.tsx+++ b/products/ai_observability/frontend/AIObservabilitySessionsEmptyState.test.tsx@@ -1,9 +1,6 @@import { cleanup, render, screen } from '@testing-library/react'import { expectLogic } from 'kea-test-utils'-import { FEATURE_FLAGS } from 'lib/constants'-import { featureFlagLogic } from 'lib/logic/featureFlagLogic'-import { initKeaTests } from '~/test/init'import { AnyPropertyFilter, PropertyFilterType, PropertyOperator } from '~/types'@@ -69,10 +66,6 @@ describe('AIObservabilitySessionsEmptyState', () => {mockHasRecentAIEvents.mockResolvedValue(true)mockRetrieve.mockResolvedValue(checklistWith(InstrumentationCheckStatusEnumApi.Warning))initKeaTests()- featureFlagLogic.mount()- featureFlagLogic.actions.setFeatureFlags([], {- [FEATURE_FLAGS.AI_OBSERVABILITY_INSTRUMENTATION_CHECKLIST]: true,- })sharedLogic = aiObservabilitySharedLogic()sharedLogic.mount()checklistLogic = instrumentationChecklistLogic()@@ -84,7 +77,6 @@ describe('AIObservabilitySessionsEmptyState', () => {cleanup()checklistLogic.unmount()sharedLogic.unmount()- featureFlagLogic.unmount()})it('names the missing instrumentation on an unfiltered view', () => {diff --git a/products/ai_observability/frontend/AIObservabilityTraceScene.stories.tsx b/products/ai_observability/frontend/AIObservabilityTraceScene.stories.tsxindex b7480a9f389a..cf6c19e81c6b 100644--- a/products/ai_observability/frontend/AIObservabilityTraceScene.stories.tsx+++ b/products/ai_observability/frontend/AIObservabilityTraceScene.stories.tsx@@ -1,7 +1,6 @@import type { Meta, StoryObj } from '@storybook/react'import { router } from 'kea-router'-import { FEATURE_FLAGS } from 'lib/constants'import { useOnMountEffect } from 'lib/hooks/useOnMountEffect'import { urls } from 'scenes/urls'@@ -85,9 +84,6 @@ export const MissingSpanInstrumentation: Story = {args: {trace: traceWithoutContent,},- parameters: {- featureFlags: [FEATURE_FLAGS.AI_OBSERVABILITY_INSTRUMENTATION_CHECKLIST],- },decorators: [mswDecorator({get: {diff --git a/products/ai_observability/frontend/instrumentationChecklist/InstrumentationChecklistCard.stories.tsx b/products/ai_observability/frontend/instrumentationChecklist/InstrumentationChecklistCard.stories.tsxindex 2fbe77534049..16cb6c3e82d3 100644--- a/products/ai_observability/frontend/instrumentationChecklist/InstrumentationChecklistCard.stories.tsx+++ b/products/ai_observability/frontend/instrumentationChecklist/InstrumentationChecklistCard.stories.tsx@@ -1,7 +1,5 @@import type { Meta, StoryObj } from '@storybook/react'-import { FEATURE_FLAGS } from 'lib/constants'-import { mswDecorator } from '~/mocks/browser'import {@@ -197,7 +195,6 @@ const meta: Meta<typeof InstrumentationChecklistCard> = {title: 'Scenes-App/AI observability/Instrumentation checklist card',parameters: {layout: 'padded',- featureFlags: [FEATURE_FLAGS.AI_OBSERVABILITY_INSTRUMENTATION_CHECKLIST],},}export default meta@@ -259,7 +256,6 @@ export const Collecting: Story = {export const FirstLoad: Story = {parameters: {layout: 'padded',- featureFlags: [FEATURE_FLAGS.AI_OBSERVABILITY_INSTRUMENTATION_CHECKLIST],// The card holds its header until the read answers, so this story never settles.testOptions: { waitForLoadersToDisappear: false },},diff --git a/products/ai_observability/frontend/instrumentationChecklist/InstrumentationChecklistCard.test.tsx b/products/ai_observability/frontend/instrumentationChecklist/InstrumentationChecklistCard.test.tsxindex 165a976bb513..5c5f8bb0a92a 100644--- a/products/ai_observability/frontend/instrumentationChecklist/InstrumentationChecklistCard.test.tsx+++ b/products/ai_observability/frontend/instrumentationChecklist/InstrumentationChecklistCard.test.tsx@@ -5,9 +5,6 @@ import userEvent from '@testing-library/user-event'import { Provider } from 'kea'import { expectLogic } from 'kea-test-utils'-import { FEATURE_FLAGS } from 'lib/constants'-import { featureFlagLogic } from 'lib/logic/featureFlagLogic'-import { initKeaTests } from '~/test/init'import {@@ -105,10 +102,6 @@ describe('InstrumentationChecklistCard', () => {// Module state by design, so it outlives an unmount and would carry one case into the next.clearCachedChecklistVerdict()initKeaTests()- featureFlagLogic.mount()- featureFlagLogic.actions.setFeatureFlags([], {- [FEATURE_FLAGS.AI_OBSERVABILITY_INSTRUMENTATION_CHECKLIST]: true,- })})afterEach(() => {@@ -142,17 +135,6 @@ describe('InstrumentationChecklistCard', () => {expect(panel()).toHaveAttribute('aria-expanded', 'true')})- const noVerdictCases: [string, () => void][] = [- [- 'the feature flag is off',- () =>- featureFlagLogic.actions.setFeatureFlags([], {- [FEATURE_FLAGS.AI_OBSERVABILITY_INSTRUMENTATION_CHECKLIST]: false,- }),- ],- ['the read failed', () => mockRetrieve.mockRejectedValue({ status: 500 })],- ]-it('holds its header while the first read runs, rather than a skeleton', async () => {mockRetrieve.mockReturnValue(new Promise(() => {}))renderCard()@@ -162,8 +144,8 @@ describe('InstrumentationChecklistCard', () => {expect(document.querySelector('.LemonSkeleton')).not.toBeInTheDocument()})- it.each(noVerdictCases)('renders nothing, not a skeleton, while %s', async (_, arrange) => {- arrange()+ it('renders nothing, not a skeleton, when the read failed', async () => {+ mockRetrieve.mockRejectedValue({ status: 500 })renderCard()await expectLogic(instrumentationChecklistLogic).toFinishAllListeners()diff --git a/products/ai_observability/frontend/instrumentationChecklist/TraceStructureNote.test.tsx b/products/ai_observability/frontend/instrumentationChecklist/TraceStructureNote.test.tsxindex 3383185c7ab7..f08d0100082e 100644--- a/products/ai_observability/frontend/instrumentationChecklist/TraceStructureNote.test.tsx+++ b/products/ai_observability/frontend/instrumentationChecklist/TraceStructureNote.test.tsx@@ -1,9 +1,6 @@import { cleanup, render, screen } from '@testing-library/react'import { expectLogic } from 'kea-test-utils'-import { FEATURE_FLAGS } from 'lib/constants'-import { featureFlagLogic } from 'lib/logic/featureFlagLogic'-import { LLMTraceEvent } from '~/queries/schema/schema-general'import { initKeaTests } from '~/test/init'import { AnyPropertyFilter, PropertyFilterType, PropertyOperator } from '~/types'@@ -75,10 +72,6 @@ describe('TraceStructureNote', () => {mockHasRecentAIEvents.mockResolvedValue(true)mockRetrieve.mockResolvedValue(checklistWith(InstrumentationCheckStatusEnumApi.Warning))initKeaTests()- featureFlagLogic.mount()- featureFlagLogic.actions.setFeatureFlags([], {- [FEATURE_FLAGS.AI_OBSERVABILITY_INSTRUMENTATION_CHECKLIST]: true,- })sharedLogic = aiObservabilitySharedLogic()sharedLogic.mount()checklistLogic = instrumentationChecklistLogic()@@ -90,7 +83,6 @@ describe('TraceStructureNote', () => {cleanup()checklistLogic.unmount()sharedLogic.unmount()- featureFlagLogic.unmount()})// The list surfaces drop their verdict once a filter is on, since a filter can explain an emptydiff --git a/products/ai_observability/frontend/instrumentationChecklist/instrumentationChecklistLogic.test.ts b/products/ai_observability/frontend/instrumentationChecklist/instrumentationChecklistLogic.test.tsindex a698617fc051..484ffd808e3d 100644--- a/products/ai_observability/frontend/instrumentationChecklist/instrumentationChecklistLogic.test.ts+++ b/products/ai_observability/frontend/instrumentationChecklist/instrumentationChecklistLogic.test.ts@@ -1,8 +1,6 @@import { expectLogic } from 'kea-test-utils'-import { FEATURE_FLAGS } from 'lib/constants'import { lemonToast } from 'lib/lemon-ui/LemonToast/LemonToast'-import { featureFlagLogic } from 'lib/logic/featureFlagLogic'import { initKeaTests } from '~/test/init'@@ -69,12 +67,6 @@ const ALL_OK = buildChecklist(describe('instrumentationChecklistLogic', () => {let logic: ReturnType<typeof instrumentationChecklistLogic.build>- function setFlag(enabled: boolean): void {- featureFlagLogic.actions.setFeatureFlags([], {- [FEATURE_FLAGS.AI_OBSERVABILITY_INSTRUMENTATION_CHECKLIST]: enabled,- })- }-beforeEach(() => {jest.clearAllMocks()// The verdict cache is module state, so it outlives a logic unmount by design and would@@ -82,13 +74,10 @@ describe('instrumentationChecklistLogic', () => {clearCachedChecklistVerdict()mockRetrieve.mockResolvedValue(ALL_OK)initKeaTests()- featureFlagLogic.mount()- setFlag(true)})afterEach(() => {logic?.unmount()- featureFlagLogic.unmount()})it('reuses a fresh verdict instead of refetching on every remount', async () => {@@ -125,44 +114,6 @@ describe('instrumentationChecklistLogic', () => {expect(logic.values.windowDays).toBe(30)})- it('makes no request while the feature flag is off', async () => {- setFlag(false)- logic = instrumentationChecklistLogic()- logic.mount()-- await expectLogic(logic).toFinishAllListeners()- expect(mockRetrieve).not.toHaveBeenCalled()- expect(logic.values.checklist).toBeNull()- expect(logic.values.checklistCardState).toBe('hidden')- })-- it('loads once the feature flag arrives after mount', async () => {- setFlag(false)- logic = instrumentationChecklistLogic()- logic.mount()- await expectLogic(logic).toFinishAllListeners()-- setFlag(true)-- await expectLogic(logic).toDispatchActions(['loadInstrumentationChecklistSuccess'])- expect(mockRetrieve).toHaveBeenCalledTimes(1)- expect(logic.values.checklistCardState).toBe('passing')- })-- it('loads when the feature flag arrives in the same tick as mount', async () => {- setFlag(false)- logic = instrumentationChecklistLogic()- logic.mount()- // No awaiting: this is the cold-page ordering, where flags land while a mount-time load- // would still be in flight. A load started before the flag resolves returns null and blocks- // the retry, so the card would sit hidden behind a skeleton that never resolves.- setFlag(true)-- await expectLogic(logic).toDispatchActions(['loadInstrumentationChecklistSuccess'])- expect(mockRetrieve).toHaveBeenCalledTimes(1)- expect(logic.values.checklistCardState).toBe('passing')- })-it('leaves every consumer on generic copy when the request fails, with nothing surfaced', async () => {const toastError = jest.spyOn(lemonToast, 'error')mockRetrieve.mockRejectedValue({ status: 500, detail: 'Something broke' })@@ -292,28 +243,6 @@ describe('instrumentationChecklistLogic', () => {expect(logic.values.checklistCardState).toBe(expected)})- // A stopped rollout has to take the card and the empty-state overrides with it, including in- // tabs that are already open and on the load where localStorage replays the old flag set.- it('takes a loaded checklist back off screen when the flag goes off', async () => {- mockRetrieve.mockResolvedValue(- buildChecklist(- InstrumentationCheckStatusEnumApi.Warning,- InstrumentationCheckStatusEnumApi.Ok,- InstrumentationCheckStatusEnumApi.Ok,- InstrumentationCheckStatusEnumApi.Ok- )- )- logic = instrumentationChecklistLogic()- logic.mount()- await expectLogic(logic).toDispatchActions(['loadInstrumentationChecklistSuccess'])- expect(logic.values.checklistCardState).toBe('warnings')-- setFlag(false)-- expect(logic.values.checklistCardState).toBe('hidden')- expect(logic.values.warningForCheck(AIObservabilityInstrumentationCheckEnumApi.Sessions)).toBeNull()- })-it('only offers a check to an empty state when that check is warning', async () => {mockRetrieve.mockResolvedValue(buildChecklist(diff --git a/products/ai_observability/frontend/instrumentationChecklist/instrumentationChecklistLogic.ts b/products/ai_observability/frontend/instrumentationChecklist/instrumentationChecklistLogic.tsindex ae893b5c20ec..8091a00d358d 100644--- a/products/ai_observability/frontend/instrumentationChecklist/instrumentationChecklistLogic.ts+++ b/products/ai_observability/frontend/instrumentationChecklist/instrumentationChecklistLogic.ts@@ -1,9 +1,7 @@import { MakeLogicType, actions, afterMount, connect, kea, listeners, path, reducers, selectors } from 'kea'import { loaders } from 'kea-loaders'-import { FEATURE_FLAGS } from 'lib/constants'import { lemonToast } from 'lib/lemon-ui/LemonToast'-import { FeatureFlagsSet, featureFlagLogic } from 'lib/logic/featureFlagLogic'import { teamLogic } from 'scenes/teamLogic'import {@@ -22,7 +20,7 @@ import {/*** How loudly the dashboard card should present itself.*- * - `hidden`: nothing to say. The flag is off, or the request failed.+ * - `hidden`: nothing to say. The request failed.* - `checking`: the first read has not answered yet.* - `warnings`: at least one check is missing instrumentation.* - `collecting`: nothing has been graded yet, because every check the team still wants judged is@@ -49,12 +47,10 @@ export function clearCachedChecklistVerdict(): void {// Generated by kea-typegen. Update if you're an agent, ignore if you're human.export interface instrumentationChecklistLogicValues {- featureFlags: FeatureFlagsSet // featureFlagLogiccurrentTeamId: number | null // teamLogicchecklist: InstrumentationChecklistApi | nullchecklistBusy: booleanchecklistCardState: InstrumentationChecklistCardState- checklistEnabled: booleanchecklistLoading: booleanchecks: InstrumentationCheckApi[]lastLoadFailed: boolean@@ -66,13 +62,6 @@ export interface instrumentationChecklistLogicValues {// Generated by kea-typegen. Update if you're an agent, ignore if you're human.export interface instrumentationChecklistLogicActions {- setFeatureFlags: (- flags: string[],- variants: Record<string, boolean | string>- ) => {- flags: string[]- variants: Record<string, boolean | string>- } // featureFlagLogicdismissCheck: (check: AIObservabilityInstrumentationCheckEnumApi) => {check: AIObservabilityInstrumentationCheckEnumApi}@@ -87,12 +76,12 @@ export interface instrumentationChecklistLogicActions {errorObject?: any}loadInstrumentationChecklistSuccess: (- checklist: InstrumentationChecklistApi | null,+ checklist: InstrumentationChecklistApi,payload?: {refresh?: boolean}) => {- checklist: InstrumentationChecklistApi | null+ checklist: InstrumentationChecklistApipayload?: {refresh?: boolean}@@ -108,7 +97,6 @@ export interface instrumentationChecklistLogicActions {// Generated by kea-typegen. Update if you're an agent, ignore if you're human.export interface instrumentationChecklistLogicMeta {__keaTypeGenInternalSelectorTypes: {- checklistEnabled: (featureFlags: FeatureFlagsSet) => booleanchecks: (checklist: InstrumentationChecklistApi | null) => InstrumentationCheckApi[]windowDays: (checklist: InstrumentationChecklistApi | null) => number | nullchecklistBusy: (@@ -116,12 +104,10 @@ export interface instrumentationChecklistLogicMeta {pendingCheckKey: AIObservabilityInstrumentationCheckEnumApi | null) => booleanchecklistCardState: (- checklistEnabled: boolean,checks: InstrumentationCheckApi[],checklistLoading: boolean) => InstrumentationChecklistCardStatewarningForCheck: (- checklistEnabled: boolean,checks: InstrumentationCheckApi[]) => (key: AIObservabilityInstrumentationCheckEnumApi) => InstrumentationCheckApi | nullrefreshFailed: (checklist: InstrumentationChecklistApi | null, lastLoadFailed: boolean) => boolean@@ -140,9 +126,9 @@ export type instrumentationChecklistLogicType = MakeLogicType<* overrides and the trace-detail note all read their verdict from here.** Every failure mode collapses to the same shape: `checklistCardState` sits at 'hidden' and- * `warningForCheck` returns null, whether the flag is off, the request failed, or nothing has- * loaded yet. A consumer therefore needs one branch for "no checklist", and nothing here ever- * accuses a project of missing instrumentation on data it could not read.+ * `warningForCheck` returns null, whether the request failed or nothing has loaded yet. A consumer+ * therefore needs one branch for "no checklist", and nothing here ever accuses a project of+ * missing instrumentation on data it could not read.** Both write endpoints return the whole recomputed checklist, so a dismissal or a restore* installs its own response rather than triggering a second read.@@ -150,8 +136,7 @@ export type instrumentationChecklistLogicType = MakeLogicType<export const instrumentationChecklistLogic = kea<instrumentationChecklistLogicType>([path(['products', 'ai_observability', 'frontend', 'instrumentationChecklist', 'instrumentationChecklistLogic']),connect(() => ({- values: [featureFlagLogic, ['featureFlags'], teamLogic, ['currentTeamId']],- actions: [featureFlagLogic, ['setFeatureFlags']],+ values: [teamLogic, ['currentTeamId']],})),actions({dismissCheck: (check: AIObservabilityInstrumentationCheckEnumApi) => ({ check }),@@ -165,10 +150,7 @@ export const instrumentationChecklistLogic = kea<instrumentationChecklistLogicTyloadInstrumentationChecklist: async ({ refresh }: { refresh?: boolean } = {},breakpoint- ): Promise<InstrumentationChecklistApi | null> => {- if (!values.checklistEnabled) {- return null- }+ ): Promise<InstrumentationChecklistApi> => {const response = await aiObservabilityInstrumentationChecklistRetrieve(String(values.currentTeamId),{ refresh }@@ -197,11 +179,6 @@ export const instrumentationChecklistLogic = kea<instrumentationChecklistLogicTy],}),selectors({- checklistEnabled: [- (s) => [s.featureFlags],- (featureFlags: FeatureFlagsSet): boolean =>- !!featureFlags[FEATURE_FLAGS.AI_OBSERVABILITY_INSTRUMENTATION_CHECKLIST],- ],checks: [(s) => [s.checklist],(checklist: InstrumentationChecklistApi | null): InstrumentationCheckApi[] => checklist?.checks ?? [],@@ -216,15 +193,8 @@ export const instrumentationChecklistLogic = kea<instrumentationChecklistLogicTychecklistLoading || pendingCheckKey !== null,],checklistCardState: [- (s) => [s.checklistEnabled, s.checks, s.checklistLoading],- (- checklistEnabled: boolean,- checks: InstrumentationCheckApi[],- checklistLoading: boolean- ): InstrumentationChecklistCardState => {- if (!checklistEnabled) {- return 'hidden'- }+ (s) => [s.checks, s.checklistLoading],+ (checks: InstrumentationCheckApi[], checklistLoading: boolean): InstrumentationChecklistCardState => {if (checks.length === 0) {// A read that failed stays hidden rather than announcing itself, so nothing is// ever claimed about instrumentation we could not measure.@@ -244,19 +214,14 @@ export const instrumentationChecklistLogic = kea<instrumentationChecklistLogicTy},],warningForCheck: [- (s) => [s.checklistEnabled, s.checks],+ (s) => [s.checks],(- checklistEnabled: boolean,checks: InstrumentationCheckApi[]- ): ((key: AIObservabilityInstrumentationCheckEnumApi) => InstrumentationCheckApi | null) => {- if (!checklistEnabled) {- return () => null- }- return (key: AIObservabilityInstrumentationCheckEnumApi) =>+ ): ((key: AIObservabilityInstrumentationCheckEnumApi) => InstrumentationCheckApi | null) =>+ (key: AIObservabilityInstrumentationCheckEnumApi) =>checks.find((check) => check.key === key && check.status === InstrumentationCheckStatusEnumApi.Warning- ) ?? null- },+ ) ?? null,],// A failed first read stays invisible, so a retry is offered only for a refresh that// failed under a checklist already on screen. kea-loaders keeps the previous value on@@ -292,25 +257,11 @@ export const instrumentationChecklistLogic = kea<instrumentationChecklistLogicTy}return {- setFeatureFlags: () => {- // A staged-rollout flag is not part of the server-rendered app context, so on a- // cold load it only arrives after mount. Fetch then rather than waiting for the- // user to navigate.- if (values.checklistEnabled && values.checklist === null && !values.checklistLoading) {- actions.loadInstrumentationChecklist()- }- },dismissCheck: ({ check }) => writeCheck(check, aiObservabilityInstrumentationChecklistDismissCreate),restoreCheck: ({ check }) => writeCheck(check, aiObservabilityInstrumentationChecklistRestoreCreate),}}),afterMount(({ actions, values }) => {- // Loading before the flag resolves would hold `checklistLoading` true while the request- // short-circuits to null, and the setFeatureFlags listener would then skip its own retry,- // leaving the card hidden for good. On a cold page the flag arriving starts the first load.- if (!values.checklistEnabled) {- return- }if (cachedVerdict &&cachedVerdict.teamId === values.currentTeamId &&