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

wikimedia / hyperswitch / 425
91%

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

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%)

62.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 425.1 01 Oct 2019 11:18AM UTC 0
91.5
Travis Job 425.1
2 425.2 01 Oct 2019 11:18AM UTC 0
91.5
Travis Job 425.2
Source Files on build 425
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #425
  • 53befb44 on github
  • Prev Build on master (#422)
  • Next Build on master (#427)
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

© 2025 Coveralls, Inc