Verified Commit fc28909d authored by Andrei Zubov's avatar Andrei Zubov Committed by GitLab
Browse files

feat: remove ai_duo_agent_platform_ga_rollout feature flag

parent 17e781a5
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
      "license": "MIT",
      "dependencies": {
        "@anycable/core": "^0.9.2",
        "@gitlab-org/gitlab-lsp": "^8.66.0",
        "@gitlab-org/gitlab-lsp": "^8.67.0",
        "@gitlab/needle": "2.0.0",
        "@snowplow/tracker-core": "4.6.8",
        "cross-fetch": "^4.1.0",
@@ -3198,9 +3198,9 @@
      }
    },
    "node_modules/@gitlab-org/gitlab-lsp": {
      "version": "8.66.0",
      "resolved": "https://gitlab.com/api/v4/projects/46519181/packages/npm/@gitlab-org/gitlab-lsp/-/@gitlab-org/gitlab-lsp-8.66.0.tgz",
      "integrity": "sha1-UQzSIWq8efDsirImr1o0aSx7nTc=",
      "version": "8.67.0",
      "resolved": "https://gitlab.com/api/v4/projects/46519181/packages/npm/@gitlab-org/gitlab-lsp/-/@gitlab-org/gitlab-lsp-8.67.0.tgz",
      "integrity": "sha1-l5NXCkC9pOjwAcNBI8lllcW3I5Y=",
      "hasInstallScript": true,
      "dependencies": {
        "@anycable/core": "^0.9.2",
@@ -29082,9 +29082,9 @@
      }
    },
    "@gitlab-org/gitlab-lsp": {
      "version": "8.66.0",
      "resolved": "https://gitlab.com/api/v4/projects/46519181/packages/npm/@gitlab-org/gitlab-lsp/-/@gitlab-org/gitlab-lsp-8.66.0.tgz",
      "integrity": "sha1-UQzSIWq8efDsirImr1o0aSx7nTc=",
      "version": "8.67.0",
      "resolved": "https://gitlab.com/api/v4/projects/46519181/packages/npm/@gitlab-org/gitlab-lsp/-/@gitlab-org/gitlab-lsp-8.67.0.tgz",
      "integrity": "sha1-l5NXCkC9pOjwAcNBI8lllcW3I5Y=",
      "requires": {
        "@anycable/core": "^0.9.2",
        "@asteasolutions/zod-to-openapi": "^7.3.4",
+1 −1
Original line number Diff line number Diff line
@@ -623,7 +623,7 @@
  },
  "dependencies": {
    "@anycable/core": "^0.9.2",
    "@gitlab-org/gitlab-lsp": "^8.66.0",
    "@gitlab-org/gitlab-lsp": "^8.67.0",
    "@gitlab/needle": "2.0.0",
    "@snowplow/tracker-core": "4.6.8",
    "cross-fetch": "^4.1.0",
+0 −11
Original line number Diff line number Diff line
import {
  AGENT_PLATFORM,
  AGENT_PLATFORM_GA_ROLLOUT,
  AGENTIC_CHAT,
  AUTHENTICATION,
  CHAT,
@@ -128,11 +127,6 @@ const createMockState = (engaged: boolean): AllFeaturesState => {
        createCheck('agent-platform-disabled-by-user', 'Agent Platform disabled by user'),
      ],
    },
    [AGENT_PLATFORM_GA_ROLLOUT]: {
      featureId: AGENT_PLATFORM_GA_ROLLOUT,
      engagedChecks: [],
      allChecks: [],
    },
    [FLOWS]: {
      featureId: FLOWS,
      engagedChecks: engaged
@@ -217,11 +211,6 @@ describe('FeatureStateDiagnosticsRenderer', () => {
    const renderer = new FeatureStateDiagnosticsRenderer();
    const mockEmptyState: AllFeaturesState = {
      [AGENT_PLATFORM]: { featureId: AGENT_PLATFORM, engagedChecks: [], allChecks: [] },
      [AGENT_PLATFORM_GA_ROLLOUT]: {
        featureId: AGENT_PLATFORM_GA_ROLLOUT,
        engagedChecks: [],
        allChecks: [],
      },
      [AUTHENTICATION]: { featureId: AUTHENTICATION, engagedChecks: [], allChecks: [] },
      [CHAT]: { featureId: CHAT, engagedChecks: [], allChecks: [] },
      [CHAT_TERMINAL_CONTEXT]: {
+0 −6
Original line number Diff line number Diff line
import {
  AGENT_PLATFORM,
  AGENT_PLATFORM_GA_ROLLOUT,
  AGENTIC_CHAT,
  AUTHENTICATION,
  CHAT,
@@ -90,11 +89,6 @@ describe('LanguageServerFeatureStateProvider', () => {
        engagedChecks: [],
        allChecks: [],
      }),
      [AGENT_PLATFORM_GA_ROLLOUT]: createFakePartial<FeatureState>({
        featureId: AGENT_PLATFORM_GA_ROLLOUT,
        engagedChecks: [],
        allChecks: [],
      }),
      [FLOWS]: createFakePartial<FeatureState>({
        featureId: FLOWS,
        engagedChecks: [],
+0 −6
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@ import { createInterfaceId } from '@gitlab/needle';
import {
  AGENT_PLATFORM,
  AGENTIC_CHAT,
  AGENT_PLATFORM_GA_ROLLOUT,
  AUTHENTICATION,
  CHAT,
  CHAT_TERMINAL_CONTEXT,
@@ -72,11 +71,6 @@ export class LanguageServerFeatureStateProviderImpl implements LanguageServerFea
      [AGENTIC_CHAT]: { featureId: AGENTIC_CHAT, engagedChecks: [], allChecks: [] },
      [FLOWS]: { featureId: FLOWS, engagedChecks: [], allChecks: [] },
      [AGENT_PLATFORM]: { featureId: AGENT_PLATFORM, engagedChecks: [], allChecks: [] },
      [AGENT_PLATFORM_GA_ROLLOUT]: {
        featureId: AGENT_PLATFORM_GA_ROLLOUT,
        engagedChecks: [],
        allChecks: [],
      },
    } as AllFeaturesState;

    this.#states.forEach(state => {
Loading