Skip to content

fix(@angular/cli): ignore EBADF file system errors during MCP project scan#33002

Open
clydin wants to merge 1 commit intoangular:mainfrom
clydin:mcp/project-ignore-fs-errors
Open

fix(@angular/cli): ignore EBADF file system errors during MCP project scan#33002
clydin wants to merge 1 commit intoangular:mainfrom
clydin:mcp/project-ignore-fs-errors

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented Apr 14, 2026

File crawling concurrency occasionally surfaces temporary EBADF descriptors on specialized filesystems. This catches and ignores them, guaranteeing completion of background discovery loops.

… scan

File crawling concurrency occasionally surfaces temporary EBADF descriptors on specialized filesystems. This catches and ignores them, guaranteeing completion of background discovery loops.
@clydin clydin added the target: patch This PR is targeted for the next patch release label Apr 14, 2026
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Apr 14, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds 'EBADF' to the IGNORED_FILE_SYSTEM_ERRORS set in the Angular CLI's MCP tools, ensuring that bad file descriptor errors are treated as ignorable during file system operations. I have no feedback to provide as there are no review comments to evaluate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: @angular/cli target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

list_projects MCP tool fails with EBADF: bad file descriptor, lstat '/dev/fd/12' when MCP roots include /dev/fd/*

1 participant