Skip to content

[xaprepare] Remove dead Step_DetermineAzurePipelinesTestJobs - #11308

Merged
simonrozsival merged 1 commit into
mainfrom
jonathanpeppers/remove-determineapplicabletests
May 11, 2026
Merged

[xaprepare] Remove dead Step_DetermineAzurePipelinesTestJobs#11308
simonrozsival merged 1 commit into
mainfrom
jonathanpeppers/remove-determineapplicabletests

Conversation

@jonathanpeppers

Copy link
Copy Markdown
Member

This removes two dead-code files from xaprepare:

  • Steps/Step_DetermineAzurePipelinesTestJobs.cs
  • Scenarios/Scenario_DetermineApplicableTests.cs

Neither class is referenced by any CI YAML, Makefile target, .targets file, or other code outside these two files. The DetermineApplicableTests scenario is never invoked.

Part of incremental xaprepare cleanup.

This step and its Scenario_DetermineApplicableTests are not referenced
by any CI YAML, Makefile target, or .targets file. Dead code removal
as part of incremental xaprepare cleanup.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 8, 2026 13:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes an unused xaprepare scenario/step pair that attempted to infer Azure Pipelines test areas from merge commit file diffs. This is consistent with incremental cleanup of xaprepare’s unused code paths.

Changes:

  • Deleted Step_DetermineAzurePipelinesTestJobs (Azure Pipelines variable setting logic based on git diff of merge commits).
  • Deleted Scenario_DetermineApplicableTests, which only existed to run the above step and adjust program-installation conditions.

Reviewed changes

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

File Description
build-tools/xaprepare/xaprepare/Steps/Step_DetermineAzurePipelinesTestJobs.cs Removed unused step that computed TestAreas from merge commit changes.
build-tools/xaprepare/xaprepare/Scenarios/Scenario_DetermineApplicableTests.cs Removed unused scenario which invoked the deleted step.

@jonathanpeppers jonathanpeppers added the ready-to-review This PR is ready to review/merge, I think any CI failures are just flaky (ignorable). label May 8, 2026
@simonrozsival
simonrozsival merged commit c383d4e into main May 11, 2026
6 of 7 checks passed
@simonrozsival
simonrozsival deleted the jonathanpeppers/remove-determineapplicabletests branch May 11, 2026 07:17
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ready-to-review This PR is ready to review/merge, I think any CI failures are just flaky (ignorable).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants