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

whitfin / cachex
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fix/nested-transaction-locking
DEFAULT BRANCH: master
Repo Added 06 Jul 2017 08:54PM UTC
Files 60
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

LAST BUILD ON BRANCH fix/nested-transaction-locking
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • arcanemachine-patch
  • callers-tweaks
  • cmcintosh/two-element-tuple-for-fetch
  • fallback-callers
  • fix/accessed-limit-cache-miss
  • fix/compilation-warnings
  • fix/nested-transaction-locking
  • issue-382
  • issue-386
  • issue-418
  • main
  • master
  • minor_edits
  • patch-1
  • support-elixir-118
  • tkowal/406-populate-callers-for-better-test-integrations
  • update-default-frequency
  • update-fetch-doc
  • update_docs

28 Jul 2026 04:08PM UTC coverage: 100.0%. Remained the same
d60cdbd9917f8f93f0e4ded25519adefd65665c2-PR-439

Pull #439

github

makoto-developer
Enforce key locking for nested transactions

Nested transactions previously short-circuited on a boolean flag and ran
the function without acquiring locks, so an inner transaction locking a
different key than the enclosing one would proceed with no locking in place.

Store the set of locked keys in :cachex_transaction instead of a boolean so
a nested transaction can verify that every key it requests is already locked
by the enclosing transaction, raising a Cachex.Error otherwise.

Refs #431
Pull Request #439: Enforce key locking for nested transactions (#431)

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

811 of 811 relevant lines covered (100.0%)

1081.17 hits per line

Relevant lines Covered
Build:
Build:
811 RELEVANT LINES 811 COVERED LINES
1081.17 HITS PER LINE
Source Files on master
  • Tree
  • List 60
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
d60cdbd9... fix/nested-transaction-locking Enforce key locking for nested transactions Nested transactions previously short-circuited on a boolean flag and ran the function without acquiring locks, so an inner transaction locking a different key than the enclosing one would proceed with n... Pull #439 28 Jul 2026 06:26PM UTC makoto-developer github
100.0
b2542b79... fix/compilation-warnings Bump minimum Elixir to 1.16 and pin CI jobs to 1.20 Raise the declared minimum Elixir version in mix.exs to match the CI matrix floor, and bump the bench/coverage/docs/lint images from 1.19 to 1.20 to track the latest maintained release. Pull #437 21 Jul 2026 12:11AM UTC gilbertwong96 github
99.76
72822750... patch-1 Rename record type to cache_record type to fix compilation on Erlang 29.0 Erlang 29 (release candidate 1) doesn't allow built-in types (like record) to be redefined. Pull #433 17 Feb 2026 02:44PM UTC web-flow github
100.0
44ac7e44... main Migrate back to older ExHashRing for compatibility push 10 Feb 2026 08:58PM UTC whitfin github
100.0
2ed719ed... issue-386 Migrate back to older ExHashRing for compatibility Pull #432 10 Feb 2026 07:08PM UTC whitfin github
100.0
5162f4ae... issue-386 Force invalid types to binary terms when routing Pull #432 10 Feb 2026 07:06PM UTC whitfin github
100.0
15504b92... main Update linting with new defaults push 10 Feb 2026 02:45PM UTC whitfin github
100.0
4370db8b... issue-382 Update linting with new defaults Pull #426 10 Feb 2026 02:41PM UTC whitfin github
100.0
626b4a7c... issue-382 Pass through I/O types from stdlib Pull #426 10 Feb 2026 02:36PM UTC whitfin github
100.0
9e789128... issue-382 Sweep documentation for outdated signatures Pull #426 22 Dec 2025 08:52PM UTC whitfin github
100.0
See All Builds (692)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc