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

pantsbuild / pants / 8632
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: fix_uv_lockfile_sync
DEFAULT BRANCH: main
Ran 14 Jan 2016 10:07PM 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
8632

push

travis-ci

ericzundel
Add RecursiveVersion and tests

Add version to task and add verion to fingerprint

In order to make sure that we can invalidate cached objects based on the implementation version of a task we allow the option to specify a recursive version.  Our cached directories and fingerprints then use the version to make sure we do not have a cache hit on incompatible versions.  In order to bump the version of a Task object you would need to bump the class attribute version for example:

class Foo(TaskBase):
  version = RecursiveVersion(1)

would become

class Foo(TaskBase):
  version = RecursiveVersion(2)

Testing Done:
green on my personal fork

CI is green https://travis-ci.org/pantsbuild/pants/builds/101983901
CI is green https://travis-ci.org/pantsbuild/pants/builds/102197460
CI is green https://travis-ci.org/pantsbuild/pants/builds/102225231
CI is green https://travis-ci.org/pantsbuild/pants/builds/102450529

Bugs closed: 2531, 2795

Reviewed at https://rbcommons.com/s/twitter/r/3331/
Jobs
ID Job ID Ran Files Coverage
1 8632.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 14 Jan 2016 10:07PM UTC 0
Travis Job 8632.1
4 8632.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 14 Jan 2016 10:25PM UTC 0
Travis Job 8632.4
5 8632.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 14 Jan 2016 10:11PM UTC 0
Travis Job 8632.5
6 8632.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 14 Jan 2016 10:15PM UTC 0
Travis Job 8632.6
7 8632.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 14 Jan 2016 10:21PM UTC 0
Travis Job 8632.7
8 8632.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 14 Jan 2016 10:17PM UTC 0
Travis Job 8632.8
9 8632.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 14 Jan 2016 10:23PM UTC 0
Travis Job 8632.9
10 8632.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 14 Jan 2016 10:24PM UTC 0
Travis Job 8632.10
Source Files on build 8632
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8632
  • b1c0b1bf on github
  • Prev Build on master (#8631)
  • Next Build on master (#8633)
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