feat(FN-5577): add github-tracking reconciler for deleted archived tasks
Added GitHub tracking reconciliation to sync hidden and deleted archived tasks on engine startup, spanning a new reconcile task listing method in the core store, a reconciler pass in the dashboard, and comprehensive test coverage for both the store listing and the deleted-archived reconciliation log Fusion-Task-Id: FN-5577 Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai> Fusion-Task-Id: FN-5577
This commit is contained in:
@@ -2362,11 +2362,13 @@ export function registerGitGitHubRoutes(ctx: ApiRoutesContext): void {
|
||||
reconcileScheduledStores.add(projectStore);
|
||||
setImmediate(() => {
|
||||
if (typeof (projectStore as Partial<TaskStore>).listTasks !== "function"
|
||||
|| typeof (projectStore as Partial<TaskStore>).listTasksForGithubTrackingReconcile !== "function"
|
||||
|| typeof (projectStore as Partial<TaskStore>).getSettings !== "function"
|
||||
|| typeof (projectStore as Partial<TaskStore>).logEntry !== "function") {
|
||||
return;
|
||||
}
|
||||
void githubTrackingReconciler.reconcile(projectStore).catch(() => {});
|
||||
void githubTrackingReconciler.reconcileDeletedAndArchived(projectStore).catch(() => {});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user