From d7f98945a394fa96bc1a755bcc74e71ded885e9c Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Tue, 22 Jul 2025 14:34:27 +0200 Subject: [PATCH] chore: Lifecycle graphs flag (#10390) --- src/lib/types/experimental.ts | 7 ++++++- src/server-dev.ts | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index 11f89e5c51..1663c86a8e 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -65,7 +65,8 @@ export type IFlagKey = | 'changeRequestApproverEmails' | 'paygTrialEvents' | 'eventGrouping' - | 'paygInstanceStatsEvents'; + | 'paygInstanceStatsEvents' + | 'lifecycleGraphs'; export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>; @@ -302,6 +303,10 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_PAYG_INSTANCE_STATS_EVENTS, false, ), + lifecycleGraphs: parseEnvVarBoolean( + process.env.UNLEASH_EXPERIMENTAL_LIFECYCLE_GRAPHS, + false, + ), }; export const defaultExperimentalOptions: IExperimentalOptions = { diff --git a/src/server-dev.ts b/src/server-dev.ts index 2f0287fa68..4b9d10a5ff 100644 --- a/src/server-dev.ts +++ b/src/server-dev.ts @@ -59,6 +59,7 @@ process.nextTick(async () => { crDiffView: true, eventGrouping: true, paygTrialEvents: true, + lifecycleGraphs: true, }, }, authentication: {