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:
Miguel Ángel
2026-11-06 20:11:01 +00:00
committed by GitHub
parent 6fab219142
commit a9a8d89377
13 changed files with 311 additions and 6 deletions
@@ -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",