LearnNewsExamplesServices
Frontmatter
id7557
titleConvert issueService to IssueService Neo.mjs Class
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 20, 2025, 12:35 AM
updatedAtOct 20, 2025, 12:41 AM
githubUrlhttps://github.com/neomjs/neo/issues/7557
authortobiu
commentsCount0
parentIssue7536
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 20, 2025, 12:41 AM

Convert issueService to IssueService Neo.mjs Class

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 20, 2025, 12:35 AM

This ticket covers refactoring ai/mcp/server/github-workflow/services/issueService.mjs into a singleton IssueService class that extends Neo.core.Base. This service will handle interactions with GitHub issues, such as adding and removing labels.

Acceptance Criteria

  1. The file ai/mcp/server/github-workflow/services/issueService.mjs is renamed to IssueService.mjs.
  2. The content is replaced with an IssueService class that extends Neo.core.Base and is configured as a singleton.
  3. The existing functions (addLabels, removeLabels) are converted into class methods.
  4. The ai/mcp/server/github-workflow/services/toolService.mjs is updated to use the new IssueService class.
  5. The add_labels and remove_labels tools continue to function correctly after the refactoring.
tobiu assigned to @tobiu on Oct 20, 2025, 12:35 AM
tobiu added the enhancement label on Oct 20, 2025, 12:35 AM
tobiu added the ai label on Oct 20, 2025, 12:35 AM
tobiu added parent issue #7536 on Oct 20, 2025, 12:35 AM
tobiu referenced in commit 417c7b5 - "Convert issueService to IssueService Neo.mjs Class #7557" on Oct 20, 2025, 12:38 AM
tobiu referenced in commit aede4ce - "#7557 returning error objects instead of throw" on Oct 20, 2025, 12:41 AM
tobiu closed this issue on Oct 20, 2025, 12:41 AM