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

bedrock-kv / bedrock / f36dbb125a6ccdafcd6cf7db9da30e0276b06a6d
73%

Build:
DEFAULT BRANCH: develop
Ran 14 Jul 2026 07:04PM UTC
Jobs 2
Files 215
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

14 Jul 2026 07:03PM UTC coverage: 68.764% (+0.4%) from 68.356%
f36dbb125a6ccdafcd6cf7db9da30e0276b06a6d

push

github

web-flow
Add behavioral tests for Olivine IndexUpdate mutations (bedrock-zsw) (#78)

## Summary
- Adds `index_update_test.exs` with 14 behavioral tests for
`Olivine.IndexUpdate` (coverage 91.3% → 95.6%)
- Covers pending-operation merging, multi-page `clear_range`
(middle-page deletion, id recycling, chain repair), page-0 protection,
chain-following edge cases, empty-page handling, statistics tracking
(both the ≤10 direct path and >10 MapSet path), and atomic mutations on
missing/existing keys

## Findings
- The `0 in middle_page_ids` branch of `clear_range`
(index_update.ex:203-215) is **unreachable through the public API**:
chain traversal uses `next_id == 0` as the end-of-chain sentinel, so
page 0 can never be visited as a successor. Documented in a test
comment; an independent audit confirmed the reasoning. Follow-up ticket
recommends removing or coveralls-ignoring the dead branch.
- `clear_range` increments `keys_removed` unconditionally while per-page
set/clear stats are gated on `track_statistics` — the tests document
this asymmetry; may merit its own review.

## Test plan
- 14/14 new tests green at multiple seeds; full suite (2313 tests, 158
properties) green
- Independently audited by a separate reviewer pass: no defects found

Ticket: bedrock-zsw

5387 of 7834 relevant lines covered (68.76%)

1970.95 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
87.18
-1.47% lib/bedrock/data_plane/transaction.ex
Jobs
ID Job ID Ran Files Coverage
1 f36dbb125a6ccdafcd6cf7db9da30e0276b06a6d.1 14 Jul 2026 07:04PM UTC 215
68.73
GitHub Action Run
2 f36dbb125a6ccdafcd6cf7db9da30e0276b06a6d.2 14 Jul 2026 07:04PM UTC 215
68.71
GitHub Action Run
Source Files on build f36dbb125a6ccdafcd6cf7db9da30e0276b06a6d
  • Tree
  • List 215
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f36dbb12 on github
  • Prev Build on develop (#E2B92CCC...)
  • Next Build on develop (#72847101...)
  • 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