Duo Health Check for Self-Hosted and Hybrid Configurations

This issue is to capture requirements for the Duo Health Check when Self-Hosted or hybrid configuration (a mix of both Self-Hosted and GitLab AI Vendor models) are configured using GitLab Duo Self-Hosted on a cloud license.

Duo health check cannot currently operate in two different modes, let alone per model. It either thinks the entire instance (i.e. all Duo features) is targeting a self-hosted AI gateway, or if not, it operates in traditional cloud-connected mode and only health-checks connections to cloud.gitlab.com.

Additional information on the health check can be found in Duo Health Check does not work well for SHM (#517097 - closed) • Patrick Cyiza • 17.10 and #517097 (comment 2366678153)+s

Definition of Done

When a customer has enabled Self-Hosted or hybrid configurations, the Duo Health Check should:

  • detect customer feature x AIG x models configurations and test for each feature enabled
    • each features using the GL.com AIG, check for the default AI Vendor Models (or selected, with Model Selection)
    • each feature using the self-hosted AIG, check for the configured model
    • if features are Disabled, do not check
    • if features are not disabled, but no model is configured > return an appropriate message indicating the specific features needing model selection
  • return appropriate error messages or green lights
Edited by 🤖 GitLab Bot 🤖