diff --git a/internal/civisibility/utils/net/settings_api.go b/internal/civisibility/utils/net/settings_api.go index aa2f88dc66..a27a37cf51 100644 --- a/internal/civisibility/utils/net/settings_api.go +++ b/internal/civisibility/utils/net/settings_api.go @@ -120,6 +120,9 @@ func (c *client) GetSettings() (*SettingsResponseData, error) { if responseObject.Data.Attributes.EarlyFlakeDetection.Enabled { settingsResponseType = append(settingsResponseType, telemetry.EfdEnabledSettingsResponseType...) } + if responseObject.Data.Attributes.FlakyTestRetriesEnabled { + settingsResponseType = append(settingsResponseType, telemetry.FlakyTestRetriesEnabledSettingsResponseType...) + } telemetry.GitRequestsSettingsResponse(settingsResponseType) return &responseObject.Data.Attributes, nil } diff --git a/internal/civisibility/utils/telemetry/telemetry.go b/internal/civisibility/utils/telemetry/telemetry.go index 3b700150a7..69d0b039c9 100644 --- a/internal/civisibility/utils/telemetry/telemetry.go +++ b/internal/civisibility/utils/telemetry/telemetry.go @@ -113,9 +113,10 @@ const ( type SettingsResponseType []string var ( - CoverageEnabledSettingsResponseType SettingsResponseType = []string{"coverage_enabled"} - ItrSkipEnabledSettingsResponseType SettingsResponseType = []string{"itrskip_enabled"} - EfdEnabledSettingsResponseType SettingsResponseType = []string{"early_flake_detection_enabled:true"} + CoverageEnabledSettingsResponseType SettingsResponseType = []string{"coverage_enabled"} + ItrSkipEnabledSettingsResponseType SettingsResponseType = []string{"itrskip_enabled"} + EfdEnabledSettingsResponseType SettingsResponseType = []string{"early_flake_detection_enabled:true"} + FlakyTestRetriesEnabledSettingsResponseType SettingsResponseType = []string{"flaky_test_retries_enabled:true"} ) // removeEmptyStrings removes empty string values inside an array or use the same if not empty string is found.