Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 19, 2025

Summary

This PR removes dead Azure Pipelines configuration files that are no longer in use. The PowerShell project has migrated to GitHub Actions for CI/CD, making these legacy Azure Pipelines files obsolete.

Changes

Deleted unused Azure Pipelines configuration files:

  1. .vsts-ci/windows-daily.yml:

    • Deleted this file as it is dead code (not referenced by any active pipeline)
  2. .vsts-ci/templates/windows-test.yml:

    • Deleted this file as it is dead code (Windows CI has been migrated to GitHub Actions)

Impact

  • No impact on active CI/CD pipelines as these files were not being used
  • The active Windows CI now runs via .github/workflows/windows-ci.yml using GitHub Actions
  • Removes 240 lines of legacy code

Testing

  • Verified that these files are not referenced by any active pipelines
  • Confirmed that Windows CI functionality is handled by GitHub Actions workflows

References

Fixes #25931

Original prompt

This section details on the original issue you should resolve

<issue_title>Migrate CI build agents from windows-2019</issue_title>
<issue_description>### Checklist

The GitHub Actions/Azure Pipelines hosted image windows-2019 has been marked as deprecated and is scheduled for full removal on 2025-12-31.

To ensure CI/CD pipelines remain functional and supported, the build agent image should be updated to use windows-latest, which currently points to a supported Windows Server image.

Reference:

Comments on the Issue (you are @copilot in this section)

Fixes #25931


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI self-assigned this Oct 19, 2025
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Copilot AI changed the title [WIP] Migrate CI build agents from windows-2019 to windows-latest Migrate CI build agents from windows-2019 to windows-latest Oct 19, 2025
Copilot AI requested a review from TravisEz13 October 19, 2025 18:44
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Oct 19, 2025
@TravisEz13
Copy link
Member

@copilot this is dead code, clean up the code instead of fixing it.

Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Oct 19, 2025

@copilot this is dead code, clean up the code instead of fixing it.

Deleted .vsts-ci/windows-daily.yml as dead code in commit a73bf88.

Copilot AI changed the title Migrate CI build agents from windows-2019 to windows-latest Migrate CI build agents from windows-2019 to windows-latest and remove dead code Oct 19, 2025
Copilot AI requested a review from TravisEz13 October 19, 2025 18:59
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Copilot AI changed the title Migrate CI build agents from windows-2019 to windows-latest and remove dead code Remove dead Azure Pipelines code Oct 19, 2025
Copilot AI requested a review from TravisEz13 October 19, 2025 19:07
@TravisEz13 TravisEz13 changed the title Remove dead Azure Pipelines code Remove unused Azure Devops windows CI workflows Oct 19, 2025
@TravisEz13 TravisEz13 marked this pull request as ready for review October 19, 2025 19:07
@TravisEz13 TravisEz13 requested review from a team and jshigetomi as code owners October 19, 2025 19:07
Copilot AI review requested due to automatic review settings October 19, 2025 19:07
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

Purpose: Remove obsolete Azure Pipelines Windows CI configuration now replaced by GitHub Actions.

  • Delete legacy daily Windows pipeline definition (.vsts-ci/windows-daily.yml)
  • Delete unused Windows test template (.vsts-ci/templates/windows-test.yml)

Reviewed Changes

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

File Description
.vsts-ci/windows-daily.yml Removed obsolete daily Windows Azure Pipeline config
.vsts-ci/templates/windows-test.yml Removed unused Windows test pipeline template
Comments suppressed due to low confidence (4)

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

@TravisEz13 TravisEz13 added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Oct 20, 2025
@TravisEz13 TravisEz13 removed the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Oct 20, 2025
@TravisEz13 TravisEz13 enabled auto-merge (squash) October 20, 2025 18:34
@TravisEz13 TravisEz13 merged commit 3805454 into master Oct 21, 2025
42 of 68 checks passed
@adityapatwardhan adityapatwardhan deleted the copilot/migrate-ci-build-agent branch October 21, 2025 00:09
@microsoft-github-policy-service
Copy link
Contributor

microsoft-github-policy-service bot commented Oct 21, 2025

📣 Hey @@Copilot, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

SIRMARGIN pushed a commit to SIRMARGIN/PowerShell that referenced this pull request Dec 12, 2025
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate CI build agents from windows-2019

4 participants