Skip to content

Sync eng/common directory with azure-sdk-tools for PR 11353#2820

Merged
azure-sdk merged 3 commits intomainfrom
sync-eng/common-benbp/copilot-install-mac-fixes-11353
Jul 25, 2025
Merged

Sync eng/common directory with azure-sdk-tools for PR 11353#2820
azure-sdk merged 3 commits intomainfrom
sync-eng/common-benbp/copilot-install-mac-fixes-11353

Conversation

@azure-sdk
Copy link
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#11353 See eng/common workflow

@azure-sdk azure-sdk requested review from benbp and Copilot July 25, 2025 20:41
@azure-sdk azure-sdk requested a review from a team as a code owner July 25, 2025 20:41
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Jul 25, 2025
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 PR syncs the eng/common directory with azure-sdk-tools to incorporate improvements from PR 11353. The changes focus on enhancing PowerShell script reliability and fixing path handling issues.

Key changes:

  • Fixed shebang line for better cross-platform compatibility
  • Improved directory creation and file copying logic
  • Enhanced PATH modification to include proper line breaks

Reviewed Changes

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

File Description
eng/common/scripts/Helpers/AzSdkTool-Helpers.ps1 Adds newline before PATH command to prevent shell profile corruption
eng/common/mcp/azure-sdk-mcp.ps1 Fixes shebang, improves directory handling, and enhances variable naming
Comments suppressed due to low confidence (1)

eng/common/mcp/azure-sdk-mcp.ps1:68

  • [nitpick] The variable name $exeDestination should follow PowerShell naming conventions. Consider using $destinationExe or $exePath for better consistency with PowerShell variable naming patterns.
$exeDestination = Join-Path $toolInstallDirectory $exeName

@azure-sdk azure-sdk merged commit 3c10190 into main Jul 25, 2025
22 checks passed
@azure-sdk azure-sdk deleted the sync-eng/common-benbp/copilot-install-mac-fixes-11353 branch July 25, 2025 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants