Skip to content

perf: scope compile walks to applyTo roots - #2595

Draft
Aryan Singh K. (aryansk) wants to merge 1 commit into
microsoft:mainfrom
aryansk:perf/2512-scope-applyto-scan
Draft

perf: scope compile walks to applyTo roots#2595
Aryan Singh K. (aryansk) wants to merge 1 commit into
microsoft:mainfrom
aryansk:perf/2512-scope-applyto-scan

Conversation

@aryansk

Copy link
Copy Markdown

Summary

Avoid descending unrelated top-level monorepo subtrees when every scoped instruction has a literal top-level applyTo prefix. Wildcard or root-wide patterns preserve the existing full-project walk, while the canonical single os.walk traversal remains intact.

Testing

Added regression coverage showing src/**/*.py scans src without materializing an unrelated vendor subtree. Existing root-wide **/*.py coverage continues to protect the full-walk fallback.

Fixes #2512

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.

[BUG] apm compile takes very long time in large monorepo

1 participant