Skip to content

Enable VersionDetailsProps merge policy in forward flow PRs#5217

Merged
dkurepa merged 8 commits intodotnet:mainfrom
dkurepa:dkurepa/VdpPolicyForwardFlows
Aug 28, 2025
Merged

Enable VersionDetailsProps merge policy in forward flow PRs#5217
dkurepa merged 8 commits intodotnet:mainfrom
dkurepa:dkurepa/VdpPolicyForwardFlows

Conversation

@dkurepa
Copy link
Copy Markdown
Member

@dkurepa dkurepa commented Aug 28, 2025

Now that we're 100% sure all VMR repos have the VDP file, we can enable it on forward flow PRs too
#4865

Copilot AI review requested due to automatic review settings August 28, 2025 10:32
Copy link
Copy Markdown
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

This PR enables the VersionDetailsProps merge policy for forward flow PRs by implementing path resolution logic to locate version files within the Virtual Mono Repository (VMR) structure. Previously, this policy was disabled for forward flow PRs due to missing implementation.

  • Adds logic to determine correct file paths for forward flow PRs by reading the source manifest
  • Removes the early return that disabled the policy for forward flow PRs
  • Updates error messages to use dynamic paths instead of hardcoded file names

Reviewed Changes

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

File Description
test/ProductConstructionService.ScenarioTests/ScenarioTests/ScenarioTests_CodeFlow.cs Removes unused FluentAssertions import
src/Maestro/Maestro.MergePolicies/VersionDetailsPropsMergePolicy.cs Implements VMR path resolution for forward flow PRs and updates file path handling
src/Maestro/Maestro.MergePolicies/StandardMergePolicy.cs Removes conditional check that excluded VersionDetailsProps policy from forward flow PRs

dkurepa and others added 4 commits August 28, 2025 12:33
…cy.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…cy.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dkurepa dkurepa merged commit d8cdeb0 into dotnet:main Aug 28, 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