mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-22 18:28:20 +00:00
fix(transcode): ensure durable file exchange and crash recovery across workflow steps (#484)
* fix(transcode): ensure durable file exchange and crash recovery across workflow steps * fix(transcode): recognize AWS SDK NoSuchKey by name and add workflow E2E recovery test
This commit is contained in:
@@ -45,6 +45,7 @@ export async function transcodePdfWorkflow(task: WorkflowTask): Promise<void> {
|
||||
|
||||
const spec = task.payload?.transcode || {}
|
||||
const mediaInfo = await getMediaInfoActivity({
|
||||
assetKey: pdfProxy.pdfProxyKey,
|
||||
filePath: currentFilePath,
|
||||
assetId: asset.id,
|
||||
proxyType: 'pdf',
|
||||
@@ -76,6 +77,7 @@ export async function transcodePdfWorkflow(task: WorkflowTask): Promise<void> {
|
||||
|
||||
const spriteResult = await generateSpriteActivity({
|
||||
assetKey: key,
|
||||
inputKey: pdfProxy.pdfProxyKey,
|
||||
filePath: currentFilePath,
|
||||
spriteSpec,
|
||||
posterSpec,
|
||||
|
||||
Reference in New Issue
Block a user