Closed
Description
Describe the bug
On Linux: ['error'] There was an error running the uploader: Invalid string length
On MacOS: : Error: Cannot create a string longer than 0x1fffffe8 characters
This occurs when appending large XML coverage reports during the Processing <filename>
step.
To Reproduce
Steps to reproduce the behavior:
- Download the binary uploader
- Visit http://mattmahoney.net/dc/textdata.html
- Download http://mattmahoney.net/dc/enwik9.zip from that page (or here)
- unzip file
- attempt to upload it
./codecov -f ~/Downloads/enwik9
- See error
Expected behavior
The uploader is unable to handle large files concatenated together. This appears to be a V8 limit, see GitHub issue in the additional context section.
Additional context
nodejs/node#35973 (comment)