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

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

Build:
Build:
LAST BUILD BRANCH: csb/codespell
DEFAULT BRANCH: main
Ran 16 Sep 2015 11:03PM UTC
Files 393
Run time 10s
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

16 Sep 2015 10:37PM UTC coverage: 70.69% (-0.6%) from 71.3%
CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'"

push

travis-ci

baroquebobcat
Ensure stale classes are removed during isolated compile by cleaning classes directory prior to handling invalid targets

Injects a callback into artifact cache inbetween resolving a cached artifact and loading it into the work directory. Jvm isolated compile then provides one that cleans the classes directory on a cache hit.

When the current fingerprint of a compile target doesn't match the one on disk which is managed by the BuildInvalidator, it either will be loaded from cache, or rebuild via the compile tasks. In the case that we would load from cache, we want to ensure that the previous contents of the directory are removed.

Additionally
* changed the name of the zinc java compile integration test since it didn't match the file name.
* added a few tests for `../cache/artifact.py`

Testing Done:
Wrote failing integration test, and made it pass.

CI passing at https://travis-ci.org/pantsbuild/pants/builds/80722631

Bugs closed: 2173, 2176

Reviewed at https://rbcommons.com/s/twitter/r/2805/

16784 of 23743 relevant lines covered (70.69%)

0.71 hits per line

Source Files on job 6906.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'")
  • Tree
  • List 0
  • Changed 168
  • Source Changed 8
  • Coverage Changed 168
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6906
  • Travis Job 6906.2
  • 92657c72 on github
  • Prev Job for CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'" on master (#6902.2)
  • Next Job for CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'" on master (#6907.2)
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