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

pantsbuild / pants / 8110 / 2
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: use_pants_lock_in_uv
DEFAULT BRANCH: main
Ran 11 Oct 2017 04:29AM UTC
Files 63
Run time 3s
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

30 Nov 2015 08:42PM UTC coverage: 23.086%. First build
CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'"

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/

1631 of 7065 relevant lines covered (23.09%)

0.23 hits per line

Source Files on job 8110.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8110
  • Travis Job 8110.2
  • bde77318 on github
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