To significantly improve the performance and reduce the scope of the issue synchronization, the #pullFromGitHub method must be updated to process only the issues relevant to our configured time window.
Acceptance Criteria
- The
#pullFromGitHub() method in SyncService.mjs is updated.
- After fetching the full list of issues from GitHub, the method filters the array.
- The filter logic should only keep issues where
createdAt >= syncStartDate OR updatedAt >= syncStartDate.
- Only the issues that pass this filter are processed for local file creation, updates, or deletion.
Benefits
- Drastically reduces the number of issues processed during a sync, improving performance.
- Prevents the local repository from being cluttered with thousands of irrelevant, legacy issues.
- Focuses the synchronization effort on active and recent work items.
To significantly improve the performance and reduce the scope of the issue synchronization, the
#pullFromGitHubmethod must be updated to process only the issues relevant to our configured time window.Acceptance Criteria
#pullFromGitHub()method inSyncService.mjsis updated.createdAt >= syncStartDateORupdatedAt >= syncStartDate.Benefits