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

bedrock-kv / bedrock / 20dbbd67d7c8cd7946fbdd8cca5976107f6a136b
82%

Build:
DEFAULT BRANCH: develop
Ran 13 Sep 2026 04:54AM UTC
Jobs 1
Files 216
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

13 Sep 2026 04:53AM UTC coverage: 80.865% (+0.08%) from 80.788%
20dbbd67d7c8cd7946fbdd8cca5976107f6a136b

push

github

web-flow
Clean up distributor placeholder on Livebook reevaluation (#313)

Fixes bedrock-tah.

A distributor exits normally when its director dies, which does not
propagate across its link to the registered placeholder. On
Livebook/Kino child reevaluation, that left the old placeholder alive,
so the replacement distributor took the lock but failed its startup
sweep with `{:already_started, old_placeholder_pid}` and retried every
second.

The distributor now synchronously stops its placeholder from
`terminate/2`, treating an already-dead placeholder as benign. The
regression starts a real distributor and named linked placeholder,
terminates the director, proves both exit, then starts a replacement
distributor with the same placeholder name.

Verification:
- Red regression before implementation: placeholder did not exit after
distributor normal termination.
- Focused distributor server tests (50 tests).
- Livebook-style same-VM terminate/restart harness: one epoch-2 lock
acquisition over 7 seconds; no startup-sweep failure.
- Full suite: 17 doctests, 158 properties, 2927 tests, 0 failures.
- `mix compile --warnings-as-errors`, `mix credo --strict`, and `mix
dialyzer`.

Adversarial review completed before push: checked normal-link semantics,
already-dead placeholder handling, synchronous name release, and
replacement-name collision coverage.

2 of 4 new or added lines in 1 file covered. (50.0%)

7108 of 8790 relevant lines covered (80.86%)

1164.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
92.92
2.83% lib/bedrock/control_plane/distributor/server.ex
Jobs
ID Job ID Ran Files Coverage
1 20dbbd67d7c8cd7946fbdd8cca5976107f6a136b.1 13 Sep 2026 04:54AM UTC 216
80.86
GitHub Action Run
Source Files on build 20dbbd67d7c8cd7946fbdd8cca5976107f6a136b
  • Tree
  • List 216
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 20dbbd67 on github
  • Prev Build on develop (#02DFDFAE...)
  • Next Build on develop (#5A5AF5F6...)
  • 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