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

bedrock-kv / bedrock / c985d1af9e855138baf7314e652c8f9a0b776d86
82%

Build:
DEFAULT BRANCH: develop
Ran 18 Aug 2026 11:47PM 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 11:46PM UTC coverage: 75.904% (+0.5%) from 75.385%
c985d1af9e855138baf7314e652c8f9a0b776d86

push

github

web-flow
Separate recovery input from runnable transaction layouts (#140)

## Summary

- keep bootstrap log hints in a recovery-only Coordinator field
- expose a transaction system layout only after the Director publishes a
complete runnable layout
- preserve recovery input while clearing existing and late Link clients
during recovery
- atomically refresh both runtime and future recovery state when
recovery completes

This fixes the post-recovery `KeyError` where `%{logs: ...}` reached
`ReadVersions` without an `:epoch`. It does not change newest-first WAL
replay or WAL ordering.

Ticket: `bedrock-bkj`

## TDD

The regression tests were added first and failed against `develop`
because bootstrap populated the live TSL slot, runtime fetch returned
`{:ok, partial_layout}`, and Coordinator state had no separate recovery
source.

Coverage includes:

- bootstrap initialization
- late registration during recovery
- unavailable runtime fetch during recovery
- clearing live state while preserving recovery input
- atomic publication of completed layouts

## Verification

- `mix test` — 13 doctests, 158 properties, 2549 tests, 0 failures
- `mix quality` — format, Credo strict, and Dialyzer pass

6 of 7 new or added lines in 3 files covered. (85.71%)

1 existing line in 1 file now uncovered.

6064 of 7989 relevant lines covered (75.9%)

1094.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
55.81
1.27% lib/bedrock/control_plane/coordinator/director_management.ex

Coverage Regressions

Lines Coverage ∆ File
1
40.51
20.76% lib/bedrock/control_plane/coordinator/server.ex
Jobs
ID Job ID Ran Files Coverage
1 c985d1af9e855138baf7314e652c8f9a0b776d86.1 18 Aug 2026 11:47PM UTC 209
75.9
GitHub Action Run
Source Files on build c985d1af9e855138baf7314e652c8f9a0b776d86
  • Tree
  • List 209
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c985d1af on github
  • Prev Build on develop (#C435BF6C...)
  • Next Build on develop (#A22A1516...)
  • 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