Skip to content

Conversation

azure-sdk
Copy link
Collaborator

This is an automatic PR generated weekly with changes from running the command pnpm update

@Copilot Copilot AI review requested due to automatic review settings August 26, 2025 21:12
Copy link
Contributor

@Copilot 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 external dependency checking script to use a more structured approach for detecting outdated packages. The script now uses pnpm outdated with JSON output instead of parsing text output from pnpm update, and enables actual GitHub issue creation for dependency upgrades.

  • Switches from regex parsing of pnpm update output to structured JSON parsing of pnpm outdated output
  • Re-enables GitHub issue creation functionality that was previously commented out
  • Improves filtering to exclude Azure packages from dependency upgrade tracking
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)

eng/scripts/check-external-dependency.ps1:11

  • The $deprecatedDependencyRegex variable is removed but not replaced with equivalent functionality. The script no longer checks for deprecated dependencies using regex matching, which may miss deprecated packages that aren't flagged in the JSON output.
)

$availableUpdates = $pnpmOutdatedOutput | ConvertFrom-Json

foreach ($update in $availableUpdates.PSObject.Properties) {
if ($update.Name -notmatch '^@azure') {
Copy link
Preview

Copilot AI Aug 26, 2025

Choose a reason for hiding this comment

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

The regex pattern '^@azure' will exclude all packages starting with @azure, but this may be too broad. Consider being more specific (e.g., '^@azure/') to avoid accidentally excluding packages with names that start with 'azure' but aren't Azure SDK packages.

Suggested change
if ($update.Name -notmatch '^@azure') {
if ($update.Name -notmatch '^@azure/') {

Copilot uses AI. Check for mistakes.

@azure-sdk azure-sdk force-pushed the automated-deps-update branch from f5b5bc8 to 222e9b7 Compare August 26, 2025 21:48
@jeremymeng jeremymeng marked this pull request as draft August 26, 2025 22:27
@azure-sdk azure-sdk force-pushed the automated-deps-update branch from 222e9b7 to 53ed603 Compare September 1, 2025 13:02
@jeremymeng jeremymeng closed this Sep 2, 2025
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.

2 participants