Frontmatter
| id | 7610 |
| title | Refactor `LocalFileService` to Remove `glob` Dependency |
| state | Closed |
| labels | airefactoring |
| assignees | tobiu |
| createdAt | Oct 22, 2025, 3:13 PM |
| updatedAt | Oct 22, 2025, 3:13 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7610 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 22, 2025, 3:13 PM |
The
LocalFileServicecurrently uses theglobnpm package for recursively searching theISSUE_ARCHIVEdirectory. To minimize external dependencies and maintain a leaner codebase, this dependency should be removed. The recursive file search functionality can be reimplemented using Node.js's nativefs/promisesmodule.Acceptance Criteria
globimport is removed fromai/mcp/server/github-workflow/services/LocalFileService.mjs.#findFileRecursively(directory, filename), is implemented withinLocalFileService.mjs.filenamewithin the givendirectoryand its subdirectories, returning the absolute path of the first match, ornullif not found.