mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 12:54:29 +00:00
The router/inversion pin a fixed worker count regardless of calibration — exactly the scenario a host-contention timeout or worker crash is most likely under. Previously only a drawElement self-verify failure (blank frame / PSNR breach) triggered the existing fallback to the calibrated, non-DE parallel-screenshot path; any other capture-stage failure on a pinned render just hard-failed the whole job instead of reusing that same tested safety net. shouldRetryViaPinnedFallback widens the retry to any capture failure while deWorkerInversion="inverted" or deParallelRouter="routed", excluding OOM (the fallback's worker count can be >= the pinned count, so retrying would likely just OOM again — fail fast instead). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>