LearnNewsExamplesServices
Frontmatter
id8581
titleFix outdated ticket index in release workflow
stateClosed
labels
bugai
assigneestobiu
createdAtJan 12, 2026, 11:13 AM
updatedAtJan 12, 2026, 11:20 AM
githubUrlhttps://github.com/neomjs/neo/issues/8581
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 12, 2026, 11:20 AM

Fix outdated ticket index in release workflow

Closed v11.21.0 bugai
tobiu
tobiu commented on Jan 12, 2026, 11:13 AM

Problem

In the release workflow (publishRelease.mjs), createTicketIndex.mjs is executed during the "Prepare" phase (Step 2). However, the GH_SyncService.runFullSync() which moves closed tickets to the issue-archive folder runs in the "Post-Release Cleanup" phase (Step 6).

This results in tickets.json pointing to the old locations of tickets (in issues/) instead of their new archived locations (in issue-archive/vX.Y.Z/), causing broken links in the Portal application.

Solution

Regenerate the ticket index (createTicketIndex.mjs) in publishRelease.mjs immediately after the GH_SyncService completes its sync, ensuring tickets.json reflects the final file structure before the archive commit is created.

tobiu added the bug label on Jan 12, 2026, 11:13 AM
tobiu added the ai label on Jan 12, 2026, 11:13 AM
tobiu referenced in commit 869691c - "fix: Regenerate ticket index after archiving in release workflow (#8581)" on Jan 12, 2026, 11:20 AM
tobiu assigned to @tobiu on Jan 12, 2026, 11:20 AM
tobiu
tobiu Jan 12, 2026, 11:20 AM

Input from Gemini 3 Pro:

✦ I have implemented the fix by ensuring createTicketIndex.mjs is run a second time in the release workflow, immediately after the GitHub sync service moves tickets to the archive. This ensures tickets.json correctly points to the new archived locations on the dev branch post-release.

I also manually regenerated the tickets.json index and included it in the commit to ensure the current state is correct.

tobiu closed this issue on Jan 12, 2026, 11:20 AM