Skip to content

[rush] Fix implicit phase expansion regression #5209

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 1 commit into from
Apr 24, 2025

Conversation

dmichon-msft
Copy link
Contributor

Summary

Fixes a regression in which commands would sometimes not execute all operations on which they depended if not all phases were explicitly specified in the command definition.

Details

The runtime distinguishes the exact set of phases defined in command-line.json from the expanded set that includes all dependencies of those phases. For commands where these two sets differed, if --include-phase-deps was not specified, phases that were not explicitly listed were being omitted.

How it was tested

Updated the unit tests for PhasedOperationPlugin

Impacted documentation

Making this work as expected.

@dmichon-msft dmichon-msft enabled auto-merge (squash) April 24, 2025 22:58
@dmichon-msft dmichon-msft merged commit a60cceb into microsoft:main Apr 24, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Apr 24, 2025
@dmichon-msft dmichon-msft deleted the fix-implicit-phases branch April 24, 2025 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

2 participants