Token too long when running tests split

I’m trying to execute a large number of tests using this command

 docker exec -i -t test sh -c "yarn --cwd /app/frontend ci" | circleci tests split --split-by=timings

Which results in

failed to read input: bufio.Scanner: token too long

How can I work around this?

How large is the output from “yarn --cwd /app/frontend ci”?

Your issue is more likely to be feedback for the circleci developers as they will have coded a buffer size that they considered a fair size, but you now have an example where it is too small.