• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 8110
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: upgrade_pex
DEFAULT BRANCH: main
Ran 30 Nov 2015 08:54PM UTC
Jobs 9
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8110

push

travis-ci

ericzundel
Update the dependencies returned from ivy to be in a stable (sorted) order.

Reproduces a root cause of slow compiles noticed at Square.

The resolution report from Ivy doesn't return the deps from a target in a stable order. In one case, we get the dependencies of the `jetty-jsp` dep which lists jetty-schema before servlet-api.  In another case it reverses the order of those two deps.

This causes the classpath to be ordered differently when compiling different targets, causing unecessary cache invalidation, and possibly different results when compiling transitive dependencies.  To resolve this, we will sort dependencies alphabetically to insure a stable ordering.

Testing Done:
CI is green at https://travis-ci.org/pantsbuild/pants/builds/93252409

Tried this in our local build. Its an improvement in the number of transitive deps that need to be recompiled when 2 targets share a lot of commone deps.  In one instance, it prevented 67 targets from being recompiled and decreased build time by 4 minutes (was 9 minutes)

Bugs closed: 2607, 2618

Reviewed at https://rbcommons.com/s/twitter/r/3168/
Jobs
ID Job ID Ran Files Coverage
1 8110.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 30 Nov 2015 08:54PM UTC 0
Travis Job 8110.1
2 8110.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 11 Oct 2017 04:29AM UTC 0
23.09
Travis Job 8110.2
4 8110.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 30 Nov 2015 09:07PM UTC 0
Travis Job 8110.4
5 8110.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 30 Nov 2015 08:55PM UTC 0
Travis Job 8110.5
6 8110.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 30 Nov 2015 09:00PM UTC 0
Travis Job 8110.6
7 8110.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 30 Nov 2015 09:06PM UTC 0
Travis Job 8110.7
8 8110.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 30 Nov 2015 09:05PM UTC 0
Travis Job 8110.8
9 8110.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 30 Nov 2015 09:06PM UTC 0
Travis Job 8110.9
10 8110.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 30 Nov 2015 09:18PM UTC 0
Travis Job 8110.10
Source Files on build 8110
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8110
  • bde77318 on github
  • Prev Build on master (#8109)
  • Next Build on master (#8114)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc