mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
fix(engine): a render no longer finishes without an image that loaded late (#7304)
* fix(engine): a render no longer finishes without an image that loaded late * style(engine): format the frame gate * fix(engine): an image outside the frame no longer stops a render * fix(engine): a render stops and warns when a frame's image never arrives, with no cloud retries * fix(producer): a cloud chunk keeps the missing image's error name so retries stop
This commit is contained in:
@@ -234,6 +234,14 @@ describe("HyperframesRenderStack — snapshot", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("stops a chunk's retries for an image a frame shows but never got, in SAM and CDK", () => {
|
||||
for (const definition of [SYNTHED.definition, readSamDefinition()]) {
|
||||
const errors = new Set<string>();
|
||||
collectNonRetryableErrors(getV2TaskStates(definition).RenderChunkV2, errors);
|
||||
expect(errors.has("ImageMissingFromFrameError")).toBe(true);
|
||||
}
|
||||
});
|
||||
|
||||
it("lists the error the SDK checks for before rendering in every SAM and CDK plan task", () => {
|
||||
for (const definition of [SYNTHED.definition, readSamDefinition()]) {
|
||||
const errors = new Set<string>();
|
||||
|
||||
@@ -250,6 +250,7 @@ export class HyperframesRenderStack extends Construct {
|
||||
"PlanV2IntegrityError",
|
||||
"PLAN_ARTIFACT_DIGEST_MISMATCH",
|
||||
"ChromeBinaryUnavailableError",
|
||||
"ImageMissingFromFrameError",
|
||||
];
|
||||
const NON_RETRYABLE_ASSEMBLE = [
|
||||
"FFMPEG_VERSION_MISMATCH",
|
||||
|
||||
Reference in New Issue
Block a user