LearnNewsExamplesServices
Frontmatter
id7911
titleEnhancement: Add milestoneArchivePrefix to GitHub Workflow MCP config
stateClosed
labels
enhancementai
assigneestobiu
createdAtNov 29, 2025, 12:54 PM
updatedAtNov 29, 2025, 12:56 PM
githubUrlhttps://github.com/neomjs/neo/issues/7911
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 29, 2025, 12:56 PM

Enhancement: Add milestoneArchivePrefix to GitHub Workflow MCP config

Closed v11.13.0 enhancementai
tobiu
tobiu commented on Nov 29, 2025, 12:54 PM

When archiving closed issues based on milestones, the directory name currently defaults to the raw milestone title (e.g., 11.12.0). To align with the v-prefixed release directories (e.g., v11.12.0), we need a configurable prefix for milestone-based archive folders.

Tasks:

  1. Update Config: Add milestoneArchivePrefix to issueSync in ai/mcp/server/github-workflow/config.mjs. Default to v to align with release directory naming.
  2. Update Syncer: Modify #getIssuePath in IssueSyncer.mjs to prepend this prefix to the milestone title when generating the archive directory path.

Goal: Ensure 11.12.0 milestone issues are archived into .github/ISSUE_ARCHIVE/v11.12.0/ instead of .github/ISSUE_ARCHIVE/11.12.0/.

tobiu added the enhancement label on Nov 29, 2025, 12:54 PM
tobiu added the ai label on Nov 29, 2025, 12:54 PM
tobiu assigned to @tobiu on Nov 29, 2025, 12:54 PM
tobiu referenced in commit e1eb575 - "Enhancement: Add milestoneArchivePrefix to GitHub Workflow MCP config #7911" on Nov 29, 2025, 12:55 PM
tobiu
tobiu Nov 29, 2025, 12:56 PM

Input from Gemini:

✦ I have implemented the milestoneArchivePrefix configuration.

Changes:

  1. Config Update: Added milestoneArchivePrefix: 'v' to ai/mcp/server/github-workflow/config.mjs.

  2. Logic Update: Updated IssueSyncer.mjs inside #getIssuePath. When an issue is closed and has a milestone, the archive path is now constructed as: archiveDir / (prefix + milestoneTitle) / filename

    Example: Milestone 11.12.0 -> .github/ISSUE_ARCHIVE/v11.12.0/issue-123.md

This ensures consistency with the release folder naming convention.

tobiu closed this issue on Nov 29, 2025, 12:56 PM