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

pantsbuild / pants / 7540
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: lockfiles
DEFAULT BRANCH: main
Ran 22 Oct 2015 06:09PM UTC
Jobs 8
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
7540

push

travis-ci

stuhood
Add native support for incremental caching, and use it in jvm_compile

This moves `jvm_compile` to the `cache_target_dirs` setting in order to help kill the manual caching API before the engine refactor. In order to do that, it was necessary to add native support for incremental compilation to `cache_manager.py` and `task.py`.

Optional incremental builds are implemented by copying from the previous `results_dir` for a VersionedTarget to the current one. This has the advantage that `results_dir`s are immutable (concurrent `./pants run.jvm` invocations should now be safe, regardless of changing ivy resolves).

- Implement optional incrementalism for tasks, with copy-on-write `results_dir`s
- Switch jvm_compile to cache_target_dirs, and drop all usage of `self.workdir`
- Replace the cache_hit_callback with a rmtree of a targets' `results_dir` before extracting a cache hit
- Privatize-stale and delete-unused methods for `task.py`
- Move the `no_cache` tag from jvm_target to target in order to implement it in `task.py`
- Add `vt.id` to the path for `vt.results_dir`, which fixed an issue where two targets with identical fingerprints would share a `results_dir` (even thought that will "usually" work, it's confusing)
- Add `mark_dirty` methods to Payload and PayloadField, for testing purposes.

Testing Done:
https://travis-ci.org/pantsbuild/pants/builds/86336104

Bugs closed: 2394

Reviewed at https://rbcommons.com/s/twitter/r/2991/
Jobs
ID Job ID Ran Files Coverage
1 7540.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 22 Oct 2015 06:14PM UTC 0
Travis Job 7540.1
4 7540.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 22 Oct 2015 06:18PM UTC 0
Travis Job 7540.4
5 7540.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 22 Oct 2015 06:09PM UTC 0
Travis Job 7540.5
6 7540.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 22 Oct 2015 06:17PM UTC 0
Travis Job 7540.6
7 7540.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 22 Oct 2015 06:20PM UTC 0
Travis Job 7540.7
8 7540.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 22 Oct 2015 06:21PM UTC 0
Travis Job 7540.8
9 7540.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 22 Oct 2015 06:22PM UTC 0
Travis Job 7540.9
10 7540.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 22 Oct 2015 06:24PM UTC 0
Travis Job 7540.10
Source Files on build 7540
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7540
  • ab571f16 on github
  • Prev Build on master (#7537)
  • Next Build on master (#7556)
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