|
|
fde5aea324
|
feat: add screenshot retry logic for transient browser failures
Build & Deploy to Staging / Build & Deploy to Staging (push) Has been cancelled
- Add isRetryableError() helper (retry on TimeoutError, Protocol error,
Target closed, Session closed, Navigation failed, net::ERR_*)
- Wrap browser screenshot in retry loop (max 2 retries, exponential backoff)
- Add retryCount to ScreenshotResult, X-Retry-Count response header
- Validation/SSRF/auth errors are NOT retried
- 28 new tests (12 retry classification + 6 screenshot retry + route tests)
|
2026-03-06 09:12:44 +01:00 |
|