Skip to content

Conversation

@devanshjainms
Copy link
Contributor

This pull request updates the RESOURCE_DEFAULTS configuration in the constants.yaml file to introduce resource-specific timeout values for operations. The changes primarily focus on differentiating timeout settings for ANF and AFS resources.

Updates to resource operation timeouts:

  • src/roles/ha_scs/tasks/files/constants.yaml: Modified the timeout field under operations.monitor to specify distinct timeout values for ANF (["105", "105s"]) and AFS (["60", "60s"]) resources. Previously, a single timeout value was applied universally. [1] [2]

Copilot AI review requested due to automatic review settings May 8, 2025 18:17
@devanshjainms devanshjainms requested a review from a team as a code owner May 8, 2025 18:17
@devanshjainms devanshjainms requested a review from dennispadia May 8, 2025 18:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the timeout configurations in the RESOURCE_DEFAULTS to differentiate timeout settings for ANF and AFS resource operations.

  • Updated the monitor operation timeout under RESOURCE_DEFAULTS to use separate mappings for ANF and AFS instead of a single timeout list.
  • Applied the same change consistently to two segments within the constants.yaml file.
Comments suppressed due to low confidence (2)

src/roles/ha_scs/tasks/files/constants.yaml:109

  • Changing the timeout configuration from a single timeout list to a resource-specific mapping requires confirming that all consumers of RESOURCE_DEFAULTS are updated to handle this new structure. Please verify that the relevant parts of the application correctly process the mapping format.
ANF:                          ["105", "105s"]

src/roles/ha_scs/tasks/files/constants.yaml:136

  • Ensure that the adjusted timeout configuration mapping for monitor operations is supported by all consuming modules. This change from a universal list to resource-specific mappings may require corresponding updates in the code that reads these values.
ANF:                          ["105", "105s"]

Copy link
Member

@hdamecharla hdamecharla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, approved

Copy link

@mkdeegan mkdeegan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@devanshjainms devanshjainms merged commit 1b7bcde into Azure:main May 8, 2025
11 checks passed
@devanshjainms devanshjainms deleted the may-2025-hotfix-1 branch May 8, 2025 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants