Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Nov 24, 2025

This commit enhances the onpush_zoneless_migration MCP tool by improving its file discovery and error handling, with a primary goal of increasing performance on large projects.

The discoverAndCategorizeFiles function is refactored to parallelize both file I/O and analysis. It now gathers file paths and processes them concurrently in batches, preventing system resource exhaustion while speeding up execution.

The tool now continues processing even if some files fail to be analyzed. Any errors are collected and reported in the final output, providing the user with a complete summary of unanalyzable files.

…very and improve error handling

This commit enhances the `onpush_zoneless_migration` MCP tool by improving its file discovery and error handling, with a primary goal of increasing performance on large projects.

The `discoverAndCategorizeFiles` function is refactored to parallelize both file I/O and analysis. It now gathers file paths and processes them concurrently in batches, preventing system resource exhaustion while speeding up execution.

The tool now continues processing even if some files fail to be analyzed. Any errors are collected and reported in the final output, providing the user with a complete summary of unanalyzable files.
@clydin clydin marked this pull request as ready for review November 25, 2025 01:47
@clydin clydin added the target: minor This PR is targeted for the next minor release label Nov 25, 2025
@clydin clydin added the action: merge The PR is ready for merge by the caretaker label Nov 25, 2025
@clydin clydin merged commit 212ebde into angular:main Nov 25, 2025
38 checks passed
@clydin
Copy link
Member Author

clydin commented Nov 25, 2025

This PR was merged into the repository. The changes were merged into the following branches:

@clydin clydin deleted the mcp/zoneless-discover-batching branch November 25, 2025 16:04
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/cli target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants