Files
miga-heygen 51c75f08e3 fix(producer): retry capture on a CDP Page.captureScreenshot refusal
Chromium's CDP layer can refuse a screenshot capture outright ("Protocol
error (Page.captureScreenshot): Unable to capture screenshot") with no
timeout wording at all. classifyCaptureFailure() didn't recognize the
message, so it fell through to the fatal "authoring" bucket and neither
capture-retry path (the disk-capture retry loop, or the streaming-capture
pinned-fallback retry) ever attempted a retry — including under
--low-memory-mode, whose single-worker plain-screenshot capture never
engages either path's other retry conditions.

Adds the literal error text to classifyCaptureFailure()'s transient_browser
bucket, and threads the resulting classification into
shouldRetryViaPinnedFallback() as a routing-independent retry condition, so
the streaming path recovers on a fresh session the same way the disk path
already does for other transient browser failures.

Co-Authored-By: Miguel Angel <miguel.sierra@heygen.com>
2026-09-12 01:01:20 +00:00
..
2026-09-11 14:30:23 -07:00
2026-09-11 14:30:23 -07:00
2026-09-11 14:30:23 -07:00
2026-09-11 14:30:23 -07:00
2026-09-11 14:30:23 -07:00
2026-09-11 14:30:23 -07:00
2026-09-11 14:30:23 -07:00
2026-09-11 14:30:23 -07:00
2026-09-11 14:30:23 -07:00
2026-09-11 14:30:23 -07:00
2026-09-11 14:30:23 -07:00