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

bedrock-kv / bedrock / a527f4e93f8287209d5b8e78e0173d484f32c30a-PR-328
82%
develop: 82%

Build:
Build:
LAST BUILD BRANCH: bedrock-5yi/election-flapping
DEFAULT BRANCH: develop
Ran 14 Sep 2026 08:14PM 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

14 Sep 2026 08:12PM UTC coverage: 81.884% (+0.2%) from 81.661%
a527f4e93f8287209d5b8e78e0173d484f32c30a-PR-328

Pull #328

github

jallum
bedrock-1cp: Resolve the cluster's object storage backend in one place

Four sites found the backend for themselves and disagreed. The coordinator
and director read the node config's top level (each with its own path
fallback order), the cluster supervisor handed the foreman whatever sat in
its capability sections, and Olivine snapshots read the application config
with a tmp-dir default. A config honored by one site split the cluster's
durable state: workers on S3 while each node kept its own bootstrap on
local disk, or snapshots in /tmp beside chunks under the node's path.

ObjectStorage.Config.cluster_backend/1 is now the only resolution:
top-level :object_storage (normalized, so the :s3 shorthand works), else
LocalFilesystem at <first role path>/object_storage. The coordinator and
director call it; the foreman gets it from the cluster supervisor and hands
it to every worker, Olivine included.

The two placements that used to be half-honored now fail startup rather
than being consulted or overridden: :object_storage inside a capability
section (it reached only the foreman), and an application-config :backend
(it reached only snapshots, so honoring it would send an upgraded
coordinator looking for a bootstrap that was never written there). Docs move
to the node-config form; the CHANGELOG spells out which data moves.
Pull Request #328: bedrock-1cp: resolve the cluster's object storage backend in one place

21 of 22 new or added lines in 6 files covered. (95.45%)

3 existing lines in 3 files now uncovered.

7187 of 8777 relevant lines covered (81.88%)

1159.32 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
43.48
2.66% lib/bedrock/control_plane/coordinator/server.ex

Coverage Regressions

Lines Coverage ∆ File
1
73.56
0.0% lib/bedrock/data_plane/resolver/tree.ex
1
53.13
-0.26% lib/bedrock/internal/cluster_supervisor.ex
1
91.3
1.3% lib/bedrock/object_storage/config.ex
Jobs
ID Job ID Ran Files Coverage
1 a527f4e93f8287209d5b8e78e0173d484f32c30a-PR-328.1 14 Sep 2026 08:14PM UTC 216
81.88
GitHub Action Run
Source Files on build a527f4e93f8287209d5b8e78e0173d484f32c30a-PR-328
  • Tree
  • List 216
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #328
  • PR Base - develop (#153A2B62...)
  • 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