Merge remote-tracking branch 'origin/main' into integrate/diagnostics

This commit is contained in:
Thomas Durieux committed 2026-11-14 23:19:23 +00:00
commit 8eb5097070
9 files changed
+118 -14

No files matched your search

+4 -6
View File
@@ -561,12 +561,10 @@ export default class Repository {
await this.markExpired();
}
}
if (
this.status == RepositoryStatus.EXPIRED ||
this.status == RepositoryStatus.EXPIRING ||
this.status == RepositoryStatus.REMOVING ||
this.status == RepositoryStatus.REMOVED
) {
if (this.status == RepositoryStatus.REMOVING || this.status == RepositoryStatus.REMOVED) {
throw new AnonymousError("is_removed", { object: this, httpStatus: 410 });
}
if (this.status == RepositoryStatus.EXPIRED || this.status == RepositoryStatus.EXPIRING) {
throw new AnonymousError("repository_expired", {
object: this,
httpStatus: 410,