LearnNewsExamplesServices
Frontmatter
id7574
titleUpdate Archiving Logic to Use Dynamic Release Data
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 20, 2025, 2:48 PM
updatedAtOct 20, 2025, 2:59 PM
githubUrlhttps://github.com/neomjs/neo/issues/7574
authortobiu
commentsCount0
parentIssue7564
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 20, 2025, 2:59 PM

Update Archiving Logic to Use Dynamic Release Data

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 20, 2025, 2:48 PM

The issue archiving logic in #getIssuePath() is currently tied to a static configuration. It needs to be refactored to use the dynamic list of releases fetched from GitHub at the start of the sync process.

Acceptance Criteria

  1. The #getIssuePath() method in SyncService.mjs is refactored.
  2. When determining the version for a closed issue, the method no longer references a static config.
  3. Instead, it iterates over the this.releases array (populated by #fetchAndCacheReleases()).
  4. It correctly identifies the target version by finding the first release in the sorted list whose publishedAt date is after the issue's closedAt date.
  5. The logic for handling issues with an explicit milestone remains as a priority.

Benefits

  • Completes the transition to a fully dynamic, date-based synchronization system.
  • Ensures that closed issues are always archived into the correct, most recent release folder without manual intervention.
  • Makes the archiving logic resilient to changes in the project's release cadence.
tobiu assigned to @tobiu on Oct 20, 2025, 2:48 PM
tobiu added parent issue #7564 on Oct 20, 2025, 2:48 PM
tobiu added the enhancement label on Oct 20, 2025, 2:48 PM
tobiu added the ai label on Oct 20, 2025, 2:48 PM
tobiu referenced in commit 46f5ef2 - "Update Archiving Logic to Use Dynamic Release Data #7574" on Oct 20, 2025, 2:59 PM
tobiu closed this issue on Oct 20, 2025, 2:59 PM