Persist file categories on the index and classify archives and unknown types during idle maintenance.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-28 11:37:29 +02:00
parent b33a78dbbe
commit 222b5d9969
42 changed files with 1719 additions and 80 deletions

View File

@@ -190,6 +190,9 @@ public sealed class FolderReconciler
}
}, cancellationToken).ConfigureAwait(false);
await _store.Entries.RefreshCategoryFromChildrenAsync(parent.Id, cancellationToken)
.ConfigureAwait(false);
foreach (var path in archivesToTomb)
{
await _store.Entries.TombstoneByPathPrefixAsync(source.Id, path, now, cancellationToken)
@@ -202,6 +205,8 @@ public sealed class FolderReconciler
{
await _archives.ExpandIfNeededAsync(source, archive, now, source.ScanGeneration, cancellationToken)
.ConfigureAwait(false);
await _store.Entries.RefreshCategoryFromChildrenAsync(archive.Id, cancellationToken)
.ConfigureAwait(false);
}
}