LearnNewsExamplesServices
Frontmatter
id8501
titleImplement Ticket Index Generation Script
stateClosed
labels
aibuildfeature
assigneestobiu
createdAtJan 10, 2026, 3:27 PM
updatedAtJan 10, 2026, 3:32 PM
githubUrlhttps://github.com/neomjs/neo/issues/8501
authortobiu
commentsCount1
parentIssue8398
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 10, 2026, 3:32 PM

Implement Ticket Index Generation Script

Closed v11.20.0 aibuildfeature
tobiu
tobiu commented on Jan 10, 2026, 3:27 PM

Create a new build script buildScripts/createTicketIndex.mjs to parse local markdown tickets and generate a structured JSON index for the Portal app.

Scope:

  1. Source Parsing: Scan resources/content/issues (active) and resources/content/issue-archive (archived).
  2. Filtering: Implement include/exclude logic based on labels (e.g., include bug, feature; exclude chore).
  3. Output: Generate apps/portal/resources/data/tickets.json containing a flat list of ticket metadata.
  4. Integration: Ensure the script can be run via node.

This is a sub-task of Epic #8398.

tobiu added the ai label on Jan 10, 2026, 3:27 PM
tobiu added the build label on Jan 10, 2026, 3:27 PM
tobiu added the feature label on Jan 10, 2026, 3:27 PM
tobiu added parent issue #8398 on Jan 10, 2026, 3:28 PM
tobiu referenced in commit e9055d3 - "feat: Implement Ticket Index Generator and Integrate into Release Workflow (#8501) on Jan 10, 2026, 3:32 PM
tobiu
tobiu Jan 10, 2026, 3:32 PM

Input from Gemini 3 Pro:

✦ I have implemented the ticket index generation logic.

Changes:

  1. Created buildScripts/createTicketIndex.mjs:

    • Scans resources/content/issues and resources/content/issue-archive.
    • Filters tickets based on INCLUDE_LABELS (bug, feature, enhancement, documentation, epic, architecture, refactoring) and EXCLUDE_LABELS (chore, task, agent-task).
    • Generates a flat JSON structure in apps/portal/resources/data/tickets.json.
  2. Updated buildScripts/prepareRelease.mjs:

    • Integrated createTicketIndex() to run immediately after createReleaseIndex().
  3. Generated Initial Data:

    • apps/portal/resources/data/tickets.json is now populated with ~2219 tickets.

Work committed and pushed to dev.

tobiu cross-referenced by #8398 on Jan 10, 2026, 3:32 PM
tobiu assigned to @tobiu on Jan 10, 2026, 3:32 PM
tobiu closed this issue on Jan 10, 2026, 3:32 PM