This ticket covers refactoring ai/mcp/server/github-workflow/services/healthService.mjs into a singleton HealthService class that extends Neo.core.Base. This is the first step in migrating the GitHub Workflow server to the consistent Neo.mjs service architecture used by the other MCP servers.
Acceptance Criteria
- The file
ai/mcp/server/github-workflow/services/healthService.mjs is renamed to HealthService.mjs.
- The content is replaced with a
HealthService class that extends Neo.core.Base and is configured as a singleton.
- The existing
healthcheck function is converted into a class method.
- The
ai/mcp/server/github-workflow/services/toolService.mjs is updated to use the new HealthService class.
- The
healthcheck tool continues to function correctly after the refactoring.
This ticket covers refactoring
ai/mcp/server/github-workflow/services/healthService.mjsinto a singletonHealthServiceclass that extendsNeo.core.Base. This is the first step in migrating the GitHub Workflow server to the consistent Neo.mjs service architecture used by the other MCP servers.Acceptance Criteria
ai/mcp/server/github-workflow/services/healthService.mjsis renamed toHealthService.mjs.HealthServiceclass that extendsNeo.core.Baseand is configured as a singleton.healthcheckfunction is converted into a class method.ai/mcp/server/github-workflow/services/toolService.mjsis updated to use the newHealthServiceclass.healthchecktool continues to function correctly after the refactoring.