Minimal .gitlab-ci.yml illustrating the issue
# grep on file which is around 900MB
Expected behavior
This error shouldn't happen.
Host information
Ubuntu 24.04.3 LTS
gitlab-ci-local 4.62.0
Additional context
Error: Cannot create a string longer than 0x1fffffe8 characters
at Object.slice (node:buffer:636:37)
at Buffer.toString (node:buffer:864:14)
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:63:23)