Open source the test splitting (and duration recording) code
I've been surprised many times by the behavior of
$ circleci tests split
It would be great if we could see that code to determine how the splitting is working. I've ended up filing several one-off tickets asking for help, but every time I have an issue, I feel like I'm operating completely black-box, and would love to just look at the code myself, which I don't imagine would be sensitive/proprietary?
The other code I'd love access to is whatever is transposing the junit XML assets into the json object that gets passed along as the timings file to subsequent builds. It seems like it may not take into account the difference between testsuite duration and aggregate testcase duration when determining how to split tests by filename -- so would save us a bunch of hassle to just understand that piece (and even contribute) if possible.
Thanks for considering!