fix(producer): fallback distributed capture safely

This commit is contained in:
James
2026-07-27 03:08:40 +00:00
parent 372bead45c
commit 96cafb47c6
10 changed files with 653 additions and 110 deletions
+2 -1
View File
@@ -18,6 +18,7 @@ import { S3Client } from "@aws-sdk/client-s3";
import {
assemble,
type AssembleResult,
type ChunkRenderer,
type ChunkResult,
type DistributedRenderConfig,
listPlanV2ArtifactsForTarget,
@@ -77,7 +78,7 @@ export interface HandlerDeps {
primitives?: {
plan: typeof plan;
planV2WithPublisher?: typeof planV2WithPublisher;
renderChunk: typeof renderChunk;
renderChunk: ChunkRenderer;
assemble: typeof assemble;
};
/** Override the per-invocation `/tmp` workdir root (defaults to Lambda's `/tmp`). */