Class: Gitlab::QA::Scenario::Test::Integration::DuoAgentPlatform

Inherits:
AiGateway show all
Defined in:
lib/gitlab/qa/scenario/test/integration/duo_agent_platform.rb

Overview

Duo Agent Platform foundational-flow smoke scenario. Reuses the AiGateway scenario's setup (EE omnibus GitLab + mock AI Gateway) and additionally boots the agentic-mock Duo Workflow Service, running under its own tag so the foundational flow gets a dedicated omnibus job, separate from the ai-gateway job (Duo Chat / Code Suggestions).

Constant Summary

Constants inherited from AiGatewayBase

AiGatewayBase::SETUP_DEST_PATH, AiGatewayBase::SETUP_SRC_PATH

Instance Method Summary collapse

Methods inherited from AiGatewayBase

#perform, #run_specs, #set_up_ai_gateway, #set_up_duo_workflow_service, #set_up_gitlab, #set_up_gitlab_duo, #with_duo_workflow_service

Methods inherited from Gitlab::QA::Scenario::Template

perform, #perform

Constructor Details

#initializeDuoAgentPlatform

Returns a new instance of DuoAgentPlatform.



13
14
15
16
17
18
19
20
# File 'lib/gitlab/qa/scenario/test/integration/duo_agent_platform.rb', line 13

def initialize
  super
  @tag = 'duo_agent_platform'
  # Only the DAP foundational flow needs the Duo Workflow Service; the ai-gateway
  # job (Duo Chat / Code Suggestions) does not, so boot DWS here rather than on the
  # base AiGateway scenario.
  @boot_duo_workflow_service = true
end