Skip to content

Conversation

@trivikr
Copy link

@trivikr trivikr commented Sep 24, 2025

Artifact already uses native AbortController

const abortController = new AbortController()

Copilot AI review requested due to automatic review settings September 24, 2025 02:49
@trivikr trivikr requested a review from a team as a code owner September 24, 2025 02:49
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 removes the dependency on the external @azure/abort-controller package in favor of using the native AbortController that is now available in Node.js runtime. This aligns with the existing practice in the artifact package and reduces external dependencies.

  • Removes the import statement for @azure/abort-controller from downloadUtils.ts
  • Removes the @azure/abort-controller dependency from package.json

Reviewed Changes

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

File Description
packages/cache/src/internal/downloadUtils.ts Removes import of external AbortController
packages/cache/package.json Removes @azure/abort-controller dependency
Files not reviewed (1)
  • packages/cache/package-lock.json: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

1 participant