From 3fffe941c50d3075d95f1e094fcabfcbedca7848 Mon Sep 17 00:00:00 2001 From: "unleash-bot[bot]" <194219037+unleash-bot[bot]@users.noreply.github.com> Date: Thu, 21 Aug 2025 15:07:44 +0200 Subject: [PATCH] chore(AI): paygTrialEvents flag cleanup (#10508) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR cleans up the paygTrialEvents flag. These changes were automatically generated by AI and should be reviewed carefully. Fixes #10506 ## ๐Ÿงน AI Flag Cleanup Summary The `paygTrialEvents` feature flag has been removed from the codebase. Since no conditional logic using this flag was found in this repository, only the flag's definition and configuration were removed. โš ๏ธ **Warning:** No conditional logic for this flag was found in the provided files. The logic may exist in another repository. ### ๐Ÿšฎ Removed - **Configuration** - Removed `paygTrialEvents` from the `IFlagKey` type in `src/lib/types/experimental.ts`. - Removed the `paygTrialEvents` flag definition from `src/lib/types/experimental.ts`. - Removed `paygTrialEvents` from the development server configuration in `src/server-dev.ts`. ### ๐Ÿ›  Kept - **Feature** - The `paygTrialEvents` feature is considered enabled by default now. ### ๐Ÿ“ Why The feature flag `paygTrialEvents` was marked as completed with an outcome of "kept". The cleanup involves removing the flag and its related definitions. Co-authored-by: unleash-bot <194219037+unleash-bot[bot]@users.noreply.github.com> Co-authored-by: Thomas Heartman --- src/lib/types/experimental.ts | 5 ----- src/server-dev.ts | 1 - 2 files changed, 6 deletions(-) diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index 9790f7458a..190d94ee58 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -57,7 +57,6 @@ export type IFlagKey = | 'customMetrics' | 'impactMetrics' | 'changeRequestApproverEmails' - | 'paygTrialEvents' | 'paygInstanceStatsEvents' | 'lifecycleGraphs' | 'addConfiguration' @@ -267,10 +266,6 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_IMPACT_METRICS, false, ), - paygTrialEvents: parseEnvVarBoolean( - process.env.UNLEASH_EXPERIMENTAL_PAYG_TRIAL_EVENTS, - false, - ), paygInstanceStatsEvents: parseEnvVarBoolean( process.env.UNLEASH_EXPERIMENTAL_PAYG_INSTANCE_STATS_EVENTS, false, diff --git a/src/server-dev.ts b/src/server-dev.ts index 7574ce6363..497fb0773b 100644 --- a/src/server-dev.ts +++ b/src/server-dev.ts @@ -54,7 +54,6 @@ process.nextTick(async () => { reportUnknownFlags: true, customMetrics: true, impactMetrics: true, - paygTrialEvents: true, lifecycleGraphs: true, addConfiguration: true, projectListViewToggle: true,