-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] circleci tests split can't handle many files #439
Comments
any fix for this? |
Hello, First, really sorry we get back to this subject so late!! |
our monorepo is huge |
Insisting a bit here but are you sure you are using new lines? The maximum unix filepath size is supposed to be 4096 octets and window's is 32Ko, I would really like to see a path that exceed 64Ko |
Hi @sibelius 👋 Looking into your example repo, I can see that the list of
However, the output of this command is stored in an environment variable, which is then passed as argument to
In effect, using
The The solution here would be to quote the environment variable in your
Let me know if this helps! |
good enough for me |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
circleci tests split
breaks like thisError: failed to read input: bufio.Scanner: token too long
Can you provide an example?
We get a list of files_changed based on the base branch and compare url
Then we get a list of testfiles to test
And we split the testfiles to run then in parallel
we have an example here https://github.com/sibelius/monorepo-101
What is the expected behavior?
It should not break, it should split well
Which version of the CLI and OS are you using? Did this work in previous versions?
0.1.8599+d6e83e7
Please provide the output of
circleci version
andcircleci diagnostic
.If you have any questions, feel free to ping us at @CircleCI-Public/x-team.
this StackOverflow can help https://stackoverflow.com/questions/21124327/how-to-read-a-text-file-line-by-line-in-go-when-some-lines-are-long-enough-to-ca
The text was updated successfully, but these errors were encountered: