Skip to content

Conversation

kazrael2119
Copy link
Member

@Copilot Copilot AI review requested due to automatic review settings August 12, 2025 09:48
@github-actions github-actions bot added the Mgmt This issue is related to a management-plane library. label Aug 12, 2025
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 implements a management SDK release for the Azure Compute Fleet service, updating from version 2024-11-01 to 2025-07-01-preview. The release includes significant API changes, new functionality, and improved code organization.

Key changes:

  • API version upgrade to 2025-07-01-preview with new Fleet modes and capacity types
  • Restructured codebase with improved organization and new helper modules
  • Added new operations for virtual machine management and fleet cancellation

Reviewed Changes

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

Show a summary per file
File Description
sdk/computefleet/ci.mgmt.yml Removed empty lines for cleaner YAML formatting
vitest configuration files Minor formatting improvements and property ordering
tsp-location.yaml Updated commit hash and added additionalDirectories property
test files Updated to skip tests and changed resource group naming
src/static-helpers/urlTemplate.ts New RFC 6570 URI template implementation
src/static-helpers/cloudSettingHelpers.ts New Azure cloud environment helper utilities
src/models/models.ts Major model updates with new Fleet modes, capacity types, and API operations
src/api/ files Complete restructuring of API client with new operations and improved organization
samples/ files Updated samples to use new API version and improved async patterns
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
const userAgentInfo = `azsdk-js-arm-computefleet/1.0.1`;
const userAgentInfo = `azsdk-js-arm-computefleet/1.0.0-beta.1`;
Copy link
Preview

Copilot AI Aug 12, 2025

Choose a reason for hiding this comment

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

The version string is hardcoded. Consider extracting this to a constant or reading it from package.json to ensure it stays in sync with the actual package version.

Suggested change
const userAgentInfo = `azsdk-js-arm-computefleet/1.0.0-beta.1`;
const userAgentInfo = `azsdk-js-arm-computefleet/${pkg.version}`;

Copilot uses AI. Check for mistakes.

Copy link

github-actions bot commented Aug 12, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

@azure/arm-computefleet

qiaozha
qiaozha previously approved these changes Aug 14, 2025
@qiaozha qiaozha dismissed their stale review August 14, 2025 03:39

not ready for merge

@MaryGao
Copy link
Member

MaryGao commented Aug 20, 2025

@kazrael2119 there is on-going pr to update the spec, Azure/azure-rest-api-specs#36795, could you refresh until this pr is merged?

@kazrael2119
Copy link
Member Author

@kazrael2119 there is on-going pr to update the spec, Azure/azure-rest-api-specs#36795, could you refresh until this pr is merged?

got it

@kazrael2119
Copy link
Member Author

close as use #35733 instead

@kazrael2119 kazrael2119 deleted the computefleet branch August 26, 2025 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants