Merged
Conversation
Screenshots larger than ~2MB failed with "socket hang up" because form-data defaults maxDataSize to 2MB and the /screenshot request did not override axios maxBodyLength/maxContentLength. CombinedStream aborted mid-upload, the server saw a truncated body, and the TCP connection was reset. Set form.maxDataSize = Infinity and pass maxBodyLength/maxContentLength = Infinity on the axios request, matching the other upload paths in this file. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…t capture errors - Cap fullPage screenshots to 32767px (browser engine limit for Safari/Firefox) instead of crashing - Wrap each viewport capture in its own try/catch so one failure doesn't abort remaining viewports - Use Promise.allSettled in async capture so one browser failure doesn't cancel other browsers Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
TE-12511: CLI-Capture - Fix 32767px screenshot height limit & per-viewport error isolation
TE-12436: fix screenshot upload ECONNRESET for payloads over 2MB
parthlambdatest
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.