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

wikimedia / hyperswitch / 424
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 27 Sep 2019 08:33AM UTC
Jobs 2
Files 12
Run time 8s
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
424

Pull #111

travis-ci

web-flow
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.
Pull Request #111: Have proper module caching and sharing

703 of 831 branches covered (84.6%)

37 of 37 new or added lines in 2 files covered. (100.0%)

1001 of 1094 relevant lines covered (91.5%)

62.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 424.1 27 Sep 2019 08:33AM UTC 0
91.5
Travis Job 424.1
2 424.2 27 Sep 2019 08:33AM UTC 0
91.5
Travis Job 424.2
Source Files on build 424
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #424
  • Pull Request #111
  • PR Base - master (#422)
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