Add ai_gateway_timeout_seconds column in ai_settings table

What does this MR do and why?

  • Add new column ai_gateway_timeout_seconds in ai_settings table with a default value of 60 seconds.
  • Update the duoUpdateSettings mutation to accept this new field.

References

Add new column in `ai_settings` table (#579182) Bug issue: Make 60s timeout applied by AIGW when making re... (#567878)

Screenshots or screen recordings

Screenshot 2025-11-04 at 11.36.33 AM.png

Screenshot 2025-11-04 at 11.36.39 AM.png

Screenshot_2025-11-04_at_11.36.45_AM

How to set up and validate locally

mutation updateDuoSettings($input: DuoSettingsUpdateInput!) {
  duoSettingsUpdate(input: $input) {
    errors
    __typename
  }
}

# variables:

{
  "input":{
    "aiGatewayTimeoutSeconds": 30
  }
}

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Cindy Halim

Merge request reports

Loading