Skip to content

[rush] Fix performance in findOrphanedProjects#5310

Merged
dmichon-msft merged 1 commit intomicrosoft:mainfrom
dmichon-msft:tune-prepare-async
Aug 20, 2025
Merged

[rush] Fix performance in findOrphanedProjects#5310
dmichon-msft merged 1 commit intomicrosoft:mainfrom
dmichon-msft:tune-prepare-async

Conversation

@dmichon-msft
Copy link
Contributor

Summary

Fixes a performance issue encountered during rush install's for lockfiles with many projects.

Details

Switches the algorithm used when scanning the lockfile for projects that are no longer listed in rush.json from Path.isUnder to LookupByPath's findChildPath.

How it was tested

Using the rushstack repository:
Before:
image

After:
image

Impacted documentation

None.

@dmichon-msft dmichon-msft merged commit a57dfce into microsoft:main Aug 20, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Aug 20, 2025
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