Frontmatter
| id | 7720 |
| title | Refactor: Inline `healthHelpers.mjs` into `HealthService.mjs` |
| state | Closed |
| labels | airefactoring |
| assignees | [] |
| createdAt | Nov 8, 2025, 10:50 AM |
| updatedAt | Nov 11, 2025, 9:35 AM |
| githubUrl | https://github.com/neomjs/neo/issues/7720 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 11, 2025, 9:35 AM |
The
healthHelpers.mjsfile was introduced in PR #7717 to separate parsing logic fromHealthService.mjs. However, this logic is not shared with any other module, and the file itself is quite short. To simplify the architecture, the helper functions (combineOutput,parseAuthOutput,parseVersionOutput,interpretExecError) should be moved back intoHealthService.mjsas private methods, and thehealthHelpers.mjsfile should be deleted. The associated test filehealthHelpers.test.mjsshould also be either removed or its tests integrated into a test forHealthService.mjs.