Skip to content

Supporting multiple Version in ADO extension #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 16, 2025
Merged

Conversation

risinh
Copy link
Member

@risinh risinh commented May 14, 2025

No description provided.

@risinh risinh marked this pull request as ready for review May 16, 2025 18:11
@Copilot Copilot AI review requested due to automatic review settings May 16, 2025 18:11
Copy link

@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 ADO extension to support multiple versions of the AIAgentEvaluation task by revising file structures, version numbers, and setup scripts. Key changes include:

  • Removal of outdated file references in vss-extension.json and adjustment of task.json version details.
  • Modifications in various PowerShell scripts (utilities, setup, and download scripts) to incorporate version-specific operations for V1 and V2.
  • Updates to CI/CD pipelines and documentation to reflect the new folder structure (switching from “dist” to “out”) and task version changes.

Reviewed Changes

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

Show a summary per file
File Description
vss-extension.json Removed file entries no longer used for the V2 task setup
tasks/AIAgentEvaluation/task.json Updated task version numbers (Major and Patch)
tasks/AIAgentEvaluation/run.ps1 Added a log message to indicate the V2 task start
tasks/AIAgentEvaluation/check-python.ps1 Adjusted logging by removing emoji symbols
scripts/utilities.ps1 Refactored folder name logic and added support for version-specific files
scripts/setup.ps1 Updated paths from “dist” to “out” and adjusted setup steps
scripts/setup-dev.ps1 Revised dev extension setup using production output and version loop
scripts/set-variables.ps1 Defined new variables for environment directories, versions, and IDs
scripts/download-vstsTaskSdk.ps1 Updated to reference new variables and copy modules for each version
scripts/download-previousVersions.ps1 Clones and copies previous version files into the production directory
samples/ado-multiple-agents.yml Updated the task version from AIAgentEvaluation@0 to AIAgentEvaluation@2
overview.md Reflects the updated task version in the documentation
.github/workflows/ado-extension-pack.yaml Adjusted working directories in the packaging step
.azure-devops/release.yaml Updated target paths for release artifacts
.azure-devops/common-steps.yml Revised working/folder paths for VSIX creation
Comments suppressed due to low confidence (1)

scripts/utilities.ps1:111

  • [nitpick] The removal of the conditional assignment based on $IsDevExtension simplifies the folder name but may affect environments expecting a distinct dev folder name. Ensure that handling of dev-specific paths is intentionally relocated elsewhere.
$AgentFolderName = "AIAgentEvaluation"

@risinh risinh merged commit c906c3d into main May 16, 2025
9 checks passed
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.

3 participants