Skip to content

Conversation

TheOnlyWei
Copy link

Description

Added tests and fixed some commands. See AksArc/AksArc/ChangeLog.md.

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
    Got this error:
Import-Module: The member 'FormatsToProcess' in the module manifest is not valid: Cannot find path 'C:\...\azure-powershell\src\AksArc\AksArc\AksArc.Autorest/Az.AksArc.format.ps1xml' because it does not exist.. Verify that a valid value is specified for this field in the 'C:\...\azure-powershell\src\AksArc\AksArc\Az.AksArc.psd1' file.
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

@isra-fel
Copy link
Member

isra-fel commented Oct 6, 2025

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@TheOnlyWei TheOnlyWei marked this pull request as ready for review October 7, 2025 00:39
@Copilot Copilot AI review requested due to automatic review settings October 7, 2025 00:39
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 adds comprehensive tests for the Az.AksArc PowerShell module and fixes various command parameter set configurations. The changes include creating extensive test coverage for cluster management operations, improving parameter organization, and correcting documentation to ensure proper command functionality.

  • Extensive test suite implementation with live-only tests for cluster and nodepool operations
  • Parameter set restructuring and validation fixes for Update/New/Remove commands
  • Documentation corrections and help file updates for improved clarity

Reviewed Changes

Copilot reviewed 68 out of 73 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/AksArc/AksArc/help/*.md Updates command help documentation with corrected parameter sets and descriptions
src/AksArc/AksArc/ChangeLog.md Documents fixes and test additions for version 0.2.4
src/AksArc/AksArc/Az.AksArc.psd1 Updates module dependencies and configuration settings
src/AksArc/AksArc.Autorest/test/*.ps1 Adds comprehensive test coverage for all AksArc commands
src/AksArc/AksArc.Autorest/test/utils.ps1 Implements test environment setup with cluster creation

@TheOnlyWei TheOnlyWei force-pushed the improve-aksarc-test-coverage branch from 4127fdd to 108b404 Compare October 7, 2025 01:05
@TheOnlyWei TheOnlyWei force-pushed the improve-aksarc-test-coverage branch from 108b404 to 617e476 Compare October 7, 2025 01:28
@isra-fel isra-fel self-assigned this Oct 8, 2025
@isra-fel isra-fel assigned TheOnlyWei and unassigned isra-fel Oct 15, 2025
@isra-fel
Copy link
Member

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copy link

This PR was labeled "needs-revision" because it has unresolved review comments or CI failures.
Please resolve all open review comments and make sure all CI checks are green. Refer to our guide to troubleshoot common CI failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants