Skip to content

Conversation

@azure-sdk
Copy link
Collaborator

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

@azure-sdk azure-sdk requested a review from a team as a code owner December 8, 2025 20:30
@azure-sdk azure-sdk requested review from benbp and Copilot December 8, 2025 20:30
@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 Dec 8, 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 for PR #12350, updating stress testing deployment scripts with cluster naming changes and improved validation logic.

Key changes:

  • Updates cluster group names to use the "SSS3PT_" prefix for pg, prod, and storage environments
  • Adds validation to detect uncommitted changes to values.yaml and prompts users to use the -LocalAddonsPath parameter

Reviewed changes

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

File Description
eng/common/scripts/stress-testing/stress-test-deployment-lib.ps1 Updates cluster group resource names with "SSS3PT_" prefix for three environments (pg, prod, storage)
eng/common/scripts/stress-testing/deploy-stress-tests.ps1 Adds git-based validation to detect local values.yaml changes and require explicit -LocalAddonsPath parameter

$clusterGroup = 'SSS3PT_rg-stress-cluster-storage'
$subscription = 'Azure SDK Test Resources - TME'
$tenant = '72f988bf-86f1-41af-91ab-2d7cd011db47'
} elseif (!$clusterGroup -or !$subscription -or $tenant) {
Copy link

Copilot AI Dec 8, 2025

Choose a reason for hiding this comment

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

Logic error in condition: $tenant should be !$tenant. The current condition (!$clusterGroup -or !$subscription -or $tenant) will evaluate to true when $tenant IS set, which is the opposite of the intended behavior. It should check if $tenant is NOT set.

Suggested change
} elseif (!$clusterGroup -or !$subscription -or $tenant) {
} elseif (!$clusterGroup -or !$subscription -or !$tenant) {

Copilot uses AI. Check for mistakes.
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