Skip to content

Conversation

@azure-sdk
Copy link
Collaborator

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

@azure-sdk azure-sdk requested a review from a team as a code owner December 11, 2025 20:18
Copilot AI review requested due to automatic review settings December 11, 2025 20:18
@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 11, 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 synchronizes the eng/common directory with azure-sdk-tools (PR #13307), specifically updating the npm link verification logic to handle both versioned and non-versioned npm package URLs more robustly. The changes address issues with Cloudflare's 403 responses from npmjs.com by transforming URLs to use the npm registry API instead.

Key Changes

  • Replaced a single-line regex replacement with conditional logic that handles versioned URLs (with /v/ segment) and non-versioned URLs separately
  • Added detailed comments explaining the URL transformation patterns and behavior

@weshaggard weshaggard merged commit e1cff7a into main Dec 11, 2025
12 of 13 checks passed
@weshaggard weshaggard deleted the sync-eng/common-copilot/update-npm-url-replacement-logic-13307 branch December 11, 2025 22:48
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