Skip to content

Conversation

@prog-rajkamal
Copy link
Contributor

@prog-rajkamal prog-rajkamal commented Jan 18, 2026

…ions IndiaSouthCentral

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copilot AI review requested due to automatic review settings January 18, 2026 06:10
@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Contributor

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 pull request aims to add cross-region restore support for two upcoming Azure regions: NortheastUS5 and IndiaSouthCentral. The changes update the region mapping dictionary used for backup and restore operations across regions.

Changes:

  • Updated the ChangeLog.md to document the addition of cross-region restore support for the two new regions
  • Added region mappings in BackupUtils.cs to map the new regions to their secondary/paired regions

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/RecoveryServices/RecoveryServices/ChangeLog.md Documents the addition of cross-region restore support for NortheastUS5 and IndiaSouthCentral
src/RecoveryServices/RecoveryServices.Backup/Helpers/BackupUtils.cs Adds region mapping entries for "indiasouthcentral" → "centralindia" and "northeastus5" → "centralus"

{"westus", "eastus"},
{"eastus2", "centralus"},
{"centralus", "eastus2"},
{"northeastus5", "centralus"},
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

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

This entry for "northeastus5" to "centralus" mapping is a duplicate. The same mapping already exists at line 110 of the file. Dictionary keys must be unique, and having duplicate keys will cause a runtime exception when initializing the dictionary. Please remove this duplicate entry.

Suggested change
{"northeastus5", "centralus"},

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks for noticing. I have removed duplicate entry

-->

## Upcoming Release
* Added Cross region restore support for upcoming regions NortheastUS5 and IndiaSouthCentral
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

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

The changelog entry mentions adding support for "NortheastUS5", but this region was already added in Version 7.10.0 (see line 31). Since the code change for "northeastus5" at line 79 is a duplicate entry that should be removed, the changelog should only mention "IndiaSouthCentral" as the new region being added in this release.

Suggested change
* Added Cross region restore support for upcoming regions NortheastUS5 and IndiaSouthCentral
* Added Cross region restore support for upcoming region IndiaSouthCentral.

Copilot uses AI. Check for mistakes.
-->

## Upcoming Release
* Added Cross region restore support for upcoming regions NortheastUS5 and IndiaSouthCentral
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

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

The region name casing is inconsistent with previous changelog entries. Previous entries use lowercase for region names (e.g., "northeastus5" in Version 7.10.0, "eastus3" in Version 7.9.0). For consistency, consider using lowercase: "indiasouthcentral" instead of "IndiaSouthCentral".

Suggested change
* Added Cross region restore support for upcoming regions NortheastUS5 and IndiaSouthCentral
* Added Cross region restore support for upcoming regions northeastus5 and indiasouthcentral

Copilot uses AI. Check for mistakes.
@isra-fel
Copy link
Member

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@prog-rajkamal prog-rajkamal force-pushed the buildout/indiasouthcentral branch from 9992b96 to b8fc88c Compare January 19, 2026 06:50
Copilot AI review requested due to automatic review settings January 19, 2026 06:51
@prog-rajkamal prog-rajkamal force-pushed the buildout/indiasouthcentral branch from b8fc88c to 71e4ee1 Compare January 19, 2026 06:51
Copy link
Contributor

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

-->

## Upcoming Release
* Added Cross region restore support for upcoming regions IndiaSouthCentral
Copy link

Copilot AI Jan 19, 2026

Choose a reason for hiding this comment

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

The term "upcoming regions" is inconsistent with previous changelog entries which use "new region" (see lines 31 and 35). For consistency with the existing changelog pattern, change "upcoming regions" to "new region".

Copilot generated this review using guidance from repository custom instructions.
Copy link
Contributor

Choose a reason for hiding this comment

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

We'd better use the same pattern in the change log as per suggested by Copilot.

@vidai-msft
Copy link
Contributor

/azp run azure-powershell - security-tools

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

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.

3 participants