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

zkat / make-fetch-happen / 53
89%

Build:
DEFAULT BRANCH: latest
Ran 09 Apr 2017 02:11AM UTC
Jobs 3
Files 2
Run time 14s
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
53

push

travis-ci

zkat
fix(retry): be more specific about when we retry

Retries are now attempted only for specific known errors. All other will
fail fast. Additionally, requests will be retried on 404s and
rate-limiting status codes 420 (for Twitter) and 429, along with the
original 408 and 500-level error codes. All other codes will continue to
fast-path to request failure.

One big effect of this is that requests are no longer retried on
ENOTFOUND -- that is, the getaddrinfo DNS failure error. When this
happens, the problem is almost certainly that the user is currently
offline. In combination with conditional requests and the cache rules,
this means that make-fetch-happen now has effectively an "offline mode",
where the `default` cache mode will only fail on ENOTFOUND if there is
no cache entry available.

As before, if we're using a stale locally-cached request due to an error
(again, such as ENOTFOUND), a `Warning: 111` header will be added to the
response, so you can check that field to figure out what
make-fetch-happen did.

226 of 250 branches covered (90.4%)

Branch coverage included in aggregate %.

7 of 7 new or added lines in 1 file covered. (100.0%)

276 of 287 relevant lines covered (96.17%)

94.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 53.1 09 Apr 2017 02:11AM UTC 0
93.48
Travis Job 53.1
2 53.2 09 Apr 2017 02:11AM UTC 0
93.48
Travis Job 53.2
3 53.3 09 Apr 2017 02:11AM UTC 0
93.48
Travis Job 53.3
Source Files on build 53
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #53
  • 9aed3975 on github
  • Prev Build on latest (#51)
  • Next Build on latest (#60)
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