diff --git a/launchable/jar/exe_deploy.jar b/launchable/jar/exe_deploy.jar index e7af26047..a9242212a 100755 Binary files a/launchable/jar/exe_deploy.jar and b/launchable/jar/exe_deploy.jar differ diff --git a/src/main/java/com/launchableinc/ingest/commits/CommitGraphCollector.java b/src/main/java/com/launchableinc/ingest/commits/CommitGraphCollector.java index 2a8093262..9b75bea2d 100644 --- a/src/main/java/com/launchableinc/ingest/commits/CommitGraphCollector.java +++ b/src/main/java/com/launchableinc/ingest/commits/CommitGraphCollector.java @@ -8,6 +8,7 @@ import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.common.collect.ImmutableList; import com.google.common.io.CharStreams; +import java.util.Collections; import org.apache.commons.compress.archivers.tar.TarArchiveEntry; import org.apache.commons.compress.archivers.tar.TarArchiveInputStream; import org.apache.http.Header; @@ -534,7 +535,11 @@ private void collectFiles(TreeWalk treeWalk, TreeReceiver treeReceiver, Consumer } } - for (VirtualFile f : treeReceiver.response()) { + // Note(Konboi): To balance the order, since words like "test" and "spec" tend to appear + // toward the end in alphabetical sorting. + List files = new ArrayList<>(treeReceiver.response()); + Collections.shuffle(files); + for (VirtualFile f : files) { fileReceiver.accept(f); filesSent++; }