feat(storage): add team auto-archive assets policy and background job (#516)

* feat(storage): add team auto-archive assets policy and background job

* fix(storage): address code review feedback on lock safety, starvation, and permissions

* docs: update readme and expand archive storage documentation with auto-archive details

* feat(storage): log info message on auto-archive job start and finish with archived count

* style(storage): stack age threshold and grace period vertically with updated grace period description

* fix(storage): only log auto-archive info messages when candidate assets are found to process
This commit is contained in:
Yiling-J
2026-11-04 14:40:44 +08:00
committed by GitHub
parent ba3c6dbfee
commit 2ecbd49d18
23 changed files with 1805 additions and 39 deletions
+1 -1
View File
@@ -489,7 +489,7 @@ export const commitRestoreDbStateActivity = defineStep(
type: 'file',
status: AssetStatus.restoring,
},
data: { status: AssetStatus.processed },
data: { status: AssetStatus.processed, updatedAt: new Date() },
}),
])
},