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

twitter / finagle / 1505 / 4
1%
master: 2%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 16 Dec 2019 07:20PM UTC
Files 85
Run time 7s
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

23 Aug 2017 10:05PM UTC coverage: 92.333% (+2.8%) from 89.542%
PROJECT=finagle-exception

push

travis-ci

jenkins
[strict-deps] Mark remaining CSL targets as strict_deps=True. Add exports to CSL targets

Summary: Problem

Not all CSL targets use strict_deps. Many targets that depend on CSL targets implicitly rely on those targets dependencies being on the compile classpath.

Solution

This changeset converts the remaining core targets to strict_deps, and adds exports to the targets that expose types from their dependencies. For the most part this was done using a script that analyzed the used types in the compiled class files.

The export generation script generated exports for dependencies that are necessary to compile against the types within a given target. It did that by collecting the dependencies that owned super types or annotations used in each target.

Result

All CSL targets have strict_deps enabled. For CSL targets that have annotations or super types that may be necessary for their dependent targets to compile, they export their dependencies that provide those annotations and types.

Things to note:
* There are some cases where it appears to have removed dependencies. This is because there are places where the script would prune dependencies that were provided by an alias.
* The script doesn't take into account pickled Scala types, so the cases where they were the source of compilation failures were handled manually.
* Sorting. The script sorted the dependency lists and the export lists. In the cases where the lists were already sorted, that wasn't a large change, but some targets dependencies were only partially sorted before.

Differential Revision: https://phabricator.twitter.biz/D80632

290 of 358 branches covered (81.01%)

554 of 600 relevant lines covered (92.33%)

7.09 hits per line

Source Files on job 1505.4 (PROJECT=finagle-exception)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 467
  • Travis Job 1505.4
  • 700e0a4a on github
  • Prev Job for PROJECT=finagle-http2 on develop (#1406.10)
  • Next Job for PROJECT=finagle-toggle on develop (#1524.36)
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