feat(storage): add archive storage support for assets (#514)

* feat(storage): add archive storage support for assets

* fix(webui): show archive icon in front of file name in breadcrumb bar

* fix(webui): display archive icon in breadcrumbs when restoring

* refactor(transcode): simplify restore asset workflow to single while loop

* docs(configuration): add archive storage documentation and readme entries

* fix(webui): show archive icon in front of version names and prevent version card overflow

* fix(webui): fix overflow in manage versions dialog scroll area

* fix(webui): prevent manage versions dialog overflow on long file names

* docs(configuration): fix archive storage environment variables and defaults

* fix(storage): address code review findings for archive storage
This commit is contained in:
Yiling-J
2026-11-03 20:31:56 +08:00
committed by GitHub
parent 49a2d7c380
commit ba3c6dbfee
110 changed files with 7013 additions and 199 deletions
@@ -32,6 +32,17 @@ export async function overlayImageAnnotationWorkflow(task: WorkflowTask): Promis
})
}
if (
key === asset.storageKey?.key &&
(asset.storageKey?.isArchived || asset.status === 'archived')
) {
throw ApplicationFailure.create({
message:
'Original image file is archived and no proxy is available. Restore the asset to overlay annotations.',
nonRetryable: true,
})
}
const keyWithOverlay = await overlayAnnotationsActivity({
assetKey: key,
assetId: asset.id,