fix: serialize repository refreshes and recover stale downloads

This commit is contained in:
Thomas Durieux committed 2026-09-27 06:34:05 +00:00
1 parent 3c41a00137
commit 0002e8d1a1
4 files changed
+232 -13

No files matched your search

@@ -11,6 +11,8 @@ const AnonymizedRepositorySchema = new Schema({
default: "preparing",
},
statusDate: Date,
refreshToken: { type: String, select: false },
refreshUntil: { type: Date, select: false },
archivedAt: Date,
archiveReason: String,
archiveCachePending: Boolean,