LearnNewsExamplesServices
Frontmatter
id7542
titleConvert healthService to HealthService Neo.mjs Class
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 18, 2025, 2:49 PM
updatedAtOct 18, 2025, 3:03 PM
githubUrlhttps://github.com/neomjs/neo/issues/7542
authortobiu
commentsCount0
parentIssue7536
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 18, 2025, 3:03 PM

Convert healthService to HealthService Neo.mjs Class

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 18, 2025, 2:49 PM

This ticket covers refactoring ai/mcp/server/memory-core/services/healthService.mjs into a singleton class that extends Neo.core.Base. This service is responsible for providing the health status of the memory core server.

Acceptance Criteria

  1. The healthService.mjs module is refactored into a HealthService class.
  2. The HealthService class extends Neo.core.Base and is configured as a singleton.
  3. The existing buildHealthResponse function is converted into a class method.
  4. The ai/mcp/server/memory-core/services/toolService.mjs is updated to import the HealthService singleton and map its methods.
  5. Any other services that depend on healthService are updated to use the new HealthService singleton instance.
  6. The neo-memory-core__healthcheck tool continues to function correctly after the refactoring.
tobiu assigned to @tobiu on Oct 18, 2025, 2:49 PM
tobiu added the enhancement label on Oct 18, 2025, 2:49 PM
tobiu added the ai label on Oct 18, 2025, 2:49 PM
tobiu added parent issue #7536 on Oct 18, 2025, 2:49 PM
tobiu referenced in commit de17f6e - "Convert healthService to HealthService Neo.mjs Class #7542" on Oct 18, 2025, 3:03 PM
tobiu closed this issue on Oct 18, 2025, 3:03 PM