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

bedrock-kv / bedrock / c435bf6ca9ca6eeb331e94f2cdc53b10091e1049
82%

Build:
DEFAULT BRANCH: develop
Ran 18 Aug 2026 10:41PM UTC
Jobs 1
Files 209
Run time 1min
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

18 Aug 2026 10:40PM UTC coverage: 75.385% (+0.1%) from 75.29%
c435bf6ca9ca6eeb331e94f2cdc53b10091e1049

push

github

web-flow
Bound post-recovery reads and transaction retries (#139)

## Problem

After recovery, Olivine may make several versions readable in one
applied batch. It woke only waiters keyed to the batch-ending version,
so a read waiting on an intermediate version could remain parked
forever. Develop also no longer expired Olivine waiters, and Repo point
reads waited indefinitely on the TransactionBuilder while retryable
failures had no end-to-end deadline.

## Changes

- wake every Olivine waiter at or below the applied version while
preserving later waiters
- expire parked reads inside Olivine with a dedicated message, leaving
the ingestion timeout and Demux newest-first/backpressure paths
unchanged
- enforce the existing transaction timeout option as one monotonic
deadline across layout fetches, point and range reads, commits, retries,
and nested work
- store builder and deadline state beneath one `TransactionContext`
process key, with per-Repo structs and accessors
- default the transaction deadline to 5 seconds; allow `:infinity`
explicitly
- surface a terminal timeout with the last retry reason and request
rollback of the active builder

## TDD

The regressions failed first for skipped-version waiters, idle waitlist
expiry, unbounded retries, nested deadline reset, an unresponsive
TransactionBuilder read, and the missing transaction-context
abstraction.

Green verification:

- transaction-context and Repo-focused tests
- 461 internal tests and 42 properties
- full suite: 2,544 tests, 158 properties, 13 doctests
- `mix format --check-formatted`
- `mix credo --strict`
- `mix dialyzer --format short`

Tracker: `bedrock-qj1`

77 of 82 new or added lines in 4 files covered. (93.9%)

2 existing lines in 1 file now uncovered.

6021 of 7987 relevant lines covered (75.39%)

1093.53 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
87.88
lib/bedrock/internal/repo/transaction_context.ex
1
98.36
-0.7% lib/bedrock/internal/repo.ex

Coverage Regressions

Lines Coverage ∆ File
2
71.26
-2.3% lib/bedrock/data_plane/resolver/tree.ex
Jobs
ID Job ID Ran Files Coverage
1 c435bf6ca9ca6eeb331e94f2cdc53b10091e1049.1 18 Aug 2026 10:41PM UTC 209
75.39
GitHub Action Run
Source Files on build c435bf6ca9ca6eeb331e94f2cdc53b10091e1049
  • Tree
  • List 209
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c435bf6c on github
  • Prev Build on develop (#EFF39B9A...)
  • Next Build on develop (#C985D1AF...)
  • Delete
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