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

bedrock-kv / bedrock / eff39b9ad8e1ddede66423378c8661dd9db0964b
82%

Build:
DEFAULT BRANCH: develop
Ran 18 Aug 2026 08:01PM UTC
Jobs 1
Files 208
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 08:00PM UTC coverage: 75.29% (+0.06%) from 75.234%
eff39b9ad8e1ddede66423378c8661dd9db0964b

push

github

web-flow
Read legacy BED0 WALs with a synthetic replay cursor (#138)

## Summary

- centralize BED0/BED1 recognition, header offsets, EOF markers, and
current-format encoding in WalFormat
- derive a zero-safe synthetic exclusive cursor from the first retained
BED0 transaction while continuing to write only BED1
- preserve newest-first segment storage while selecting only the
relevant prefix for chronological pull/replay
- fail closed for empty legacy segments and filename/first-version
disagreement
- document the compatibility behavior

## TDD

- format contract tests first failed because WalFormat did not exist
- mixed BED0-to-BED1 restart/replay then exposed newest-segment-first
output with transaction_not_after_cursor
- a focused performance test proved the first fix loaded an irrelevant
older segment
- cursor-aware selection made both regression cases green without
reversing stored segment order

## Verification

- mix test: 13 doctests, 158 properties, 2,536 tests, 0 failures (2
excluded)
- focused Shale/log suite: 5 properties, 195 tests, 0 failures
- mix format --check-formatted
- mix credo --strict
- mix dialyzer --format short
- original failing WAL files load with cursor 257330069667 and stream
all six retained versions in ascending order

Closes bedrock-egw.

41 of 44 new or added lines in 4 files covered. (93.18%)

5969 of 7928 relevant lines covered (75.29%)

1098.1 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
86.96
lib/bedrock/data_plane/log/shale/wal_format.ex
Jobs
ID Job ID Ran Files Coverage
1 eff39b9ad8e1ddede66423378c8661dd9db0964b.1 18 Aug 2026 08:01PM UTC 208
75.29
GitHub Action Run
Source Files on build eff39b9ad8e1ddede66423378c8661dd9db0964b
  • Tree
  • List 208
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • eff39b9a on github
  • Prev Build on develop (#B496EEA5...)
  • Next Build on develop (#C435BF6C...)
  • 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