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

wikimedia / hyperswitch / 425 / 1
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2019 11:18AM UTC
Files 12
Run time 1s
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

01 Oct 2019 11:17AM UTC coverage: 91.499% (+0.2%) from 91.259%
425.1

push

travis-ci

d00rman
Have proper module caching and sharing

Module caching and sharing has always been completely broken. That
stemmed  from the fact that using the `===` operator on Objects results
in a truth-y evaluation iff the objects being tested have the same
reference, i.e. they are the same object. Objects were used both as keys
and as values during the caching process, which meant that no module was
ever shared effectively. Furthermore, it is important that the context
in which the module is being loaded matches the one used by the
previous-cached module. Here, again, the process suffered from equality
comparison problems.

In order to make module caching and sharing work, this commit switches
to using the SHA1 digest of the module definition as its caching key,
allowing us to retrieve the cached module based on the value of the
definition instead of its reference. To counter the problem of context
checking, we now cache an 'exportable' version of the context as well
in addition to the module definition.

703 of 831 branches covered (84.6%)

1001 of 1094 relevant lines covered (91.5%)

31.08 hits per line

Source Files on job 425.1
  • 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 403
  • Travis Job 425.1
  • 53befb44 on github
  • Prev Job for on master (#422.1)
  • Next Job for on master (#427.1)
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